Custom Forum Icons ~ A Unique icon for Each Forum
#22
(2011-06-30, 05:47 PM)hari555 Wrote: ACP > Templates > Your theme's templates > Forumbit templates > 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']}" /></td>
<td class="trow_h" 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="trow_h" valign="middle" align="right" style="white-space: nowrap">

<span class="lastpost">{$lastpost}</span>


<div class="test"><span style="float: left;">{$lang->forumbit_threads}:</span>{$threads}{$unapproved['unapproved_threads']}</div>
<div></div>
<div class="test"><span style="float: left;">{$lang->forumbit_posts}:</span>{$posts}{$unapproved['unapproved_posts']}</div>



</td>
</span>
</span>
</td>
</tr>

In that template, Replace all code with the following;
<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}" align="center" valign="top" width="1"><img src="images/ficons/{$forum['fid']}.png" alt="" title="" class="" id="" /></td>
<td class="trow_h" 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="trow_h" valign="middle" align="right" style="white-space: nowrap">
<span class="lastpost">{$lastpost}</span>
<div class="test"><span style="float: left;">{$lang->forumbit_threads}:</span>{$threads}{$unapproved['unapproved_threads']}</div>
<div></div>
<div class="test"><span style="float: left;">{$lang->forumbit_posts}:</span>{$posts}{$unapproved['unapproved_posts']}</div>
</td>
</span>
</span>
</td>
</tr>

Make edits in " forumbit_depth1_cat" and "forumdisplay_subforums" templates as explained in that thread. Upload images in ./images/ficons/ folder keeping in consideration the points written in: http://community.mybb.com/thread-92128.html e.g. these;

(2011-04-13, 12:23 PM)Yaldaram Wrote: NOTE: Image's name should be same to the Forum ID. For example if your Forum ID (where these Icons are going to show) is 2 then you'll have to rename the Icon as 2.png and upload it to images/ficons/ folder. Do the same with rest of the Icons.
Reply


Messages In This Thread
RE: Custom Forum Icons ~ A Unique icon for Each Forum - by Yaldaram - 2011-06-30, 07:46 PM
RE: Custom Forum Icons ~ A Unique icon for Each Forum - by MikeInToshx - 2015-05-22, 09:13 PM
RE: Custom Forum Icons ~ A Unique icon for Each Forum - by MikeInToshx - 2015-05-25, 10:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)