Back to vBulletin 3.6 Template Modifications

Multiple Navbars
Mod Version: 1.00, by optrex

This modification is in the archives.
vB Version: 3.6.x Rating: (6 votes - 4.83 average) Installs: 59
Released: 25 Sep 2006 Last Update: Never Downloads: 21
Not Supported Template Edits  

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.


A working expample can be found at http://www.midlandsweather.org.uk/

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.
Code:
<!-- nav buttons bar -->
<div align="center">

Download

No files for download.

Supporters / CoAuthors

  • optrex

Screenshots

Click image for larger version
Name:	screenshot.png
Views:	2769
Size:	16.8 KB
ID:	53900  

Similar Mods

Miscellaneous Hacks Simple Additional Navbars vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024