MyBB Community Forums

Full Version: Hide sub-forums for only one forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi

I like to know, is there any way that we can hide the sub-forums for just one of the forums in the index page. for ex. here in this site the last forum is the "Archived forums" which has two sub forums. I want to hide those two sub-forums alone. rest of the index should remain as it is. it should be hidden only on the index. but at the same time the sub-forums shall be accessible by opening the parent forum.
Use Template Conditionals: http://mybbhacks.zingaburga.com/showthread.php?tid=464

Activate and in forumbit_depth2_forum replace {$subforums} with:
<if $forum['fid'] != 6 then>{$subforums}</if>
Change 6 to ID of the forum which should have its subforums hidden.
thanks for the quick reply... seems to be a good solution... Smile