The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
:cross-eyed:
e.g. I've got 3 forums 1.general 2.adult 3.gambling and want to insert specific advertising code under the navbar for each. Something like this should work: Code:
<if condition="$forum[forumid] == 1>general banner code <else /> <if condition="$forum[forumid] == 2>adult banner code <else /> <if condition="$forum[forumid] == 3>gambling banner code </if> but I'm not sure that $forum[forumid] is passed to newreply or individual threads e.g. if someone opens up a thread in the gambling forum will vb know what forum it's in automatically. Cheers Quote:
Code:
<if condition="in_array($forumid, array(1,2,5,6,7,9))"> <div align="center">hello general people!</div> <else /> <if condition="in_array($forumid, array(3,4))"> <div align="center">hello pervs!</div> <else /> <if condition="in_array($forumid, array(10,11))"> <div align="center">hello gamblers!</div> </if> </if> </if> To do: index.php/newpost.php etc |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|