[Solved] Custom forum icons issue

by Liq - 29-03-2015, 06:30 PM
Newbie
Posts:
14
Joined:
Mar 2015
Likes:
0
Credits:
22
Reputation:
0
3 Years of Service
#1
OP
Posted: 29-03-2015, 06:30 PM (This post was last modified: 29-03-2015, 07:46 PM by Sozin.)
hey all, have a small problem which i have no idea of fixing. Surprised

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
Nan Ihier Gelair Mordor
Divine
Posts:
2,635
Joined:
Jan 2015
Likes:
329
Credits:
9,186
Reputation:
88
3 Years of Service
#2
Posted: 29-03-2015, 06:32 PM
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.
Liq
29-03-2015, 06:36 PM
Newbie
Posts:
14
Joined:
Mar 2015
Likes:
0
Credits:
22
Reputation:
0
3 Years of Service
#3
OP
Posted: 29-03-2015, 06:36 PM (This post was last modified: 29-03-2015, 06:46 PM by Liq.)
(29-03-2015, 06: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.
i'm so divine
Posts:
6,371
Joined:
Jan 2015
Likes:
322
Credits:
72
Reputation:
171
3 Years of Service
#4
Posted: 29-03-2015, 06:39 PM
(29-03-2015, 06:36 PM)Liq Wrote:
(29-03-2015, 06: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- Best forever .. | v4hl - ;) | Slavowitz | Senpai | Sui | Sensei | H | fdigl |

Newbie
Posts:
14
Joined:
Mar 2015
Likes:
0
Credits:
22
Reputation:
0
3 Years of Service
#5
OP
Posted: 29-03-2015, 06:40 PM
(29-03-2015, 06:39 PM)linkzy Wrote:
(29-03-2015, 06:36 PM)Liq Wrote:
(29-03-2015, 06: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 />
We are!
Posts:
1,044
Joined:
Jan 2015
Likes:
108
Credits:
1,994
Reputation:
25
3 Years of Service
#6
Posted: 29-03-2015, 06:43 PM
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
Nan Ihier Gelair Mordor
Divine
Posts:
2,635
Joined:
Jan 2015
Likes:
329
Credits:
9,186
Reputation:
88
3 Years of Service
#7
Posted: 29-03-2015, 06:43 PM
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.
Liq
29-03-2015, 06:45 PM
Newbie
Posts:
14
Joined:
Mar 2015
Likes:
0
Credits:
22
Reputation:
0
3 Years of Service
#8
OP
Posted: 29-03-2015, 06:45 PM
(29-03-2015, 06: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
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)