The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hello,
I was wondering if it was possible to add an IF statement into the ad_navbar_below ad location template so that it shows different ads on different pages. For example, I want my Google adsense text ad code on all pages except the arcade.php page. On this page I wish to display a different ad type. So could there be an IF statement in the template saying: IF page = arcade.php //image ad code here Else //text ad code here I hope you understand what I mean. Any help would be great! Thank you.
|
|
#2
|
||||
|
||||
|
You can try:
HTML Code:
<if condition="THIS_SCRIPT == 'whatever'"> stuff on whatever page <else /> stuff on all other pages </if> |
|
#3
|
|||
|
|||
|
Quote:
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|