Back to vBulletin 3.7 Template Modifications

Easy Navbar Links
Mod Version: 1.00, by SuperTaz

This modification is in the archives.
vB Version: 3.7.x Rating: (4 votes - 5.00 average) Installs: 18
Released: 12 Jan 2009 Last Update: 05 Feb 2009 Downloads: 51
Not Supported Template Edits Re-usable Code  

Description:
This template edit displays quick and easy links to your navigation.

Installation Time: Less than 1 minute

I got the inspiration from "yoyoyoyo" who made a similar mod for 3.6.8. Although his might work fine for this also, I decided to alter it a bit and cleaned up some code.

I did PM yoyoyoyo to use a variation of his hack but, since he has not been online since September 2008, I can't get a response.

Since yoyoyoyo came up with this type of template edit, all the credit goes to him.

Here is the mod from yoyoyoyo for version 3.6.8:

Simple Additional Navbars

Template Edit:

Styles and Templates > Style Manager > Your Style > Navigation / Breadcrumb Templates > Navbar:

In the Navbar find:

Code:
<!-- breadcrumb, login, pm info -->
Above it add:

Code:
<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
</tr>
</table>
</div>
<!-- / Navbar Links -->
Then click Save and Reload!

Done!


OPTIONAL:

If you want to show a link only to members use this:


Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td>
</if>
If you want to show a link only to members, and a different link to guests use this:

Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://url.com">Member Link Title Goes Here</a></td>
<else />
<td class="vbmenu_control"><a href="http://url.com">Guest Link Title Goes Here</a></td>
</if>
To make the link open in a new window use this URL instead:

Code:
<td class="vbmenu_control"><a href="http://url.com" target="_blank">Link Title Goes Here</a></td>
To make the link(s) only visible to certain usergroups use this:

Code:
<if condition="is_member_of($bbuserinfo, X, Y, Z)">
<td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td>
</if>
Substitute X, Y, Z with the ID numbers of the groups that you want to allow to see the link. If you only want one usergroup to be able to see the link then use: $bbuserinfo, X and substitute X with the ID number of the group that you want to allow to see the link.

Of Course you want to change the URL's to your site URL and direct the link to any site or feature you want for your site.


Any problems, let me know.

Make sure if you use this template edit to CLICK INSTALL.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s navbar.txt (2.8 KB, 46 downloads)

Supporters / CoAuthors

  • yoyoyoyo

Screenshots

Click image for larger version
Name:	navbar.jpg
Views:	528
Size:	18.9 KB
ID:	92386  

Similar Mods

Forum Display Enhancements Easy Navbar Links vBulletin 3.8 Template Modifications
How to redo your vBulletin 3.5.0 Navbar in Four Easy Steps! vBulletin 3.5 Add-ons

vblts.ru supports vBulletin®, 2022-2024