Customizing SMF > SMF Coding Discussion
[WIP] Beta testing Post Limit mod
(1/1)
Suki:
So, I've been working on a simple mod to limit users ability to post individually.
Things that it's suppose to do:
-Has permissions, any group with the permission "PostLimit_can_set_post_limit" can set a limit on any user but admins.
-The limit can be applied only to the specified boards or if the board field is empty and the "global limit" option is enable, then the limit will be applied to all boards.
-It covers both the full reply and quick reply.
-It adds a scheduled task to reset all user's count everyday. <-- perhaps you will have to set up this to a more appropiated time like very early in the morning or midnight.
-You can set a limit by going to the user's profile / Profile Info / Post Limit profile panel.
Users shouldn't be able to modify their own limit of course.
I'm interested on testing the permissions and the scheduled task as those parts hasn't been tested at all.
So, if you are interested on a mod like this one, please help by testing the mod as much as you can.
Github repo: https://github.com/MissAllSunday/PostLimit
Direct download: http://missallsunday.com/Downloads/PostLimit.zip
The mod is only for 2.0.x and PHP 5.2 or greater.
Navigation
[0] Message Index
Go to full version