The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Text/Banner Ads only in specific categories
I've been looking through the Mods section of the website, which i've downloaded and installed a good amount.. awesome stuff. But I haven't found something that would be very useful for one of my vbulletin forums.
What i'm looking for is a way to setup TEXT/Banner Ads in specific forums only. I run an Informational City Website that is setup as each state is a category. I want to add in "City Websites" that I have created right under the navigation bar. So North Carolina would have links to: Raleigh, Cary, Chapel Hill California: San Diego, Los Angeles Texas: Houston, Dallas, San Antonio etc... Could someone help me out and assist me on what I need to do, to create this? I have limited php skills... |
#2
|
|||
|
|||
<if condition="$forum[forumid] != X"></if>
|
#3
|
|||
|
|||
X would be the Banner/Text Ad correct? As in
<if condition="$forum[1094] != This is the relocation add for 1094"></if> <if condition="$forum[1095] != This is the relocation add for 1095"></if> correct? |
#4
|
|||
|
|||
nop,
<if condition="$forum[forumid] != 1094">This is the add for 1094</if> |
#5
|
|||
|
|||
Ah.... I see now.. awesome....
Where do you suggest that I put this so it will be right under the navbar? |
#6
|
|||
|
|||
Do a template search on navbar and then do some testing
|
#7
|
|||
|
|||
Code:
<CENTER> <if condition="!$show[member]">MESSAGE FOR GUESTS ONLY</if> </CENTER> <CENTER> <if condition="$forum[forumid] != 63"> <div style="padding:1em; text-align: center;"> <B><I>Testing; please ignore</I></B> </div> </if> </CENTER> |
#8
|
|||
|
|||
hehe, sorry dude By bad :P this is the code!
<CENTER> <if condition="$forum[forumid] == 63"> <div style="padding:1em; text-align: center;"> <B><I>Testing; please ignore</I></B> </div> </if> </CENTER> |
#9
|
|||
|
|||
I added in the code, but the strange thing now is it won't show up at all... even in the forum 63
http://www.website.com/forum/forumdisplay.php?f=63 |
#10
|
|||
|
|||
If u use the first code i posted it will display in every forum expat the one specified , if u use the other one it will only show up in the one you specified.
//Robin |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|