MyBB Community Forums

Full Version: Help with sub forums?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The theme that is installed messes up the subforums. I have tried reverting forumbit_depth2_forum and it messes up the main page, but fixes the subforums.

Here is a link http://www.alpha-geek-station.com/AGS-Fo....php?fid=5

This is what the subforums look like with the theme:
[Image: Subforums.png]

Here is the reverted forumbit_depth2_forum:
<tr>
<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>
<td class="{$bgcolor}" valign="top">
<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="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>

Here is the theme's forumbit_depth2_forum
<tr>
<td>
<table class="index-trow" border="0" cellspacing="0" cellpadding="{$theme['tablespace']}">
<tr>
<td align="center" valign="middle" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" style="margin-left: -10px;" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="name-subs" valign="middle">
<a href="{$forum_url}" class="forum-name">{$forum['name']}</a>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}<div>{$subforums}</div></div>
</td>
<td width="100" valign="middle" align="center" style="white-space: nowrap"><span class="forum-info">{$threads} {$lang->forumbit_threads} {$unapproved['unapproved_threads']}</span></td>
<td width="100" valign="middle" align="center" style="white-space: nowrap"><span class="forum-info">{$posts} {$lang->forumbit_posts} {$unapproved['unapproved_posts']}</span></td>
<td width="200" valign="middle" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
</table>
</td>
</tr>

Can anyone help with this?
Go to, Forum display Templates -> forumdisplay_subforums

Remove the following.
Quote:<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>
(2011-08-17, 04:10 AM)kavin Wrote: [ -> ]Go to, Forum display Templates -> forumdisplay_subforums

Remove the following.
Quote:<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>

Thank you so much! I have been trying to figure it out for so long haha.
No problems. Glad it helped. Smile
nice tutorials