The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Easy Navbar Links Details »» | |||||||||||||||||||||||||||||||
/*================================================= =============*\
|| ################################################## ########## || || # 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 3 minutes! Installation instructions: Go to your navbar template: Styles and Templates > Style Manager > vB4 > Navigation Breadcrumb Templates > Navbar: Find this code near the top: Code:
<ul class="floatcontainer"> {vb:raw template_hook.navbar_start} Code:
<!-- Navbar Links --> <li class="non-selected"><a class="navtab" href="sample.php?{vb:raw session.sessionurl}">Sample</a></li> <li class="non-selected"><a class="navtab" href="sample.php?{vb:raw session.sessionurl}">Sample</a></li> <li class="non-selected"><a class="navtab" href="sample.php?{vb:raw session.sessionurl}">Sample</a></li> <li class="non-selected"><a class="navtab" href="sample.php?{vb:raw session.sessionurl}">Sample</a></li> <!-- / Navbar Links --> 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: Code:
{vb:raw template_hook.navbar_start} <vb:if condition="$show['searchbuttons']"> Code:
<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> Change Blue highlighted link to your link name. 2nd picture shows this sample. Edit the links to whatever you want. Done! If you use this mod, please CLICK INSTALL!! Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Comments |
#22
|
|||
|
|||
And the new tab are: "target="_blank"
|
#23
|
||||
|
||||
Sorry everyone. Been away for a while. Code is updated.
|
#24
|
|||
|
|||
Can you tell me if this allows only logged in user to see the link? I noticed that some default link only show up when logged in so which part allow that. Thank you.
|
#25
|
||||
|
||||
Quote:
Code:
<!-- Navbar Links --> <vb:if condition="$show['member']"> <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> </vb:if> <!-- / Navbar Links --> |
#26
|
|||
|
|||
Thanks for your help. Marked as installed.
|
#27
|
|||
|
|||
thanks for this!
|
#28
|
|||
|
|||
Hi,
thanks for this hack. Now I can make navbars as much as I want. Great ... How can I fix the background ? I want the same colour as my original navbar. How can I tell the tabs to open in a new window / a new tab in IE8 ? Heiko |
#29
|
||||
|
||||
Quote:
As for your second request, you enter this code: Code:
<td class="vbmenu_control"><a href="LINK HERE" target="_blank">LINK NAME</a></td> |
#30
|
|||
|
|||
|
#31
|
|||
|
|||
misunderstood - sorted now. thanks for this!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|