The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
What: A Nav Tab Plugin to Add a Main Drop Down 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 Drop Down Execution Order : 5 3) Insert the Code; For Tabs On the Right Side Use This Code: Code:
$template_hook['navtab_end'] .= ' <li class="popupmenu" > <a href="javascript://" class="popupctrl navtab">Featured Articles</a> <ul class="popupbody "> <font color="#000000"> <li></li> <li><a href="list.php?r=category/46-Birding">Birding</a></li> <li><a href="list.php?r=category/47-Boating">Boating</a></li> <li><a href="list.php?r=category/48-Camping">Camping</a></li> </font> </ul> </li> '; Code:
$template_hook['navtab_middle'] .= ' <li class="popupmenu" > <a href="javascript://" class="popupctrl navtab">Featured Articles</a> <ul class="popupbody "> <font color="#000000"> <li></li> <li><a href="list.php?r=category/46-Birding">Birding</a></li> <li><a href="list.php?r=category/47-Boating">Boating</a></li> <li><a href="list.php?r=category/48-Camping">Camping</a></li> </font> </ul> </li> '; Code:
$template_hook['navtab_start'] .= ' <li class="popupmenu" > <a href="javascript://" class="popupctrl navtab">Featured Articles</a> <ul class="popupbody "> <font color="#000000"> <li></li> <li><a href="list.php?r=category/46-Birding">Birding</a></li> <li><a href="list.php?r=category/47-Boating">Boating</a></li> <li><a href="list.php?r=category/48-Camping">Camping</a></li> </font> </ul> </li> '; Notes: - "Featured Articles" is the Nav Tab Name - Leave the First "<li></li>" For Alignment - Anything Between the other "<li></li>" will be in the Drop Downs - YOU MAY duplicate this code in the same plug in for another Tab - You can use both Left and Right codes at the same time! If You Want Just a Main Tab With a Link Use this Code CLICK HERE Screen Shot! 2010-01-05_084133.gif DONT FORGET TO CLICK INSTALL __________________________________________________ ______________ Change Log v1.6 - 01/17/10 - vB 4.0.1 Temp Hook Call Fix - Patch: Change the Hook From "process_template_complete" to "parse_templates" v1.5 - 01/15/10 - Added the Middle Code (garretbyrne) v1.4 - 01/05/10 - Both Right and Left Sides (Zaiaku) v1.3 - 01/05/10 - Added Just A Nav Tab Option With A Link (Pozo) v1.2 - 01/05/10 - Corrected Works in all Browsers (linuxututs) - Patch: Change Both "DIV" tag to a "UL" tag v1.1 - 01/04/10 - Corrected sub Nav Links Hidden (MARCO1) - Patch : Delete the Code:
$vbulletin->options['selectednavtab']='tab_fa'; __________________________________________________ ______________ Here Are Some Other Versions: Main Nav Tabs Main Nav Tab w/ Connective Sub Nav [CMS] Sub Nav Tabs [CMS] Sub Nav Tabs Drop Down Show Your Support
|
Comments |
#22
|
|||
|
|||
![]()
I applied the corrected code for the Right Side Menu and it works fine now.
It was in fact the Div tag that was tossing it for me. I also have the "vBH - Add new tabs 1.1" enabled in addition to this and both work perectly ! I can plow through most code and figure out problems, but I am not so hot on which tags are used where all the time. Guess if I stared at it for more than 7 hours yesterday i might have figure it out... hahahaha THANKS FOR THE FIX, and thanks again ! |
#23
|
||||
|
||||
![]()
My pleasure ! I am Glad to Help!
![]() |
#24
|
|||
|
|||
![]()
Question - I'd like to use this for a simple dropdown, but it doesn't seem to translate VB variables. For example, I'm trying to create an LI like this one:
Quote:
|
#25
|
||||
|
||||
![]() Quote:
I suggest trying it and see if it works! Thanks! ![]() |
#26
|
|||
|
|||
![]()
Just to clarify, I did try it and it did not work. It did not translate the variable, it just listed the actual text "{vb:rawphrase user_control_panel}". Can you try it out on your site and see if it works for you? Would really appreciate it!!
|
#27
|
||||
|
||||
![]() |
#28
|
|||
|
|||
![]()
why there are icons on attach files?
|
#29
|
||||
|
||||
![]()
For Browser Compatibility on the Mod Post ! I wanted to put each icon next to the name but
they don't show ....i think ill take em out ! thanks haha |
#30
|
|||
|
|||
![]()
Hi NJAquaman, look it.. it's perfect for what I needed I just had a question, I'm using another theme and the drop down menu works perfect only now when I go down the list the button at the top the background colour is gone and the text is black is there any way to fix that?
I've attached an image to what I mean. Cheers |
#31
|
|||
|
|||
![]()
Works great. I removed the other tab hacks I used and removed the home/forum/what's new buttons and only use this. Does exactly what I need.
|
![]() |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|