Boolean Search in Search Drop-Down Menu Option in Navbar
[Should work in all vB 3.5.x versions]
All Thanks To Jake Bunce, vBulletin Team
Context: I was wondering, how could we set up the boolean search as the default option for quick search from serach drop-down menu
Installation Instructions:
Quote by Jake Bunce
Admin CP -> Styles & Templates -> Style Manager -> « » -> Navigation / Breadcrumb Templates -> navbar
Find this code, add the red code:
Code:
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="searchtype" value="1" />
<input type="text" class="bginput" name="query" size="20" /> $gobutton<br />
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>
<!-- / header quick search form -->
</if>
That should do it.
Thats All folks, Enjoy!!
Demo: http://www.sikhphilosophy.net
Please click install to encourage me to release such cute pies for you all !! :nervous: