MyBB Community Forums

Full Version: Ficons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am in need of a tutorial explaining how to remove the on/off/lock icons and centering icons.

[Image: 5a85f99f17e7193c97e7fd6b818a3761.png]

I still need this. Thanks a ton guys.
What's the link to your forum?
If you want to remove the icons in every view, do the following:

// Goto template "forumbit_depth2_forum"
// remove
<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>

// Goto template "forumbit_depth2_cat"
// remove
<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>

// Goto template "forumdisplay_subforums"
// remove
<td class="tcat" width="2%">&nbsp;</td>

// search in forumdisplay_subforums
<td class="tcat" width="59%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
// and replace with
<td class="tcat" width="61%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>

It works. If you want to hide the icons only in specific subforums it will be complicated.
How would I go about centering it vertically?

[Image: 7faffb3ce6656e6670ad80d8fc0e1843.png]
(2013-07-13, 08:48 AM)APlusMarket Wrote: [ -> ]How would I go about centering it vertically?

[Image: 7faffb3ce6656e6670ad80d8fc0e1843.png]

add valign attribute to that element which you want to align... that is add valign="middle"
(2013-07-13, 09:52 AM)mmadhankumar Wrote: [ -> ]
(2013-07-13, 08:48 AM)APlusMarket Wrote: [ -> ]How would I go about centering it vertically?

[Image: 7faffb3ce6656e6670ad80d8fc0e1843.png]

add valign attribute to that element which you want to align... that is add valign="middle"

How exactly would I do this?
if you are using this TUT, then

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="images/ficons/{$forum['fid']}.png" alt="" title="" class="" id="" /></td>

and change it to this

<td class="{$bgcolor}" align="center" valign="middle" width="1"><img src="images/ficons/{$forum['fid']}.png" alt="" title="" class="" id="" /></td>