The Arcive of vBulletin Modifications Site. |
|
Auto Selecting Search Titles Only in Drop-Down Menu Details »»
|
|||||||||||||||||||||||||||
|
Auto Selecting Search Titles Only in Drop-Down Menu
Developer Last Online: Apr 2014
This small mod was 'prepared' for huge forums, which have problems with load. After install it, users can search only by Threads' Titles rule in a Drop-Down Menu. Users still can select 'Search Entire Posts' in Advanced Search Menu, of course. This mod decrease load over serveral % and also it doesn't change anything in a search form's appearance.
Open navbar template, search for: Code:
<input type="hidden" name="do" value="process" /> <input type="hidden" name="quicksearch" value="1" /> <input type="hidden" name="childforums" value="1" /> <input type="hidden" name="exactname" value="1" /> Code:
<input type="hidden" name="titleonly" value="1" /> Open FORUMDISPLAY template, search for: Code:
<input type="hidden" name="do" value="process" /> <input type="hidden" name="forumchoice[]" value="$forumid" /> <input type="hidden" name="childforums" value="1" /> <input type="hidden" name="exactname" value="1" /> Code:
<input type="hidden" name="titleonly" value="1" /> Moreover I recommend change default option in Advanced Search (Search Titles Only instead Search Entire Posts). You can do it by (Dismounted's solution): Open search_forums template Find: Code:
<select name="titleonly"> <option value="0" $titleonlyselected[0]>$vbphrase[search_entire_posts]</option> <option value="1" $titleonlyselected[1]>$vbphrase[search_titles_only]</option> </select> Code:
<select name="titleonly"> <option value="0">$vbphrase[search_entire_posts]</option> <option value="1" selected="selected">$vbphrase[search_titles_only]</option> </select> Greetings ![]() Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
any screenshots? please
|
|
#3
|
|||
|
|||
|
Quote:
|
|
#4
|
|||
|
|||
|
nothing happen
|
|
#5
|
|||
|
|||
|
You did something wrong, search should find words only in thread's titles by default after install. It works perfect for me.
|
|
#6
|
|||
|
|||
|
thank you, this trouble me too long time.
It's fine. |
![]() |
|
|