Any infos about doing the same with sectionid instead of forumid ?
I don't think there is a $vbulletin->GPC['sectionid'] to use, but the idea is to do something like this :
PHP Code:
if($vbulletin->GPC['sectionid'] == 114)
{
$vbulletin->options['selectednavtab'] = 'SECTIONONE';
}
elseif ($vbulletin->GPC['sectionid'] == 115)
{
$vbulletin->options['selectednavtab'] = 'SECTIONTWO';
}
...etc.