MyBB Support

Added tables and sub-forums screw up

Submitted by Niko, , Thread ID: 12823

Thread Closed
16-11-2015, 05:08 PM
#1
Here @ - removed - if you go onto a forum that has sub-forums they are not aligned. Since i added the tables. How do i fix that?

RE: Added tables and sub-forums screw up

#2
By not advertising your site.

RE: Added tables and sub-forums screw up

#3
For me it is normal.

RE: Added tables and sub-forums screw up

OP
#4
16-11-2015, 05:10 PM
Aoki Wrote:
By not advertising your site.

sorry was just trying to show a example of what i meant

RE: Added tables and sub-forums screw up

#5
AdminCP > Templates & Style > Templates > Your Theme Templates > Forumdisplay Templates > forumdisplay_subforums

Replace everything with:

Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" 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="14%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>Statistics</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: Added tables and sub-forums screw up

#6
16-11-2015, 05:47 PM
Aoki Wrote:
AdminCP > Templates & Style > Templates > Your Theme Templates > Forumdisplay Templates > forumdisplay_subforums

Replace everything with:

Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" 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="14%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>Statistics</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<br />

Good work Aoki You saved the day yet again.
[Image: giphy.gif]

RE: Added tables and sub-forums screw up

OP
#7
16-11-2015, 05:47 PM
Aoki Wrote:
AdminCP > Templates & Style > Templates > Your Theme Templates > Forumdisplay Templates > forumdisplay_subforums

Replace everything with:

Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" 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="14%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>Statistics</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<br />
Thanks Aoki Smile

Users browsing this thread: 4 Guest(s)