Aggiungere icone nelle sezioni MyBB

Web Designer

Utente Attivo
17 Gen 2012
301
0
0
Procedimento:
Sostituire forumbit_depth2_forum con il codice che segue, ricordandoti di caricare (via ftp) le icone in images/forum_icons/ con l'ID del forum (ad es. f-111):

HTML:
<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']}" /></td>
<td class="{$bgcolor}" valign="top">
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
<tbody>
<tr>
<td class="" align="center" style="width:1px"><img src="images/forum_icons/f-{$forum['fid']}.png" alt="" /></td>
<td class="" valign="top">
{$forum['super_forum_img']}<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext"><div>{$forum['description']}</div>{$modlist}{$subforums}</div>
</td>
</tr>
</tbody>
</table>
</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>