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 |
#42
|
||||
|
||||
Good point. I will update them when I get the chance.
|
#43
|
|||
|
|||
Hi there,
Great article! This is along the lines of a similar topic and I was wondering if you are able to give me some advice on the best way to replace the existing vBulletin Navbar tabs with the ddtabmenu style that I found at the Dynamic Drive website. My questions are probably VERY basic so apologies up front. 1. Do I just make the changes outlined in the article at http://www.dynamicdrive.com/dynamicindex1/ddtabmenu.htm to the existing vBulletin template in Admin cp/Style Manager/Navigation / Breadcrumb Templates/navbar? In effect overwriting the original vBulletin templates? 2. Is the Admin cp/Style Manager/Navigation / Breadcrumb Templates/navbar the correct place to make such changes 3. Or do I make the changes to the downloaded files, and then upload these to the appropriate directory on my vBulletin website. Once this is done do I go to the Admin cp/Download Upload Styles/Import Style XML File and import the file? In effect creating a new template?? 3. If I do 3 then is it a matter of setting this as the new default template? Hope this all makes sense.... Thanks in advance, |
#44
|
||||
|
||||
Let me update them first and then I will get back with you, KeithRichards. It will be a few days because of working a lot of hours.
|
#45
|
||||
|
||||
Updated with new code for vB 4.0.x.
|
#46
|
||||
|
||||
This did not work for me. It put the new navbar tabs mixed in with my regular ones. It did not create a separate tab bar. See picture.
|
#47
|
|||
|
|||
Try this...
In Navbar After.. Code:
<li><a href="search.php{vb:raw session.sessionurl_q}" accesskey="4">{vb:rawphrase advanced_search}</a></li> </ul> </div> Code:
<ul id="navtabs" class="navtabs floatcontainer"> <br />br /><br /> <!-- 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 --> </ul> |
#48
|
||||
|
||||
I could not find that code you listed....
|
#49
|
||||
|
||||
It does not create a separate tab bar only adds to the current one.
|
#50
|
||||
|
||||
I see.... but it shows a separate tab bar in the screenshot.
Or am I missing something? Where it says server stats, server slots, arcade, downloads, ect. ect. This is what I was installing this mod for |
#51
|
||||
|
||||
That is not for this mod. That is something I was toying around with. Directly underneath the large tabs in the second shot where it says, (sample, sample, sample, etc) is what the second part of the links do.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|