The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Remove "forum" and search box from navbar
I would like to do that.
|
#2
|
||||
|
||||
Have a look at the navbar as they are defined there. For ex, to remove the search button find and remove the following code:
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> |
#3
|
|||
|
|||
Thanks Borbole, could you possibly show me where to take the forum link out at, I can't figure it out.
|
#4
|
||||
|
||||
Quote:
HTML Code:
<a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a> |
#5
|
|||
|
|||
Thanks again Borbole, this works well except in the cms pages or at least the front page of it. Would there be a separate place to remove it from there ? The search box removal worked for all pages, just the forum tab still exists on the front page.
|
#6
|
||||
|
||||
You are welcome. I don''t know about cms Martyh as I don''t use it. Does it have its own navbar template?
|
#7
|
|||
|
|||
I didn't think so but for some reason it doesn't seem to follow the other one at least not for the Nav button/links.
|
#8
|
||||
|
||||
Can you have a look at the cms templates, for something like cms_navbar or anything similiar?
|
#9
|
|||
|
|||
I don't see anything like that, can you make a mod to make this whole thing > drag, drop and right click menu for editing ? ,,lol I think that's what I need.
|
#10
|
||||
|
||||
I read a post at vbulletin.com that tells me that the cms templates should be something like vbcms_name for ex. So have a look at the templates for something like vbcms_navbar for ex.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|