Log in

View Full Version : Remove banners in specific forums, or one specific forum


BeasTboyz
10-16-2005, 06:59 PM
Hi, I'd like to remove a banner from one specific forum on my forums. I just want it to not display there as this sponsor would not like to sponsor it. Can anyone help me out here or point me in the right direction?

Cornolio
10-16-2005, 07:21 PM
i use

<if condition="$GLOBALS[forumid] == 1">banner code</if>

<if condition="in_array($GLOBALS[forumid], array(1,2,3))">

other useful codes

<if condition="THIS_SCRIPT == index ">
<-banner-> </if>
(to display the banner only in the homepage)

or THIS_SCRIPT != index (to display the banner everything but in the homepage)

BeasTboyz
10-16-2005, 08:30 PM
I wonder if there is one where I can make it goto a certain line, that way I could say in essence, if this is the forum they don't want to sponsor, skip the banner code. I have too many other areas of my site to work with your if condition statement. gallery, local links & downloads, vbadvanced, etc. Thanks for the quick reply and great idea though!

Matt