MyBB Community Forums

Full Version: How to add logo at top of a single forum?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi MyBB community, how can I add a logo at the top of a single forum, like this:

[Image: 10po70g.png]

The placement can be left, center, or middle -- I just need a logo at the top of a specific forum.
you can add image code on forumdisplay_threadlist template like below

<div class="fimage"><img src="{$fid}.jpg" alt=" " /></div>


and add images for all forums to forum root folder ( eg. 1.jpg , 2.jpg , ... )

you may also add required style for class fimage in global.css

see this to get forum IDs
Thanks ranjani. Unfortunately, that code will display an error in some browsers if there is no associated image for that forum. In my case, I only wish to add an image to some forums (only 1 at this time). What do you suggest?
you can use template conditionals plugin AND code similar to below

<if {$fid} == X then>
<div class="fimage"><img src="path" alt=" " /></div>
</if>
Thank you!!! I will give this a try later today and report back.
:forgot: X is actual forum id ( that is a number ; eg. 1 OR 2 ) ; see also getting forum ID