MyBB Community Forums

Full Version: on /off /offlock gif to png?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys i need your help.

First of all i am making a theme and i would like to change those on/off/offlock icons to png.

If i change the directory of the legend they work but when i go to depth2forum to change those icons ,i just can't make it work.

<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>


My icons name is exactly the name as the gif but instead of gif is png.

However i got issue and with the subforum if i go forumbit_subforums to change the subforum icon :
<br />{$lang->subforums} {$sub_forums}

i just can't get it how to change it.
In forumbit_depth2_forum, forumbit_depth2_cat & forumbit_depth3_statusicon templates change .gif to .png and save. Then make sure that correctly named .png images are uploaded inside your theme directory.