The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Is there a way to display subforums on the forum home, for only specific forums?
I want the subforums displayed for one of my parent forums on the forum homepage, but I dont want a subforum displayed on a different parent forum. |
|
#2
|
||||
|
||||
|
use a conditional in templates
|
|
#3
|
||||
|
||||
|
Quote:
|
|
#4
|
||||
|
||||
|
NOT TESTED:
Code:
<if conditional="$forum['forumid'] == {insert forumid}">
<strong>$vbphrase[subforums]</strong>: $forum[subforums]
</if>
Code:
<if conditional="in_array($forum['forumid'], array({insert, mulitple, forumids})">
<strong>$vbphrase[subforums]</strong>: $forum[subforums]
</if>
|
|
#5
|
||||
|
||||
|
how about a not conditional? If forumid = 2, then do not display the subforms...
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|