PDA

View Full Version : Adding Image to Forum Description


joeycannoli
08-16-2011, 06:39 PM
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:

http://www.euroaddiction.net/help/banner.png

Are you can see the image is placed within the sponsor forum and not on the main forum page:

http://www.euroaddiction.net/help/forumdisplay.png

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

AustinP
08-17-2011, 12:55 AM
Wrap the image tag in a conditional that only uses the forum(s) you wish for the image to be displayed in

joeycannoli
08-17-2011, 12:37 PM
Do you happen to have an example of how to do that?

Much appreciated

Lynne
08-17-2011, 01:38 PM
$foruminfo['forumid'] show be a valid variable in that template. So, just do something like:
<vb:if condition="$foruminfo['forumid'] == x">
image to display in forum x
</vb:if>