NJAquaman
01-04-2010, 10:00 PM
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:
$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:
$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:
$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!
109193
DONT FORGET TO CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=232254)
__________________________________________________ ______________
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) (https://vborg.vbsupport.ru/showpost.php?p=1954983&postcount=35)
v1.2 - 01.05/10
- Both Right and Left Sides (Zaiaku) (https://vborg.vbsupport.ru/showpost.php?p=1948060&postcount=10)
v1.1 - 01/05/10
- Added Just A Nav Tab Option With A Link (Pozo) (https://vborg.vbsupport.ru/showpost.php?p=1947802&postcount=17)
__________________________________________
Here Are Some Other Versions:
Main Nav Tab Drop Down (https://vborg.vbsupport.ru/showthread.php?t=232134)
Main Nav Tab w/ Connective Sub Nav (https://vborg.vbsupport.ru/showthread.php?p=1974720)
[CMS] Sub Nav Tabs (https://vborg.vbsupport.ru/showthread.php?t=232265)
[CMS] Sub Nav Tabs Drop Down (https://vborg.vbsupport.ru/showthread.php?t=232268)
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:
$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:
$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:
$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!
109193
DONT FORGET TO CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=232254)
__________________________________________________ ______________
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) (https://vborg.vbsupport.ru/showpost.php?p=1954983&postcount=35)
v1.2 - 01.05/10
- Both Right and Left Sides (Zaiaku) (https://vborg.vbsupport.ru/showpost.php?p=1948060&postcount=10)
v1.1 - 01/05/10
- Added Just A Nav Tab Option With A Link (Pozo) (https://vborg.vbsupport.ru/showpost.php?p=1947802&postcount=17)
__________________________________________
Here Are Some Other Versions:
Main Nav Tab Drop Down (https://vborg.vbsupport.ru/showthread.php?t=232134)
Main Nav Tab w/ Connective Sub Nav (https://vborg.vbsupport.ru/showthread.php?p=1974720)
[CMS] Sub Nav Tabs (https://vborg.vbsupport.ru/showthread.php?t=232265)
[CMS] Sub Nav Tabs Drop Down (https://vborg.vbsupport.ru/showthread.php?t=232268)