The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Condition for 'Minimum Time Between Searches'
Great day everyone, I need some help.
Currently to take off the load from my busy forum, I've setup vbulletin's "Minimum Time Between Searches" to be 60 seconds. What I would like to do, is to switch it to 10 seconds, but only to those users with paid subscription. In this case usergroup number: 9. How do I implement this simple condition? Thanks, Joe |
#2
|
|||
|
|||
<if condition="is_member_of($vbulletin->userinfo, 7, 8, 9)">
change the numbers to the the usergroup you are using. |
#3
|
|||
|
|||
Actually this I knew, but can someone please point me to where the search delay is specified and where I could use this condition?
|
#4
|
|||
|
|||
You didn`t ask which template you have to add/edit for your request.
But I think you have to search in the template "navbar" or you have to edit/add a plugin. anyway, goodluck. |
#5
|
|||
|
|||
Here is the code in search.php that checks the time in between searches.
PHP Code:
PHP Code:
|
#6
|
|||
|
|||
Hi, I am going to test it out now. Thank you so much for your time, very appreciated.
Joe --------------- Added [DATE]1211643584[/DATE] at [TIME]1211643584[/TIME] --------------- Great, this is how I've got it working for usergroup number 9. LOOK FOR: PHP Code:
BEFORE ADD: PHP Code:
Works like a charm, group number 9, has no time limit now on searches. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|