Log in

View Full Version : Create extra "Forum" tab


michaelbang
04-08-2012, 06:40 PM
Hi,

I would like to create an extra "Forum" tab. The reason why is that I want to devide my site into two forum.

Is that even possible?

Thanks,

//Michael

SEOvB
04-09-2012, 09:13 PM
Yes, it's possible, but more difficult than you might think. This is due to the main "Forum" tab's subnavigation being displayed when the tab is selected.

First, you'd have to arrange your forum structure so that there are two top-level forums containing all other child forums.

Second, you'd have to make a clone of the first li in the navtabs ul of the navbar template. Then you'd have to change the links immediately inside of both li's from {vb:link forumhome} to the links of your two forums.

Third, you'd have to code a plugin so that your website can distinguish which tab should have the 'selected' status, which is usually done via THIS_SCRIPT, then edit the template accordingly.

Fourth, you'd have to debug the myriad problems that most likely arise from these changes.

I'm not aware of any mods that could do this in one step. Hopefully, someone will chime in with a link and save you all of this trouble.

-Nick, SEOvB Developer

michaelbang
04-16-2012, 08:22 PM
Yes, it's possible, but more difficult than you might think. This is due to the main "Forum" tab's subnavigation being displayed when the tab is selected.

First, you'd have to arrange your forum structure so that there are two top-level forums containing all other child forums.

Second, you'd have to make a clone of the first li in the navtabs ul of the navbar template. Then you'd have to change the links immediately inside of both li's from {vb:link forumhome} to the links of your two forums.

Third, you'd have to code a plugin so that your website can distinguish which tab should have the 'selected' status, which is usually done via THIS_SCRIPT, then edit the template accordingly.

Fourth, you'd have to debug the myriad problems that most likely arise from these changes.

I'm not aware of any mods that could do this in one step. Hopefully, someone will chime in with a link and save you all of this trouble.

-Nick, SEOvB Developer

That's it!? ;)

Well, for now I have to pass. That's just too much for me (not being a programmer). But thank you very much for the input! :)