MyBB Community Forums

Full Version: Nasty gap near forums
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
So I added favicons by Labrocca and removed the default ficons correctly and how I normally do it, but for some reason it's left this odd gap here. Can anyone please explain how to fix it? Thanks.


[Image: Fn6h7xcNvfATJq2lff0S.png]
admin cp > themes / templates > your theme > templates > forum bit templates > forumbit_depth2_forum

Find the TD that contains {$lastpost} and add
colspan="2"

to the td
(2013-06-10, 12:35 AM)Jason L. Wrote: [ -> ]admin cp > themes / templates > your theme > templates > forum bit templates > forumbit_depth2_forum

Find the TD that contains {$lastpost} and add
colspan="2"

to the td

Added and the code looks like this now, but it didn't fix it. Link to my forum incase you need it.

<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="uploads/ficons/{$forum['ficon']}" alt="{$forum['name']}" /></td>
<td class="{$bgcolor}" valign="center">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" width="20%" valign="center" align="center" style="white-space: nowrap" colspan="2">Threads {$threads}{$unapproved['unapproved_threads']}</br> Posts {$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" width="20%" valign="center" align="left" style="white-space: nowrap" colspan="2">{$lastpost}</td>
</tr>

Thanks for the help by the wau, appreciate it.
could you please post forumbit_depth1_cat ?
(2013-06-10, 01:59 AM)un4saken Wrote: [ -> ]could you please post forumbit_depth1_cat ?

Here you go.

<div id="tabmenu_{$forum['fid']}"> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="6">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="hidden">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<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>Stats</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
<tr>
<td style="background: #333333;" colspan="6">
</td>
</tr>
</tbody>
</table>
<br /></div>
Use this as your forumbit_depth2_forum

<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="uploads/ficons/{$forum['ficon']}" alt="{$forum['name']}" /></td>
<td class="{$bgcolor}" valign="center">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" width="20%" valign="center" align="center" style="white-space: nowrap">Threads {$threads}{$unapproved['unapproved_threads']}</br> Posts {$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" width="20%" valign="center" align="left" style="white-space: nowrap">{$lastpost}</td>
</tr>
(2013-06-10, 02:14 AM)un4saken Wrote: [ -> ]Use this as your forumbit_depth2_forum

<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="uploads/ficons/{$forum['ficon']}" alt="{$forum['name']}" /></td>
<td class="{$bgcolor}" valign="center">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" width="20%" valign="center" align="center" style="white-space: nowrap">Threads {$threads}{$unapproved['unapproved_threads']}</br> Posts {$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" width="20%" valign="center" align="left" style="white-space: nowrap">{$lastpost}</td>
</tr>

Fixed, thanks a lot. However, now subforums have gone like this.

[Image: vytkfISFT-d1hzy5Vpbz.png]
post forumbit_depth2_forum please
(2013-06-10, 02:29 AM)un4saken Wrote: [ -> ]post forumbit_depth2_forum please

Here you go, thanks again.

<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="uploads/ficons/{$forum['ficon']}" alt="{$forum['name']}" /></td>
<td class="{$bgcolor}" valign="center">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" width="20%" valign="center" align="center" style="white-space: nowrap">Threads {$threads}{$unapproved['unapproved_threads']}</br> Posts {$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" width="20%" valign="center" align="left" style="white-space: nowrap">{$lastpost}</td>
</tr>
oh lol, i mistyped sorry.

i need forumdisplay_subforums
Pages: 1 2