Log in

View Full Version : Minimum Time Between Posts


RobDog888
09-23-2008, 06:34 PM
<font color="darkgreen">Is there an addin or anyone know how to set a custom usergroup to be able to bypass the flood check? Admins and Mods are exempt from the bypass the check so I would like to add this feature to another non-mod usergroup.

Thanks</font>

RobDog888
09-26-2008, 04:40 AM
<font color="darkgreen">No one?</font>

Lynne
09-26-2008, 03:57 PM
I would think you could make a plugin (global_start?) that sets $vbulletin->options['floodchecktime'] = 0 for certain usergroups.

SVTCobraLTD
09-26-2008, 04:45 PM
Interested in this as well. Preferably if I could adjust the flood time.

RobDog888
09-29-2008, 12:54 AM
It worked, thanks Lynne.

For selectively allowing certain usergroup(s) bypassing of the floodcheck...
https://vborg.vbsupport.ru/showpost.php?p=757208&postcount=2

SVTCobraLTD
09-29-2008, 10:30 PM
Hook: global_start

if (is_member_of($vbulletin->userinfo, X))
{
$vbulletin->options['floodchecktime'] = 0;
}


Anyone want to explain how to do this on 3.6.11? I understand how to add plugin but not sure how to go about adding this.

Lynne
09-29-2008, 11:17 PM
That is a plugin using the global_start hook. If you know how to add a plugin, then all the information is there.

HaS?R
12-13-2008, 12:17 AM
Thank You.It Works Perfect.

jdebler
03-03-2011, 09:49 PM
Reviving this one as I have a question. I use this but now I'd like to expand upon it.

What if I wanted one group to have one flood control time, and another to have a different time? Would I simply make two plugins, or would I just do this in the plugin I currently use?

if (is_member_of($vbulletin->userinfo, X))
{
$vbulletin->options['floodchecktime'] = 5;
}

if (is_member_of($vbulletin->userinfo, y))
{
$vbulletin->options['floodchecktime'] = 10;
}