MyBB Community Forums

Full Version: gettin error for forum icon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi
While i doing some change for forum icon, i got some problems so then i roll back all work and when i restore all now getting this error. Please have a look and tell me what i have to do now?
[Image: 35mo9om.jpg]
regards
You didn't edited the forumbit_depth2_forum template correctly.
Quote:You didn't edited the forumbit_depth2_forum template correctly.
i didnot edit it i just copy paste old coding to this and save it to become normal display. with default icon.
That's what I'm saying. You didn't edited the templates correctly. On the page source, it shows;
<img src="images/nesil/forumicons/on"
In the tutorial: Did I said to use this format??
Your images are not uploaded properly,
see the missing image url

http://www.pakistaniface.com/images/nesi...micons/off

it must have .gif at the end of url

in this its missing "off.gif"
how can i do this please?
Mean how can i add .gif at the end?
PM me your ACP logins so I could edit it for you.
Just go to same template , and add .gif at the end of image url
could you please tell me here? because i want that everyone else if need will take help from here.
here is my template code tell me where i add. i have modify these 2 templates
forumbit_depth1_cat
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />

forumbit_depth2_forum

<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/forumicons/{$lightbulb['folder']}" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
Go to: ACP > Templates > Your theme's templates > Forumbit templates > forumbit_depth2_forum and find;
<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> 

Add a .gif at the end of of img tag
Pages: 1 2