The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Remove the SEARCH BAR???
is it possible to just flat out remover the search bar from the forum navbar?
|
#2
|
||||
|
||||
Quote:
HTML Code:
<vb:if condition="$vboptions['enablesearches']"> <div id="globalsearch" class="globalsearch"> <form action="search.php?do=process" method="post" id="navbar_search" class="navbar_search"> <input type="hidden" name="s" value="{vb:raw session.sessionurl}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="process" /> <span class="textboxcontainer"><span><input type="text" value="" name="query" class="textbox" tabindex="99"/></span></span> <span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search.png" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span> </form> <ul class="navbar_advanced_search"> <li><a href="search.php{vb:raw session.sessionurl_q}">{vb:rawphrase advanced_search}</a></li> </ul> </div> </vb:if> or comment it out by placing the block of code above between: HTML Code:
<vb:comment>....</vb:comment> |
#3
|
|||
|
|||
THanks ALOT
|
#4
|
||||
|
||||
|
#5
|
|||
|
|||
This really helped me too, I've been trying to work out how to do it. So thanks very much.
|
#6
|
|||
|
|||
Where is the navbar template?
|
#7
|
||||
|
||||
Rather than hack your template (which you would have to do for all parent styles), vBulletin has given you a way to remove the search bar. If you notice the HTML that adds the bar is already wrapped in a template conditional using a setting.
So, all you have to do to remove the search bar is follow: AdminCP -> Settings -> Options -> Message Searching Options and set the first option labelled "Search Engine Enabled" to "No"...this way you can add it back later simply by changing this option back to "Yes" whenever you want, without having to edit or revert any templates. Easy Peasy! |
Благодарность от: | ||
Lynne |
#8
|
||||
|
||||
Your Admincp / Style Manager / Style variable editior / edit templates/ Navigation /breadcrumb temples / Nav
This is the place you can find the navbar template. |
#9
|
|||
|
|||
Quote:
|
Благодарность от: | ||
MarkFL |
#10
|
|||
|
|||
Quote:
I was looking from long time, because this function is not useful. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|