MyBB Community Forums

Full Version: Custom Forum Icon Individual
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm wanting to make it so that each one of my forums / sub-forums have a custom icon designated to them.

I'm using this code:

<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="images/ficons/{$forum['fid']}.png" alt="" title=""  style="width:50px;height:50px" class="" id="" /></td>

But it doesn't matter what icon I set, it won't change or apply it to any others as shown below.

[Image: 5Cx2gpq.png]

[Image: zta2Nl8.png]

Please could someone help me, I'm new to all this MyBB stuff.
Is your directory ficons/ readable ? Can you display your 2.png icon with its url ?
The modification you made in your template (forumbit_depth2_forum) is ok, so the trouble may come from rights.
(2020-01-10, 12:08 PM)Crazycat Wrote: [ -> ]Is your directory ficons/ readable ? Can you display your 2.png icon with its url ?
The modification you made in your template (forumbit_depth2_forum) is ok, so the trouble may come from rights.

Hi, thanks.

It was to do with it not correctly grabbing the IDs, updated this now and it works fine.

Thanks!