I wasn't expecting this question, but glad you asked. It's a new feature, but one I've wanted to implement for a while now. Yesterday I needed another break from my current project, which feels like slogging through mud, and I chose this feature because I thought it might be helpful in moderating the covid thread. It's very relaxing coding in a familiar environment.
"Posts per day" for any member can be set through the board's control panel to anywhere from 0 to 65535 (2
16 - 1). A setting of 0 means no limit. The software counts how many posts the user has made over the past 24 hours and checks if it is more or less than the post limit. I just realized that member's cannot at present see their post limit setting on their Settings page, and I should fix that. I think I'll make it so that the post limit isn't displayed if it is set to 0, only when it's non-zero.
When a user who has hit his post limit hovers over a reply, edit or new topic button they see a hoverbox that tells them they have reached their post limit of x and cannot post again until a specific time. Clicking on the button causes no action.
There's no time limit the way there is for suspensions. I thought about it, but then the idea of making the post limit time variable occurred to me, and I'd have to think for a bit about how I'd want that to work. For example, it would be neat to set the daily post limit to go from 1 to 5 over a period of 5 days, after which it would go away.
-- | Percy |
| EvC Forum Director |