MyBB Community Forums

Full Version: Re-Add On/Off/Locked.png
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using the Portal2 theme for my website and have modified the graphics heavily. However, it would seem as though the guy who created the theme, has pretty much removed the forum icons. For whatever reason I can see, "on.gif," but it's the only one I can see and off.gif and locked.gif are all missing.

So I've made icons for them, but .png instead.

The problem is, figuring out what code to add and where. I'm a bit lost and would love some help. There is no key on the front of my website, which is perfectly fine. I just want the images to show next to the threads, appropriately.

Code for forumbit_depth2_forum
<tr>
<td class="{$bgcolor}" align="center" valign="middle" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" style="margin-left: -6px" /></td>
<td class="{$bgcolor}" valign="middle">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="trow3" valign="middle" align="left" style="white-space: nowrap"><div class="float_right" style="text-align: center; padding-right: 6px;"><span style="color: #9c9c9c; font-weight: bold; font-size: 15px; text-align: right;">{$threads}</span><br />threads {$unapproved['unapproved_threads']}</div><div class="float_left" style="text-align: center; padding-left: 6px;"><span style="color: #9c9c9c; font-weight: bold; font-size: 15px; text-align: right;">{$posts}</span><br />posts {$unapproved['unapproved_posts']}</div></td>
<td class="{$bgcolor}" valign="middle" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>

Thank you in advance!

My site: www.fancyhatbrigade.com
{$lightbulb['folder']}.gif
This represents on, off and offlock dynamically.
Oh perfect. Thanks so much! I just changed the extension to .png and it worked perfectly.