MyBB Community Forums

Full Version: [Release] April Fools
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.

Code:
$rand = mt_rand(1,15);  // EDIT HERE

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:

Code:
if( $forum['fid'] != XX) { return $message; }
// 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
lol

that posts look st.pid

Big Grin thx
Hey! I noticed you made the Easy Refer mod. Not bad! But it seems the email will not send. I have made a few modifications to the language code, but none that would affect the sending of the message. Help please?

Thanks!
Ryth Wrote:Hey! I noticed you made the Easy Refer mod. Not bad! But it seems the email will not send. I have made a few modifications to the language code, but none that would affect the sending of the message. Help please?

Thanks!

It works fine on all my servers. Check your spam filters. And please ask questions in my support area at Mybb Central.
Reference URL's