PDA

View Full Version : Need to change out banner and put in code on all pages - how?



FlyBoy73
Mon 11th Aug '03, 1:16am
I am sure this has been covered many many times here and at vb.org but I can't dig it up for some reason.

I usually don't do any of my own work (contract it out) but I need to get rid of the banner located on all my forum and gallery (gallery temp down) pages and enter some banner rotation code so I can rotate banners instead of having this one banner.

The banner is at the top of the forums here:
http://www.pwcracer.com/forums

It is the "Jetskimechanic" banner.

Where do I go in the templates to remove this and add the new code so it is site wide?

Thanks!
David

Zachery
Mon 11th Aug '03, 10:00am
try taking a look at FORUMHOME or NAVBAR

FlyBoy73
Fri 21st Nov '03, 1:02am
Forum home has options for each individual forum?

FlyBoy73
Fri 21st Nov '03, 1:05am
Please post complete directions if you have them.. I'm not that well versed! ;)

Thanks!
David

Zachery
Fri 21st Nov '03, 1:33am
if you want to add that so it will appear on EVERY page, add the code to the NAVBAR template, either top or bottom, of the HEADER template, at the very bottom of it :)

sorry i wasnt more clear before

FlyBoy73
Fri 21st Nov '03, 3:17am
I want it to be in specific forum pages.. I already have it listed at the top of every forum and page, but I need to target it.. For example.. The State of Texas forum... If I get an attorney that wants to advertise only in the State of Texas forum (and we have all 50 states), I need to have dedicated advertising code in that forum, and that forum alone..

You may be talking about this already.. Just wanted to be clear..

Here's the forums I am talking about.. You will be able to see there is a rotation running.. But again, it is site wide only.. I can't pick what advertising banner goes in what forum, and that is what I need.

www.PrisonTalk.com/forums (http://www.PrisonTalk.com/forums)

Thanks,
David

Zachery
Fri 21st Nov '03, 3:24am
that would require a rather large ammount of conditonal programming :)

FlyBoy73
Fri 21st Nov '03, 3:43am
If that is something that must be done, then we will have to do it.. I know the forums at www.RCUniverse.com (http://www.RCUniverse.com) used to do this when they were running vBulletin. (THey moved for some reason - think they had something custom designed?) Anyways.. Do you know how to do that, or where to place the code?

Zachery
Fri 21st Nov '03, 3:45am
it most likly be placed in the navbar or header

and youd need to use a very large ammount of if statments one for each ahd youd like to show in each forum

<if condition="$fourmid == X">show ad for forum X </if>
<if condition="$fourmid == Y">show ad for forum Y </if>
<if condition="$fourmid == Z">show ad for forum Z </if>

so on and so forth :)