PDA

View Full Version : minimum time between searches for usergroup


pelican
10-07-2012, 06:01 PM
Is there a vb4 mod to set different "minimum time between searches" for different usergroup?
i've tried to search in the mod section but cant find. in case i missed out.

if there isnt such mod, is it possible to add a plugin to exclude more usergroups (besides admins and mods) from the search flood check? thanks.

kh99
10-07-2012, 07:05 PM
Try this: create a plugin using hook location global_bootstrap_complete and this code:

global $vbulletin;
if (is_member_of($vbulletin->userinfo, 2, 3, 4))
{
$vbulletin->options['searchfloodtime'] = 0;
}


Change "2, 3, 4" to the list of groups you want to change.