The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Limit Posts Per Day
Hi Everyone,
What I really need is a way to limit the number of posts per day per member (across all forums). My low volume forum can get buried by someone posting 50 messages before I notice. It would be nice to set some kind of cap. The time between posts restriction doesn't work in this case since I don't want to stop people from posting multiple messages in one sitting. Is there a way to install this feature? I'm running 3.0.0 now but will soon be upgrading to 3.5. Thanks, Don |
#2
|
||||
|
||||
In theory, you could alter newthread and newreply to check that a a user's posts does not exceed an individual daily limit, e.g.
Code:
if ($vbulletin->userinfo[poststoday] > $vbulletin->userinfo[dailylimit]) { Code:
if ($vbulletin->userinfo[poststoday] > $vbulletin->options[dailylimit]) { You would obviously have to generate the "poststoday" field, and basically get a query to select all the posts that have been made in the last 24 hours by the user Looking at it it is fairly simple to do, and shouldn't be much effort on your part to create something to do this Satan |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|