MyBB Support

Added tables and sub-forums screw up

Submitted by Niko, , Thread ID: 12823

Thread Closed
Niko
Member
Level:
0
Reputation:
0
Posts:
119
Likes:
6
Credits:
191
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

Aoki
retired
Level:
83
Reputation:
348
Posts:
7.89K
Likes:
2.3K
Credits:
1.7K
16-11-2015, 05:10 PM
#2
By not advertising your site.

RE: Added tables and sub-forums screw up

L3oN
Closed Account
Level:
0
Reputation:
0
Posts:
24
Likes:
0
Credits:
28
16-11-2015, 05:10 PM
#3
For me it is normal.

RE: Added tables and sub-forums screw up

Niko
Member
Level:
0
Reputation:
0
Posts:
119
Likes:
6
Credits:
191
OP
16-11-2015, 05:33 PM
#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

Aoki
retired
Level:
83
Reputation:
348
Posts:
7.89K
Likes:
2.3K
Credits:
1.7K
16-11-2015, 05:47 PM
#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

Gummy
Verified Rad Pirate Dad
Supreme
Level:
4
Reputation:
60
Posts:
1.38K
Likes:
85
Credits:
44
16-11-2015, 06:16 PM
#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

Niko
Member
Level:
0
Reputation:
0
Posts:
119
Likes:
6
Credits:
191
OP
16-11-2015, 07:11 PM
#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: 1 Guest(s)