![]() |
Show sub-Forums only for certain forums
Really small conditional that im sure anyone that knows anything about VBulletin's conditionals can figure out on their own, but I figured other members might want to know how to do this....
If you want to display the list of sub-forums only for some forum ids... Be sure that sub-forums are enabled in AdminCP>Forum listing>Depth of sub-forums set to at least 1 in forumhome_forumbit_level2_post look for Code:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"> Code:
<if condition="$show['subforums'] AND in_array($forum['forumid'], array(x))"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"> DEMO http://www.ny-dev.com/forums/ |
very nice been looking for something like this for ages!!!
|
Nice I also been looking for something like this.. Installed
|
I did everything, but the sub-forums still dont display on the forum index.
|
All times are GMT. The time now is 10:11 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|