The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Quick banner question
Ok, I am going to try and be specific as possible so there's no confusion.
I have a bunch of different sections on my board. I'd like to have a different banner for each section when you click in it. Example would be a section named "Smackdown vs Raw 09"...I'd like to have a banner above the threads inside that section...NOT replacing anything, just adding it above the threads inside that specific section. I'd like to do it with each section eventually once I have done all the graphics, I am just unsure where the code is, and what I am supposed to put. Thanks!! |
#2
|
||||
|
||||
Have you searched for a solution? Because I know this question was asked very recently. You can just edit the forumdisplay template with conditionals:
Code:
<if condition="$forum['forumid'] == X"><img src="URL" border="0" alt="$forum[title_clean]" /></if> |
#3
|
|||
|
|||
Quote:
Also, can I put this anywhere in the template or does it need to be in a certain area? |
#4
|
||||
|
||||
Yes
Anywhere in that template. |
#5
|
|||
|
|||
Alright, I got that far now, my only dilema is that the banners appear in every forum....so I have like 16 banners to scroll through before I can get to my threads inside the forum.
I just need the one specific one made for each designated sectioin to be placed there |
#6
|
||||
|
||||
And the code you are using is?
|
#7
|
|||
|
|||
Code:
<if condition="$forum['forumid']=28"><img src="http://www.thewrestlingsanctuary.com/lowm.png" border="1" alt="$forum[title_clean]" /></if> |
#8
|
||||
|
||||
Code:
<if condition="$forum['forumid'] == 28"><img src="http://www.thewrestlingsanctuary.com/lowm.png" border="1" alt="$forum[title_clean]" /></if> Just add multiple instances of this code (one under another) to use multiple banners. |
#9
|
|||
|
|||
Code:
<if condition="$forum['forumid']=28"><img src="http://www.thewrestlingsanctuary.com/lowm.png" border="1" alt="$forum[title_clean]" /></if> |
#10
|
||||
|
||||
You posted the exact same thing as last time - no, the code you posted is wrong. Use the example I gave you in post #8 and just change the image path and "28". Do not change anything else.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|