The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]()
What page should I be editing? The FORUMDISPLAY in the template?
--------------- Added [DATE]1234746303[/DATE] at [TIME]1234746303[/TIME] --------------- Code:
<!-- / forum rules & forum jump --> <if condition="$forum['24'] == X"><img src="http://x3o-gaming.com/themes/bluemarine/images/x3ologo.gif"> </if> $footer |
#12
|
|||
|
|||
![]() Quote:
Is there something wrong with above user's post in the ad code? |
#13
|
|||
|
|||
![]()
Yes there is something wrong with it: X is not a forum id.
Code:
<if condition="$forum['forumid'] == 24"> <img src="http://x3o-gaming.com/themes/bluemarine/images/x3ologo.gif"> </if> |
#14
|
|||
|
|||
![]()
I tried that exactly, and it did not work.
|
#15
|
|||
|
|||
![]()
The code is wrong (see my previous post). As far as what page to edit again, that depends on what page you want the ads on. You need to edit the page you want it for... it's really just that simple. Forumdisplay displays forum contents, showthread the thread page, etc...
|
#16
|
|||
|
|||
![]() |
#17
|
|||
|
|||
![]()
It didn't work is a broad statement... Are you sure you're looking at the right page in the right area in the right forum?
Try removing the condition and just adding the banner code to see if that appears at all so you know if the ad is the issue or the conditional. |
#18
|
|||
|
|||
![]() Quote:
When I just add it without the condition, on every threadsection it appears. So it is a problem with the condition somehow. |
#19
|
|||
|
|||
![]()
I found out the same thing.
|
#20
|
|||
|
|||
![]()
Whoops.
For the FORUMDISPLAY template you'll need to use the variable $foruminfo[forumid] instead of $forum[forumid] (different pages store it in a different variable). |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|