Quote:
Originally Posted by MrEyes
A really nasty hack to resolve another of the quirks:
To do this you need to add an additional option to ACP - Settings - Article Forum Options, where you specify a comma delimited list of all forum ids that are articles forums (i.e. 7,11,15). Call this af_allarticleforums
Then change the Easy Forms - Forms Tab (Process Templates Complete) hook code to read:
Code:
if ($vbulletin->options['af_navbar'])
{
if (THIS_SCRIPT == 'articles')
{
$vbulletin->options['selectednavtab'] = 'articles';
}
else if (($vbulletin->GPC['forumid']) && (in_array($vbulletin->GPC['forumid'], explode(',', $vbulletin->options['af_allarticleforums']))))
{
$vbulletin->options['selectednavtab'] = 'articles';
}
$templater = vB_Template::create('af_navbar');
$template_hook['navtab_middle'] .= $templater->render();
}
A very nasty hacky way of doing it, but I am trying to avoid rewriting the core of the mod
|
How to set up that option in the admincp?