Customizing SMF > Modifications and Packages

Global Post Limit

<< < (2/2)

jaychris:
Would it be difficult to extend this mod to limit application to a per board basis?  For example, if I wanted the ability to apply this mod to a specific board (or boards) so as to limit the "newbie" traffic.  Like if you are a member of group X, you are limited to 5 posts per day on this given board, but any other board on the site, have at it.  Basically, I just want a little more granular control than a global application.

HoverClub:
Anything can be done given enough time  ;)  The raw data isn't available from SMF to do posts per day/ board.  It might be possible to have a different post limit for each board though. 

Apart from a day limit, you can already exclude boards.  In theory, the post limit should probably be an extension of the board/group permission system but that would involve a complete re-write as that wasn't the design intention of the mod.

Milko:
Well, I do need a mod so I can limit the number of posts that a given user can make per day. I tried the Global Post Limit mod but it doesn't seem to work :( I created a new group "Limited posts per day". I selected all other groups so the limit does not apply to them and assigned one member to the "limited posts per day group". I set the limit to 1 post per day, I logged in as the member with restricted number of posts per day and had no problem making 2 posts :( Can anyone tell me what I did wrong?
Thanks!

HoverClub:
Not sure what the problem is as the mod works OK (the post check is a simple one-liner).  It doesn't limit posts per day but limits total posts (global) that a group can make - ever!

I can check it out is you give me temporary admin access to your site?

Milko:

--- Quote from: HoverClub on April 30, 2012, 02:30:08 PM ---It doesn't limit posts per day but limits total posts (global) that a group can make - ever!

--- End quote ---

Aha! I see! Well then that was a misunderstanding on my part. I certainly do not want to limit total posts that a group can make.. Thanks for taking the time to explain!

Rgds,
Milko

Navigation

[0] Message Index

[*] Previous page

Go to full version