Back to vBulletin 3.6 Template Modifications

Show sub-Forums only for certain forums
Mod Version: 1.00, by imported_infitech

This modification is in the archives.
vB Version: 3.6.3 Rating: (1 vote - 5.00 average) Installs: 10
Released: 22 Nov 2006 Last Update: Never Downloads: 5
Not Supported Template Edits  

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">
and replace it with
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/

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024