Hi Lynne, I've read through a few of the posts here regarding having the forum tab highlighted along with the new tab. I added the tab fine, I'm using a UserCP tab, but the forum tab is highlighted when I click it.
Here's my plugin code
Code:
if (THIS_SCRIPT == 'UserCP') // also defined('UserCP') possible
{
//set selected tab
$vbulletin->options['selectednavtab'] = 'UserCP';
}
// add the "subtemplate" to the navbartemplate
$template_hook['navtab_end'] .= vB_Template::create('UserCP Nav Bar')->render();