The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding Image to Forum Description
Hey guys,
Need some help in the right direction here. I am trying to add vendor banners to the forum in which they are sponsoring on my website. I am looking to have the image placed beside the forum description within their sponsored forum, But NOT on the Forumdisplay (main forum page). Here is a picture of what i am trying to replicate: Are you can see the image is placed within the sponsor forum and not on the main forum page: I went into forum manager and added code to add the image, but it shows up on both which is not what i am looking for. Is this done with coding or is there a modification out there to handle what im looking to do? I am on vB4.1.5 TIA |
#2
|
|||
|
|||
Wrap the image tag in a conditional that only uses the forum(s) you wish for the image to be displayed in
|
#3
|
|||
|
|||
Do you happen to have an example of how to do that?
Much appreciated |
#4
|
||||
|
||||
$foruminfo['forumid'] show be a valid variable in that template. So, just do something like:
HTML Code:
<vb:if condition="$foruminfo['forumid'] == x"> image to display in forum x </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|