Quote:
Originally Posted by Iain M
Check what THIS_SCRIPT is defined as on each of the pages you don't want your ads to show on.
PHP Code:
define('THIS_SCRIPT', 'XXX');
Should be near the top of the file.
Then
Code:
<vb:if condition="THIS_SCRIPT != 'XXX'">Ad</vb:if>
should work.
|
This is very helpful post
Now it is working
Thank you very much Iain, you are the best ^_^
This is the result:
Code:
<vb:if condition="THIS_SCRIPT!='member'">
<vb:if condition="THIS_SCRIPT!='downloads2'">
<vb:if condition="THIS_SCRIPT!='gallery_index'">
<vb:if condition="THIS_SCRIPT!='mc_classifieds'">
ADS
</vb:if></vb:if></vb:if></vb:if>
Last question, How can I make it in one <if condition> using '&&' or '||' ?
Thanks dear