03-30-2008, 06:04 AM
License is GNU/GPL.
Plugin Name: April Fools
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
Plugin Version: 1.0
Plugin Mybb Compatibility: 1.2x
Plugin File Edits: None
Plugin File Uploads: 1
Plugin Description: It randomizes the post text into 8 possible crazy displays.
1. Reverse
2. Left to Right & Reverse
3. Letters Spread out
4. Small text
5. Big text
6. Total randomized letters
7. Line Through all text
8. All Uppercase
Installation on April 1st
1. Upload the file from the zip
root/inc/plugins/april_fools.php
2. Login to your admincp and ACTIVATE the plugin (April Fools) in the plugin manager.
DEMO: http://www.mybbcentral.com/showthread.php?tid=568 (entire test forum is demo for a couple days just refresh any thread)
If you want the foolish posts to appear more or less often you can edit the rand string on line 46.
Edit the 15...do not make it lower than 8 though. If you want the messages to be messed up very often I suggest 10 and if you want it very few times ....maybe 20 or 25. You can play with settings to your desire.
Also if you want this to be ONLY in certain forums this is what you add BEFORE the $rand line above:
// replace XX with your forum id...that line will make the messages crazy ONLY in the forum you specify. Maybe your off-topic?
If you are knowledgable with arrays you can certainly do more with this. The plugin concept is very simple.
DOWNLOAD LINK
Plugin Name: April Fools
Plugin Author: Jesse Labrocca
Plugin Website: http://www.MybbCentral.com
Plugin Version: 1.0
Plugin Mybb Compatibility: 1.2x
Plugin File Edits: None
Plugin File Uploads: 1
Plugin Description: It randomizes the post text into 8 possible crazy displays.
1. Reverse
2. Left to Right & Reverse
3. Letters Spread out
4. Small text
5. Big text
6. Total randomized letters
7. Line Through all text
8. All Uppercase
Installation on April 1st
1. Upload the file from the zip
root/inc/plugins/april_fools.php
2. Login to your admincp and ACTIVATE the plugin (April Fools) in the plugin manager.
DEMO: http://www.mybbcentral.com/showthread.php?tid=568 (entire test forum is demo for a couple days just refresh any thread)
If you want the foolish posts to appear more or less often you can edit the rand string on line 46.
Code:
$rand = mt_rand(1,15); // EDIT HEREEdit the 15...do not make it lower than 8 though. If you want the messages to be messed up very often I suggest 10 and if you want it very few times ....maybe 20 or 25. You can play with settings to your desire.
Also if you want this to be ONLY in certain forums this is what you add BEFORE the $rand line above:
Code:
if( $forum['fid'] != XX) { return $message; }If you are knowledgable with arrays you can certainly do more with this. The plugin concept is very simple.
DOWNLOAD LINK
thx