RFID Talk
04-13-2007, 06:47 PM
Hi folks:
I believe this should be straightforward for experienced vBulletin hands, but I've been unable to figure it out.
We rotate banners from a number of advertisers across our forum at www.rfidtalk.com. But we have one forum in particular that has a fixed advertiser. To display just the banner from that advertiser, we need to use a different banner-display code snippet than the standard one. So, what I want to do is put in the header template a simple condition that will display the normal banner-display code snippet by default, or the fixed advertiser's code snippet otherwise. Like so:
If (forum = "Employment Forum") {
Display fixed-advertiser snippet
}
Else {
Display standard code
}
Any ideas?
Thanks!
Will
I believe this should be straightforward for experienced vBulletin hands, but I've been unable to figure it out.
We rotate banners from a number of advertisers across our forum at www.rfidtalk.com. But we have one forum in particular that has a fixed advertiser. To display just the banner from that advertiser, we need to use a different banner-display code snippet than the standard one. So, what I want to do is put in the header template a simple condition that will display the normal banner-display code snippet by default, or the fixed advertiser's code snippet otherwise. Like so:
If (forum = "Employment Forum") {
Display fixed-advertiser snippet
}
Else {
Display standard code
}
Any ideas?
Thanks!
Will