![]() |
if condition="THIS_SCRIPT
Hello,
I use vBulletin 3.8.x and vBadvanced, so I have this little problem. I have insert some banner Adsense in the template "navbar" only for guest, and I see it also in my Portal. I am finding a variable to show it only in my forum, forumhome and showthread and not in Portal/Home also if they are include in navbar. What variable can I use? I am trying this variabile but perhaps is is wrong: <if condition="THIS_SCRIPT != 'showthread"> ? Thank you |
Code:
<if condition="THIS_SCRIPT != 'showthread">Code:
<if condition="THIS_SCRIPT == 'index' OR THIS_SCRIPT == 'forumdisplay' OR THIS_SCRIPT == 'showthread'"> |
To trim Lynne's 2nd example a bit...
Code:
<if condition="in_array(THIS_SCRIPT, array('index', 'forumdisplay', 'showthread'))"> |
| All times are GMT +8. The time now is 10:37 PM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.