Main Category <??
Sub Category < level1_nopost
Sub Category <- level2_post or nopost, depending on if you have the subcategory as postable.
All Postable Forums < level3_post
Each category template that needs to have the expand contract icons by adding $expandcontract, also the standard level2 modifications need to be made.
As an example a complete level2_nopost template would look like.
PHP Code:
<tr class="cat" id="f$forum[parentid]z$z" $fhomeexpandstyle>
<td bgcolor="{categorybackcolor}"><smallfont> </smallfont></td>
<td bgcolor="{categorybackcolor}" colspan="5">
$expandcontract
<a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
</tr>
The complete level3_post template would then look like.
PHP Code:
tr id="f$forum[parentid]z$z" $fhomeexpandstyle align="center">
<td bgcolor="{secondaltcolor}" valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
<td bgcolor="{firstaltcolor}" align="left"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
<br><smallfont>$forum[description]</smallfont></td>
<td bgcolor="{secondaltcolor}"><normalfont>$forum[replycount]</normalfont></td>
<td bgcolor="{firstaltcolor}"><normalfont>$forum[threadcount]</normalfont></td>
<td bgcolor="{secondaltcolor}"><smallfont>$forum[lastpostinfo]</smallfont></td>
<td bgcolor="{firstaltcolor}"><smallfont>$forum[moderators]</smallfont></td>
</tr>
Extra templates are added by clicking "add template" inside the admincp. Custom templates are always placed at the top of the templates list under "custom templates".
This hack in no way alters vB behavour in that area.