PDA

View Full Version : Easy Navbar Links



admin
21-11-2009, 05:00 PM
/*================================================= =====================*\
|| ################################################## ################## ||
|| # Easy Navbar Links
|| # Version 1.00
|| # Author: Warden
|| # This mod may only be used from vbulletin.org
|| # DO NOT display this mod on any other modification site without my permission
|| # You can alter this code and re-display it here on vbulletin.org
|| ################################################## ################## ||
\*================================================ ======================*/


Easy Navbar Links

Installation: Less than 1 minute!

Installation instructions:

Go to your navbar template:

Styles and Templates > Style Manager > vB4 > Navigation Breadcrumb Templates > Navbar:

Find this code near the bottom:

<div class="breadcrumbcontainer">
<div id="breadcrumb">

Above it add:

<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="3" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="LINK HERE">LINK NAME</a></td>
<td class="vbmenu_control"><a href="LINK HERE">LINK NAME</a></td>
<td class="vbmenu_control"><a href="LINK HERE">LINK NAME</a></td>
<td class="vbmenu_control"><a href="LINK HERE">LINK NAME</a></td>
<td class="vbmenu_control"><a href="LINK HERE">LINK NAME</a></td>
<td class="vbmenu_control"><a href="LINK HERE">LINK NAME</a></td>
</tr>
</table>
</div>
<!-- / Navbar Links -->

Note: If you do not want a border around your links, go to where it says border="3" and change it to border="0"!
Save and Reload.

OR...
You can use it this way and add links to the navbar with new posts and pm's, etc. in the sub-navbar!!

Find in the navbar template:

{vb:raw template_hook.navbar_start}
<vb:if condition="$show['searchbuttons']">

Add below:

<li><a href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>
<li><a href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>
<li><a href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>
<li><a href="sample.php?{vb:raw session.sessionurl}">Sample</a></li>

2nd picture shows this sample.

Edit the links to whatever you want.

Screenshots
http://img.photo.zing.vn/file_uploads/gallery/sources/2009/11/21/06/99661258803083.jpg

http://img.photo.zing.vn/file_uploads/gallery/sources/2009/11/21/06/26221258803093.PNG