![]() |
Conditionals
I want to display an ad on the showthread.php page but show a different ad depending on what forums the user is browsing.
PHP Code:
thanks |
Something like... ?
HTML Code:
<vb:if condition="$threadinfo['forumid'] == 1"> |
Awesome!
Now, what if I want to do the same but this time to certain forum groups? I tried: PHP Code:
|
How exactly didn't it work? Just saying "it didn't work" tells us nothing.
|
Thank you, Lynne!
As you can see, I forgot the slash "/" in the <vb:elseif tag. Working great now (: |
Ah yes, that / is very important! :)
|
All times are GMT. The time now is 12:53 AM. |
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:
|