![]() |
Using conditionals to control banners based on forum
: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 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))"> To do: index.php/newpost.php etc |
All times are GMT. The time now is 07:43 PM. |
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:
|