This has been an interesting exercise. Apart from the other issues I find that the submenu containing
New Posts, Private Messages, FAQ, Calendar, Community, Forum Actions and Quick Links no longer actually contains those links. So I ripped this thing out and using the Plugin/Product manager in the AdminCP I created my own Tab using this code snippet (see below)and 'Process_Templates_Complete' hook location.
Quote:
$tabselected = '';
$tablinks = '';
if (THIS_SCRIPT == 'archives')
{
$vbulletin->options['selectednavtab']='archives';
$tabselected = ' class="selected"';
}
$template_hook['navtab_middle'] .= '<li'.$tabselected.'><a class="navtab" href="archives.php?f=14">Archives</a>'.$tablinks.'</li>' ;
|
It was pretty easy actually and now I've created my first plugin. I'm quite pleased with myself for figuring it out. Now I'll figure out how to solve the issue of the missing sub menu also.
I used Lynnes article on creating the Navbar Tab with submenus (dropping the submenu stuff) and the Vbulletin documentation on creating plugins. Try it, it's really very easy to do your own!