View Full Version : how can i remove 'forum' button from navbar
ClErK1991
02-07-2012, 05:39 PM
hey everyone i wanna remove this button from the navbar can someone tell me how to do it? :D and thanks for all ur help before :) :D :up:
ProFifaLeagues
02-07-2012, 06:10 PM
In the navbar template, remove the stuff starting right under here:
HTML Code:
{vb:raw template_hook.navtab_start}
to right above here:
HTML Code:
{vb:raw template_hook.navtab_middle}
That will remove the tab, but then if you are in any forum page (forumdisplay, showthread, index), then I don't think any tab will be highlighted and thus no sub-menu either.
ClErK1991
02-07-2012, 11:40 PM
HTML Code:
{vb:raw template_hook.navtab_start}
to right above here:
HTML Code:
{vb:raw template_hook.navtab_middle}
thanks, this works awesome!
and now please can u tell me how can i remove the advance search from the same navbar? :D
ProFifaLeagues
02-08-2012, 06:56 AM
Glad to of been a help Sir,To remove the advanced search you can try this for search
Did you try removing or commenting out this section in the navbar template?
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search"> <vb:comment><input type="hidden" name="s" value="{vb:raw session.sessionurl}" /></vb:comment> <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.<vb:if condition="(is_browser('ie') AND !is_browser('ie', 7) AND !is_browser('ie', 8))">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span> </form>
ClErK1991
02-08-2012, 10:27 AM
Glad to of been a help Sir,To remove the advanced search you can try this for search
Did you try removing or commenting out this section in the navbar template?
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search" class="navbar_search"> <vb:comment><input type="hidden" name="s" value="{vb:raw session.sessionurl}" /></vb:comment> <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.<vb:if condition="(is_browser('ie') AND !is_browser('ie', 7) AND !is_browser('ie', 8))">gif<vb:else />png</vb:if>" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"/></span></span> </form>
i dont know to much about vB, that what i answer and thanks a lot for answer me :D
EDIT: this work aswesome but, the words 'Advanced Search' still there, so i delete this
<ul class="navbar_advanced_search">
<li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li>
{vb:raw template_hook.navbar_advanced_search}
</ul>
there is not a problem about that? right?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.