PDA

View Full Version : vB 4.2 Navigation Manager


pxd
09-18-2012, 08:20 PM
Navigation Manager. This is a really nice addition to vBulletin.

I was wondering if it's at all possible to create a tab to link it to a certain forum (say forumdisplay.php?f=10) and make it remain selected when clicked. I know it will be selected if I enter "forumdisplay" in the "Tab Script(s)" field, however that won't work as it will do that on all forumdisplay.php pages, and I only want that for a particular forum.

Is this possible? There might be a way to achieve this through "set_navigation_tab" hook but I could not find any detailed documentation about this.

Please advise, thanks.

Lynne
09-19-2012, 01:07 AM
Yes, it is possible with a plugin which has been posted in the long thread about making tabs stay selected.

pxd
09-19-2012, 01:42 PM
Thanks, Lynne, I found that thread, and the line that helped me solve my issue: if (in_array($GLOBALS['forumid'], array(2,15))) $root = 'tab_nzg3_214';