PDA

View Full Version : vB Ad Management


dholt
06-30-2009, 11:19 PM
I have a small problem my ad shows up in the left side of my forums but on the vBadvanced page it blows the left side out.

I read this that red tiger said and I wandering if someone could explain it to me and what I need to do.

I only want the ad on forumhome as that is were I added the code for the ad

You will have to ask at vBAdvanced, they will have a THIS_SCRIPT definition. In the advertisement templates you want to exclude from vBAdvanced, replace the template with the the following:

<if condition="THIS_SCRIPT == 'XGOESHERE'">
CURRENT TEMPLATE CONTENTS
</if>

and replace XGOESHERE with the THIS_SCRIPT definition they give you.

Brian
07-01-2009, 09:57 AM
Sounds like you'd need to use this to disable the ad.

<if condition="THIS_SCRIPT != 'adv_index'">
Ad code here
</if>