View Full Version : Minimum Time Between Searches
richTV
05-20-2020, 02:44 AM
I wanted the ability to change this setting based on usergroup and not just sitewide.
I saw this thread for vB4, https://vborg.vbsupport.ru/showthread.php?t=288753
Anything like this for vB3.8.7 Patch Level 2 ?
Thanks.
Dr.CustUmz
05-20-2020, 03:02 AM
if (is_member_of($vbulletin->userinfo, 2, 3, 4))
{
$vbulletin->options['searchfloodtime'] = 0;
}
In global_complete should work for 3x series
Actually played around with it
use global_setup_complete
and your code would look as follows (confirmed working)
if (is_member_of($vbulletin->userinfo, 2, 3, 4))
{
$vbulletin->options['searchfloodtime'] = "120";
}
RobLeonard
05-21-2020, 01:34 PM
I wanted the ability to change this setting based on usergroup and not just sitewide.
I saw this thread for vB4, https://vborg.vbsupport.ru/showthread.php?t=288753
Anything like this for vB3.8.7 Patch Level 2 ?
Thanks.
In future, you should try the vBulletin 4 option first as quite often code is cross-compatible between 3.8.X and 4.X - or will require minimal effort with little to no coding experience.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.