Back to vBulletin 4.x Add-ons

NJAquaman - Main Nav Tabs
Mod Version: 1.4, by NJAquaman

vB Version: 4.0.x Rating: (4 votes - 4.50 average) Installs: 32
Released: 05 Jan 2010 Last Update: Never Downloads: 0
Not Supported Uses Plugins Re-usable Code Translations  

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>
';
For Tabs in the Middle Use This Code:
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>
';
For Tabs On the Left Side Use This Code:
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>
';
4) Save , Now you Have a Nav Tab!

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!




________________________________________________________________
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)

Spoiler (click to open)


If you want tabs before the What's New.. add in the following..

$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>
';

Close


v1.2 - 01.05/10
- Both Right and Left Sides (Zaiaku)

Spoiler (click to open)


Quote by NJAquaman
The Right Side ! Do you Need The left Side?

Thanks
Would be nice to be able to do this on both sides.

Close


v1.1 - 01/05/10
- Added Just A Nav Tab Option With A Link (Pozo)

Spoiler (click to open)


How can I add non-popup tabs ??
So I could replace the "vBH - Add new tabs 1.1" completely
Thanks in advance!

Close

__________________________________________


Here Are Some Other Versions:

Main Nav Tab Drop Down
http://www.vbulletin.org/forum/showthread.php?p=1974720
[CMS] Sub Nav Tabs
[CMS] Sub Nav Tabs Drop Down

Download

No files for download.

Screenshots

Similar Mods

New Posting Features NJAquaman - New Post Count! vBulletin 3.8 Add-ons
Miscellaneous Hacks NJAquaman - Notices THIS_SCRIPT Criteria vBulletin 4.x Add-ons
Add-On Releases NJAquaman - Main Nav Tab Drop Down vBulletin 4.x Add-ons
Forum Home Enhancements Flipped tabs = Swivel tabs = INVERTED TABS vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024