PDA

View Full Version : Exlude usergroup from 'Minimum Time Between Searches'


dutchbb
07-02-2014, 05:34 PM
I found a solution for vb4 but not vb3, anyone care to explain how to write this for vb3:

https://vborg.vbsupport.ru/showpost.php?p=2371421&postcount=2

mokujin
07-02-2014, 05:44 PM
It should work exactly the same for vb3.

ozzy47
07-02-2014, 05:45 PM
Same code should work.

dutchbb
07-02-2014, 05:51 PM
I looked for the hook global_bootstrap_complete but could't find it?

kh99
07-02-2014, 07:04 PM
Try global_setup_complete instead. And you dont' need the "global $vbulletin;" line, although it doesn't hurt anything.

dutchbb
07-02-2014, 07:29 PM
Thanks a lot guys!

richTV
05-10-2015, 04:38 AM
Hi guys, i only found this thread today so apologies for bumping this.

I'd like to try this but I see in the "add new plugin", there is an option of 'Execution Order' and it is currently set at 5. I don't understand that setting so what number should it be?

my global search time is 45 seconds and i want to make different times for a few usergroups.

thanks.

Digital Jedi
05-10-2015, 05:05 AM
Default setting should work fine.