How to create subforums with individual themes?
I'm looking for to build a forum with several subforums (personalized themes for each one). The idea is to have the users to be able to use all of these subforums with single account.
It seems that Vanilla Forums doesn't support this sort of subforum functionality out of the box but I figured that I could achieve something like this with parent categories, having one parent category as a subforum. Idea would be to differentiate these different parent categories with unique body classes which would be used for creating the separate themes.
I could create a custom smarty function to retrieve the subforum's css class when you are browsing it's categories/sub categories and have that as the unique body class identifier to create the theme but is there are better way to achieve this?
So my question has two parts:
1. What would be the best way to create such subforum installation? Does it make sense have parent categories to act as subforums or is there some other way to do this?
2. What is the simplest way to add category ancestor (top level) css class for every other category/subcategory/discussions page under it? As I'm new with Vanilla forums I wasn't able to get the current pages category id to be used inside the smarty function.