Quantcast
Channel: MyBB Community Forums - Tutorials
Viewing all articles
Browse latest Browse all 690

How to replace forum on/off images with different custom images

$
0
0
I found many tutorials on "how to add custom forum images to your forum" and "how to remove on/off forum images completely".

But actually u can just replace on/off images with your own custom images.

u can add unique images to the forum.

So here is the simple method to do this:

Go to: ACP > Templates > Your theme's templates > Forumbit templates > forumbit_depth2_forum and find:-
PHP Code:
<td class="{$bgcolor}align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}
title="{$lightbulb['altonoff']}class="ajax_mark_read" id="mark_read_{$forum['fid']}/></td

And replace it with the below codes:-


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

Save the template.

Now Create a folder "ficons" in the image folder and add images there which you want to use as your custom forum images.

Note: Only add images with .png format. if your forum id=1 then your image should be "1.png". Name the image with the respective forum id.

Apology If this topic was posted before, i am really sorry Toungue


Have fun ShyBig GrinBig GrinBig Grin

Viewing all articles
Browse latest Browse all 690

Trending Articles