06-01-2015 Saat: 10:02
(Son Düzenleme: 06-01-2015 Saat: 21:16, Düzenleyen: kaRanLık-61.)
I'm going to show you how to completely remove on/off iconss from your forum.
We're going to being using the default mybb for the example, but if you're using an already made theme the steps should be the same unless they already modified the forumbit in same way.
How to remove on/off iconss
Step 1) Go into Admin CP > Templates & Style > Templates > Your Template Set > Forum Bit Templates > forumbit_depth1_cat.
You want to find the following code;
Change it to the following;
Step 2) Go into Admin CP > Templates & Style > Templates > Your Template Set > Forum Bit Templates > forumbit_depth2_cat.
You want to find and remove the following code;
Step 3) Go into Admin CP > Templates & Style > Templates > Your Template Set > Forum Bit Templates > forumbit_depth2_forum.
Find and remove the following code;
Step 4) Go into Admin CP > Templates & Style > Templates > Your Template Set > Forum Display Templates > forumdisplay_subforums.
Find and remove the following code;
Step 5) Go into Admin CP > Templates & Style > Templates > Your Template Set > Index Page Templates > index.
Find and remove your forum legend code that shows the on/off iconss information;
That's all you have to do!
We're going to being using the default mybb for the example, but if you're using an already made theme the steps should be the same unless they already modified the forumbit in same way.
How to remove on/off iconss
Step 1) Go into Admin CP > Templates & Style > Templates > Your Template Set > Forum Bit Templates > forumbit_depth1_cat.
You want to find the following code;
Kod:
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
Change it to the following;
Kod:
<td class="tcat" colspan="1"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
Step 2) Go into Admin CP > Templates & Style > Templates > Your Template Set > Forum Bit Templates > forumbit_depth2_cat.
You want to find and remove the following code;
Kod:
<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>
Step 3) Go into Admin CP > Templates & Style > Templates > Your Template Set > Forum Bit Templates > forumbit_depth2_forum.
Find and remove the following code;
Kod:
<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>
Step 4) Go into Admin CP > Templates & Style > Templates > Your Template Set > Forum Display Templates > forumdisplay_subforums.
Find and remove the following code;
Kod:
<td class="tcat" width="2%"> </td>
Step 5) Go into Admin CP > Templates & Style > Templates > Your Template Set > Index Page Templates > index.
Find and remove your forum legend code that shows the on/off iconss information;
Kod:
<dl class="forum_legend smalltext">
<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->new_posts}</dd>
<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->no_new_posts}</dd>
<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
<dd>{$lang->forum_locked}</dd>
</dl>