![]() |
[For 1.6] MyFlood - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: Extensions (https://community.mybb.com/forum-201.html) +--- Forum: Plugins (https://community.mybb.com/forum-73.html) +---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html) +---- Thread: [For 1.6] MyFlood (/thread-123207.html) |
MyFlood - Polarbear541 - 2012-07-25 Plugin Info: Name: MyFlood Description: A plugin which allows you to prevent flooding through new posts and new threads per usergroup. Author: Polarbear541 Version: 1.3 Compatibility: 1.6.x Files: 2 (1 plugin and 1 language) Database changes: 2 (2 columns added into usergroups table) There are no template changes in this plugin. Information: This plugin allows you to set a time limit between new threads/posts per usergroup. This allows you to ensure that certain usergroups cannot 'flood' the forums by creating lots of new threads or posts. You can set a 'cooling down period' between new threads and posts which means users in that usergroup will only be able to create a new thread/post every X seconds. This is similar to the inbuilt function in MyBB but allows more control over usergroups. Install Instructions: Install Instructions: Upload ./inc/plugins/myflood.php to ./inc/plugins/ Upload ./inc/languages/myflood.lang.php to ./inc/languages/english/ Go to ACP > Plugins > Install & Activate Then define the time between new threads and new posts in the 'Forums and Posts' tab when editing a usergroup. You can also edit the settings to enable/disable parts of the system and make the system count new threads as posts. You can also add excluded forums. Update Instructions: Upload new files overwriting the old ones. Reinstall to add the new settings then configure to your desire. (Reinstalling will remove your existing values for thread flood protection) Important Note: Make sure you only have either the inbuilt MyBB post flood protection or the MyFlood post flood protection enabled or you may get unexpected results. Ideally you should turn the inbuilt feature off if you are using this plugin. Change Log: 1.0 - First Release 1.1 -
1.3 - Adds excluded forums feature and adds new language variables Future changes:
Download: http://mods.mybb.com/view/thread-flood-control Bugs and Suggestions: https://github.com/Polarbear541/myflood/issues RE: Thread Flood Control - Vernier - 2012-07-25 Sounds a handy plugin. I'll give it a try! Thanks Polarbear! ![]() RE: Thread Flood Control - Yaldaram - 2012-07-25 Good work. I'll also suggest to add install/uninstall routine aswell. It'll aid you to add any thing in future like db table, column, editing or adding a new setting etc. without hassle ![]() RE: Thread Flood Control - Polarbear541 - 2012-07-25 Thanks guys ![]() ![]() RE: Thread Flood Control - Yaldaram - 2012-07-25 One more thing. In the plugin, the following code;
It may be rewritten like this;
This will not throw sql error incase if the column already present in the usergroups table. ![]() RE: Thread Flood Control - Polarbear541 - 2012-07-25 *notes* ![]() Thanks again ^_^ RE: MyFlood - Polarbear541 - 2012-07-28 Updated to 1.1 ![]() See the change log for more details ^_^. RE: MyFlood - Omar G. - 2012-07-28 Does it supports quick reply? I mean, from a quick look at it I think it does, but will it show a ajax friendly error message? RE: MyFlood - Polarbear541 - 2012-07-28 Yes it does ![]() I believe the way MyBB is coded means that if there is an error on reply then it will popup. You don't have to do any mods to make errors work with quick-reply ^_^. RE: MyFlood - 7uyk - 2012-07-31 Isn't there already a flood setting in mybb by default? |