![]() |
Quote:
Code:
zone:<if condition="$foruminfo['forumid'] == FORUMID">ZONENUMBER<else />3</if> Code:
zone:<if condition="$foruminfo['forumid'] == FORUMID">ZONENUMBER<else /><if condition="$foruminfo['forumid'] == FORUMID2">ZONENUMBER2<else />3</if></if> |
Thanks, Dismounted, but this doesn't seem to work; all it seems to do is remove the ad from all the forums instead of allowing me to deliver a specific ad to a specific forum.
I must be doing something wrong, but I don't know what it is. And tobybird: I'm not trying to do contextual advertising. It's more straightforward than that; what I want to do is have the ads vary by forum. For example, if there's a "gardening" forum, I want to have a specific gardening ad there. If there's a "cooking" forum, the ad would be different. Or maybe have I'd have all the forums with the same ad, except for one. HELP!!!!! |
You need to create multiple zones and replace the capitalised words in the code I gave you.
|
Let me try to restate my problem, so that I can take advantage of the help you're trying to give me!
All of my forums draw from the same template. There are a dozen different forums, to each of which I would like to deliver a specific banner. The Cooking forum gets a Cooking ad. The Ratkilling forum gets a Ratkilling ad. And so on. Right now, I can only deliver the same ad (or range of ads) to all forums. Which is fine if I have an advertiser who sells both Cooking and Ratkilling equipment. How can I specify which goes where? |
You need to setup multiple zones to match the forums and use the code I gave you to assign a different zone to each forum.
|
Sorry to be so dense about this (you're being so helpful), but I must be doing something wrong. I established another zone and put the invocation code for it in the forumdisplay template, below the code for the first zone. Then I changed the invocation code in the first zone, as you suggested, and all that happens is I get the same ad going to all forums (the one I wanted to target to a specific forums). Maybe you could take a look and let me know what I'm doing wrong? I'd appreciate the help:
Quote:
Edited a little bit later: I changed the code to the following: zone:<if condition="$foruminfo['forumid'] == 11">7<else />3</if> and now I'm getting both ads (side by side) in all forums. I only want the ad that's linked to zone 7 in one of the forums (in this case, id:11). The rest of the forums get the ad that's linked to zone 3 Any ideas? |
Code:
<script language='JavaScript' type='text/javascript' src='http://www.XXXXXXX.com/openads/adx.js'></script> |
Sorry to say this didn't work, either.
Any other ideas? I really need some help! |
What happens?
|
I get both ads side by side in all the forums, rather than one ad in all forums exccept one where it'd be replaced by the other ad.
|
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|