For people trying to add a link on the navbar, here is a small help:
Log into your admin CP>
Plugins & Products>
Add new plugin>
Now..
Product: Leave vBulletin selected
Hook Location: Process_Templates_Complete
Title: E-Shop (or w.e you want)
Execution Order: Use this field to enter the order in which code at the same hook will be executed.
Plugin PHP Code:
Code:
$tabselected = '';
$tablinks = '';
if (THIS_SCRIPT == 'eshop')
{
$vbulletin->options['selectednavtab']='eshop';
$tabselected = ' class="selected"';
$tablinks = ' <ul class="floatcontainer">
<li><a href="link1.php">Link 1</a></li>
<li class="popupmenu">
<a href="javascript://" class="popupctrl">Drop Down</a>
<ul class="popupbody popuphover">
<li><a href="sublink1.php">SubLink 1</a></li>
<li><a href="sublink2.php">SubLink 2</a></li>
<li><a href="sublink3.php">SubLink 3</a></li>
</ul>
</li>
<li><a href="link2.php">Link 2</a></li>
<li><a href="link3.php">Link 3</a></li>
</ul> ';
}
$template_hook['navtab_end'] .= '<li'.$tabselected.'><a class="navtab" href="http://www.YOURFORUMURL.com/cartplog.php" target="">THE LINK TITLE FOR YOUR SHOP</a>'.$tablinks.'</li>' ;
Edit at the code end:
<a class="navtab" href="http://www.
YOURFORUMURL.com/cartplog.php" target="">
THE LINK TITLE FOR YOUR SHOP</a>'.$tablinks.'</li>' ;[/CODE]
mark it as
ACTIVE, save, and done.
(Sorry if the code is too messy, i took it from google, thanks)