View Full Version : Limit posts per day in a forum
dgessler
06-17-2002, 03:32 AM
Anyone else thinks this is a great idea? I strongly ask anyone who thinks they can do this job, it would be a real nice addition to vbulletin. Basically what it would do is limit the number of posts someone can post in a certain forum in one day.
Thanks,
Dan
Logician
06-17-2002, 11:16 AM
here you go:
dgessler
06-17-2002, 12:00 PM
Thanks Logican! :D
I really appreciate it, it works nicely on my forum (domains for sale forum), awesome!
Andrus
03-04-2003, 11:59 PM
Is there a way to have this apply to specific users rather than the entire memberlist or usergroup?
Logician
03-05-2003, 02:50 PM
Originally posted by Andrus
Is there a way to have this apply to specific users rather than the entire memberlist or usergroup?
It would be wiser to create a new usergroup, then move the users to this usergroup but if you want otherwise, change this line:
if (!in_array($bbuserinfo[usergroupid],$log_exempt_usergroups))
to:
if ($bbuserinfo[userid]==X OR $bbuserinfo[userid]==Y)
And replace X & Y with the userid of the users
sabret00the
03-05-2003, 03:02 PM
this is just what i needed thanks
Sebastian
03-05-2003, 03:12 PM
Logician, you can use an 'OR' Like that? I didn't know that.
I always use || and sometimes &&
any difference?
Logician
03-09-2003, 07:44 AM
Originally posted by Sebastian
Logician, you can use an 'OR' Like that? I didn't know that.
I always use || and sometimes &&
any difference?
Basically they do the same thing. But || and && have higher precedence than OR and AND.
More info:
http://www.php.net/manual/en/language.operators.precedence.php
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.