Random Events

by klin 4 Stars 197 Downloads

Randomly replies to threads with customized messages!

Project Details

Random Events
Randomly reply to threads with customized messages!

Features
  • Configure the user ID of the account used to post random events
  • Choose which forums and usergroups you want to be eligible for random events
  • Choose how frequent you want random events to be posted
  • Define your own random events -- supports MyCode/BBCode!
Installation
  • Simply copy inc/plugins/randomevents.php to your site's inc/plugins folder.
  • Then install and activate the plugin via your Admin CP.
  • Configure the settings to your desire via Admin CP > Configuration > Random Events Settings.
Technical
  • A random number is generated every time a user posts. If this number meets the frequency setting, further checks will be made to determine if
    • The post is in an eligible forum, per the settings
    • The user is in an eligible usergroup, per the settings
  • A second random number is then generated to choose a random event from the settings.
  • A post is then generated at TIME_NOW+1—that is, one millisecond after the original post is created.
Author
klin
Collaborators
None
Version
1.0.0
Submitted
2017-05-12, 01:59 AM
Last Updated
2017-09-12, 01:47 PM
Bug Tracking
Disabled
MyBB Versions
1.8.x