MyBB Support

[Solved] Custom forum icons issue

Submitted by Liq, , Thread ID: 2184

Thread Closed
29-03-2015, 07:30 PM
This post was last modified: 29-03-2015, 08:46 PM by Sozin
#1
hey all, have a small problem which i have no idea of fixing. :o

this is the forumbit_depth2_forum template.

Quote:<tr>
<td class="{$bgcolor}" align="center" valign="middle" width="1"><img src="uploads/ficons/{$forum['ficon']}" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" 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="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="middle" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="middle" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>

the width of the table seems to be an issue with the custom forum icons installed i had this problem a while back on mybb 1.6 and i some how fixed it.
anyone have a fix for this please? currently using mybb 1.8

RE: [Solved] Custom forum icons issue

#2
huh.

Open forum_depth1_cat

Find a <td class="tcat"

Change it to:

<td colspan="2" class="tcat"
Do not let your difficulties fill you with anxiety, after all it is only in the darkest nights that stars shine more brightly. - Ali(a.s)

Developer( PHP, Python, C++, HTML+CSS, JS I am available for Hire. Message Me for details.

1

RE: [Solved] Custom forum icons issue

OP
This post was last modified: 29-03-2015, 07:46 PM by Liq
#3
29-03-2015, 07:32 PM
AmN Wrote:
huh.

Open forum_depth1_cat

Find a <td class="tcat"

Change it to:

<td colspan="2" class="tcat"

wow haha thank you. :D

also the sub-forums is kinda messed up also.

RE: [Solved] Custom forum icons issue

#4
29-03-2015, 07:36 PM
Liq Wrote:
29-03-2015, 07:32 PM
AmN Wrote:
huh.

Open forum_depth1_cat

Find a <td class="tcat"

Change it to:

<td colspan="2" class="tcat"

wow haha thank you. :D

also the sub-forums is kinda messed up also.

http://i.imgur.com/r9fmw66.png
Do the same with Sub forums template in Forumdisplay
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: [Solved] Custom forum icons issue

OP
#5
29-03-2015, 07:39 PM
linkzy Wrote:
29-03-2015, 07:36 PM
Liq Wrote:
29-03-2015, 07:32 PM
AmN Wrote:
huh.

Open forum_depth1_cat

Find a <td class="tcat"

Change it to:

<td colspan="2" class="tcat"

wow haha thank you. :D

also the sub-forums is kinda messed up also.

http://i.imgur.com/r9fmw66.png
Do the same with Sub forums template in Forumdisplay

Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6" align="center"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
<tr>
<td class="tcat" width="2%">&nbsp;</td><td class="tcat" width="2%">&nbsp;</td>
<td class="tcat" width="59%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<br />

RE: [Solved] Custom forum icons issue

#6
Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6" align="center"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
<tr>
<td class="tcat" width="2%">&nbsp;</td>
<td class="tcat" width="59%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<br />

fixed

RE: [Solved] Custom forum icons issue

#7
Open forumdisplay_subforums,

Try removing the first, <td class="tcat" width="2%">&nbsp;</td> Thing.
Do not let your difficulties fill you with anxiety, after all it is only in the darkest nights that stars shine more brightly. - Ali(a.s)

Developer( PHP, Python, C++, HTML+CSS, JS I am available for Hire. Message Me for details.

1

RE: [Solved] Custom forum icons issue

OP
#8
29-03-2015, 07:43 PM
AmN Wrote:
Open forumdisplay_subforums,

Try removing the first, <td class="tcat" width="2%">&nbsp;</td> Thing.

thanks bro, it's looking fine now. Smile

Users browsing this thread: 1 Guest(s)