The Arcive of vBulletin Modifications Site. |
|
NJAquaman - Main Nav Tabs Details »»
|
|||||||||||||||||||||||||
What: A Simple Nav Tab Plugin to Add a Tab to the Nav Bar.
WORKS WITH ..!!! 4.0.x Browser Comparability (All Latest Versions); Internet Explorer Firefox Opera Safari Google Chrome Install: 1) Navigate to ACP> Plugins & Products > Add New Plugin 2) Product : Vbulletin Hook Location : parse_templates Title : Nav Tab Execution Order : 5 3) Insert the Code; For Tabs On the Right Side Use This Code: Code:
$template_hook['navtab_end'] .= ' <li><a href="http://www.google.com" class="navtab">Google </a></li> <li><a href="http://www.yahoo.com" class="navtab">Yahoo </a></li> '; Code:
$template_hook['navtab_middle] .= ' <li><a href="http://www.google.com" class="navtab">Google </a></li> <li><a href="http://www.yahoo.com" class="navtab">Yahoo </a></li> '; Code:
$template_hook['navtab_start'] .= ' <li><a href="http://www.google.com" class="navtab">Google </a></li> <li><a href="http://www.yahoo.com" class="navtab">Yahoo </a></li> '; Notes: - "Google" or "Yahoo" is the tab names - To Create More Tabs Duplicate it under the Same "$template_hook['navtab_end']" Tag - YOU MAY Duplicate it in the same Plugin - You can use both Left and Right codes at the same time! Screen Shot! Attachment 109193 DONT FORGET TO CLICK INSTALL __________________________________________________ ______________ Change Log v1.4 - 01/17/10 - vB 4.0.1 Temp Hook Call Fix - Patch: Change the Hook From "process_template_complete" to "parse_templates" v1.3 - 01/15/10 - Added the Middle Code (garretbyrne) v1.2 - 01.05/10 - Both Right and Left Sides (Zaiaku) v1.1 - 01/05/10 - Added Just A Nav Tab Option With A Link (Pozo) __________________________________________ Here Are Some Other Versions: Main Nav Tab Drop Down Main Nav Tab w/ Connective Sub Nav [CMS] Sub Nav Tabs [CMS] Sub Nav Tabs Drop Down Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Where's the demo?
|
|
#3
|
||||
|
||||
|
|
|
#4
|
||||
|
||||
|
Yeah mate, that's a screen shot not a demo. A demo would be a link to a working site to see it working in action.
|
|
#5
|
||||
|
||||
|
Quote:
I recommend Trying it ! Its Only 3 Lines of code~! Let Me know what you think! Thanks |
|
#6
|
||||
|
||||
|
What side of the original tabs does this put it on?
|
|
#7
|
||||
|
||||
|
The Right Side ! Do you Need The left Side?
Thanks |
|
#8
|
|||
|
|||
|
It works but if i click the new tab it isn?t highlighted..
|
|
#9
|
||||
|
||||
|
This is A Simple Link Tab Not A Page Tab !
thank you ! |
|
#10
|
||||
|
||||
|
Would be nice to be able to do this on both sides.
|
![]() |
|
|