BryceW
07-29-2007, 07:10 AM
In short, I am trying to change the post timer (eg. cant post again after X amount of time) for specific usergroups.
The longer version.
I am looking for a way to prevent whats called "forum raids" where other forums plan to spam the hell out of other forums (like mine). There are typically 30 or so 'raiders' who post all sorts of nasty things. To slow them down, I can raise the post timer. However, my regular members dont like this.
So, I have created a "Limited Registered Users" usergroup that all new signups enter and remain there for X amount of time or X amount of days. Then I have the regular "Registered Users" that all VB forums have.
I am thinking some code like this could work:
if($vbulletin->userinfo['usergroupid'] == 2)
{
$vbulletin->options['floodchecktime'] = 60 * 10; #60 seconds times 10 minutes
}
However, I am not sure where to put it or what to replace. My PHP skills arent great, I am sure someone here with some skills could answer this in no time.
Thanks in advance for any help.
The longer version.
I am looking for a way to prevent whats called "forum raids" where other forums plan to spam the hell out of other forums (like mine). There are typically 30 or so 'raiders' who post all sorts of nasty things. To slow them down, I can raise the post timer. However, my regular members dont like this.
So, I have created a "Limited Registered Users" usergroup that all new signups enter and remain there for X amount of time or X amount of days. Then I have the regular "Registered Users" that all VB forums have.
I am thinking some code like this could work:
if($vbulletin->userinfo['usergroupid'] == 2)
{
$vbulletin->options['floodchecktime'] = 60 * 10; #60 seconds times 10 minutes
}
However, I am not sure where to put it or what to replace. My PHP skills arent great, I am sure someone here with some skills could answer this in no time.
Thanks in advance for any help.