Quote:
Originally Posted by scottct1
How do I set this up so that in each forum there is a different zone shown?
Some of my forums are sponsored and in those forums I want only those ads shown, and in the unsponsored areas I want another zone shown.
|
You do this by either using banner keywords as shown in my fourth example or you set the zones explicitly with template conditionals like I have shown in my fifth example:
Code:
<if condition="$foruminfo['forumid']==123 OR $foruminfo['forumid']==456">
<ad what="zone:1" />
<else />
<ad what="zone:2" />
</if>
Another possibility is the use of phpAdsNew client-ids:
Code:
<if condition="$foruminfo['forumid']==123 OR $foruminfo['forumid']==456">
<ad clientid="1" />
<else />
<ad clientid="2" />
</if>
You can also mix client-id with keywords, zone names, etc. - see your phpAdsNew manual for info. The ad-tag works similiar to the
view_raw() function of phpAdsNew.