MyBB Codes

Full Version: [Plugin for Mybb 1.4*]Maximum Threads per Day
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Name: Maximum Threads per Day

Type: Plugin for Mybb

Version: For any versions of Mybb 1.4* series.

Funcionality: This plugin will allow you to set a maximum number of threads for a certain user and/users that they can post withing 24 hours at a certain forum/s of your choise.

It was done as per request of this user here:

http://community.mybboard.net/thread-605...#pid434200

Important: Nobody is authorized to upload this plugin in other sites/forums and claim it as their own. You are also not allowed to remove the copyright without my permission. By downloading the plugin you agree to the above.
*SUGGESTION*

Try adding the GID option too.
It would be so great to add to the guests group.
Also is possible to change the message that appears when the limit exceed?
(12-07-2009 11:02 AM)Light33 Wrote: [ -> ]*SUGGESTION*

Try adding the GID option too.
It would be so great to add to the guests group.
Also is possible to change the message that appears when the limit exceed?

The guests group won''t be affected as most of admins don''t allow them to post at their forums. To change the message find the following code at the max_threads_day.php file:

PHP Code:[Highlight]
error("An error has occurred. You have reached the maximum number of "$mybb->settings['max_threads']. " threads per day set by the admin for this forum."); 

And change it to your own message that you want to appear when the limit is exceeded.
Thank you.
And how about the GID function?
There is already a GID and UID option where you can add the groups and users that you don''t want to exceed the thread limit.
downloading.... Smile
nice job
Thanks Smile
Reference URL's