Quantcast
Channel: MyBB Community Forums - Tutorials
Viewing all articles
Browse latest Browse all 690

Alternative subforum layout

$
0
0
What you will end up with.
[Image: Screenshot_1.jpg]

Templates > Your theme > Forum Bit Templates > forumbit_depth2_forumforumbit_depth2_cat
Code:
<tr>
<td class="{$bgcolor}" align="center" width="1"><span class="forum_status forum_{$lightbulb['folder']} ajax_mark_read" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"></span></td>
<td class="{$bgcolor}">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}</div>
</td>
<td class="{$bgcolor}" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" align="right" style="white-space: nowrap">{$lastpost}</td>
{$subforums}
</tr>


Templates > Your theme > Forum Bit Templates > forumbit_subforums
Code:
<tr>
<td class="trow1" colspan="6">
<strong>{$lang->subforums}</strong> {$sub_forums}
</td>
</tr>

Viewing all articles
Browse latest Browse all 690

Trending Articles