MyBB Community Forums

Full Version: Remove
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone please tell me how to remove the tcat section in my forum? See Attachment

Thanks!
AdminCP > Templates > Your theme's templates > Forum Bit Templates > forumbit_depth1_cat > find the following code and REMOVE;
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>

Next, from Forumdisplay Templates "forumdisplay_subforums" > find the following code and REMOVE;
<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>
After doing this your forumbit area will become like this;
[attachment=25819]
See its messed so adjusting this with proper widths, Open "forumbit_depth2_forum" and add width="" attribute to the <td> tags. Something like this;
<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1" width="3%"><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" width="57%">
<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" width="10%">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap" width="10%">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap" width="20%">{$lastpost}</td>
</tr>

So it becomes like this;
[attachment=25820]
You are the man. Thank You Sir!!
So I did everything you said and it worked great as far as getting the tcat space removed, however I have a problem with the <td>

I added the width attributes like you said but as you can see in my attachment, they are not correctly aligned.
You probably are missing width attribute in any one of the <td> s there. Please post your website's URL so I could see the issue myself.
Edit*I removed my link
The issue is in your forumbit_depth2_forum template, you didn't edited it properly. If you wish you may PM me your AdminCP logins so I could edit it for you.
Amazingly I figured it out!!! Thanks Yaldaram!