The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
If condition to show Certain forums in forumhome
Hi,
How can i show just certain forums in forumhome ( just hide ) but other forums can be accessed by link like vbulletin.org . |
#2
|
||||
|
||||
You could edit the following templates:
forumhome_forumbit_level1_post forumhome_forumbit_level1_nopost forumhome_forumbit_level2_post forumhome_forumbit_level2_nopost Surround each entire template in a conditional: Code:
<if condition="in_array($forum[forumid], array(3, 4, 5, 6))"> original code here </if> All other forums will not display on forumhome but will work if you link to them some other way. |
#3
|
|||
|
|||
Thank you very much .
Can you give me vb4 codes? |
#4
|
||||
|
||||
VB4:
Code:
<vb:if condition="in_array($forum[forumid], array(3, 4, 5, 6))"> original code here </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|