Quote:
Originally Posted by kushal
I want to introduce two condition to my ads appearing. To appear only to 'Guests', and to prevent it for appearing for 'Register' script.
Is this the way to put it?
Code:
<if condition="THIS_SCRIPT != 'register'">
<vb:if condition="$show['guest']">
<ads>
</vb:if></vb:if>
|
Hello kushal, you're nearly there, something like this would be better:
Code:
<vb:if condition="THIS_SCRIPT != 'register' AND $show['guest']">
<!-- your ads :) -->
</vb:if>
Although I'm a little rusty so I hope I haven't made any mistakes

.