Version: 1.00, by optrex
Developer Last Online: Mar 2011
Category: Miscellaneous Hacks -
Version: 3.6.x
Rating:
Released: 09-24-2006
Last Update: Never
Installs: 59
Template Edits
No support by the author.
There is always a demand for increased navigation from your vB Board. This modification has been tested on 3.6.x, 3.7.x and 3.8.x
Hardcoding a menu is the best way to add the increased functionaility, without adding server load and queries. This template modificiation explains how to add additional simple navbars to your website. By utilising exisitng vB code from within the Navbar template, the menu will appear on all pages, including in add-ons such as vBa and Photoplog and Photopost.
The basis of the navigation bar (refered to as the 'Main Code') is as follows:
Code:
<!-- nav2 buttons bar by Optrex-->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<!--compile your links within this space, using the section types below -->
</tr>
</table>
</div>
<!-- / nav2 buttons bar by Optrex-->
To create a link visible to all usergroups add this code to replace the green section of the main code (above):
Code:
<td class="vbmenu_control"><a href="http://www.yoururlhere.com" >Title of your link</a></td>
To create a link visible only to members add this code to replace the green section of the main code (above):
Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://www.yoururlhere.com" >Title of your link</a></td>
</if>
Placement is recommended above your existing navbar, due to the "drop down" lists.
Find the following line in your navbar template and place your compiled code above it.
Hi, firstly great mod, id been looking for something like this for a while now.
The only problem ive noticed, is that i use mkportal, and the extra navbar, whils it works flawlessy in my forum pages, it doesnt appear on the mkportal home page.
is there a way of aligning both of the bars so that the links are aligned instead of staggered?
Cruise, the links are centered, so if you have the same number of links in both bars, they should not be "staggered". You could try creating blank links to help with the spacing.
Quote:
Originally Posted by Magz
The only problem ive noticed, is that i use mkportal, and the extra navbar, whils it works flawlessy in my forum pages, it doesnt appear on the mkportal home page.
How can i make it so that it does?
Magz, It sounds like mkportal doesn't use the navbar template. So you could try moving the nav bar code to the header. Or mkportal may use its own template system (like mkportal_navbar or mkportal_header for example). In which case you would need to drop the code into the relevant mkportal templates.
I am a complete newb to vbulletin. I just installed it today and would like to add this
my forum is www. gatorenvy .com
I just don't know where to find the navbar file to paste the code you provided. I'm just using the default style for now. I don't know where any of the style files are or the header or the navbar. Please help!
Please click install on this thread to show you've installed the product, and to keep up to date with changes.
From your AdminCP
Styles and templates
Style Manager
In default style select "edit templates"
Scroll down to navigation /breadcrumb templates
Double click navbar.
This will get you to your navbar template. Copy and paste the code to a .txt file on your PC so that you can restore it easily if you mess it up.