MyBB Community Forums

Full Version: Separate Column
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there MyBB Community. I'm having trouble with creating a seperate column for this certain area:

[Image: 17304a414d48130d79e550a77062b9a0.png]

What i'm trying to do is get it just like:

[Image: 20cb602d07be414ec2b93efcea441930.png]

I appreciate the help. I've tried several things myself but end up failing. If it helps, it's apart of the "tcat_main" class under forumbit_depth1_cat.

forumbit_depth1_cat:
Quote:<div id="tabmenu_{$forum['fid']}">
<div class="forum_wrap">
<div class="thead_main">
<div class="thead_left">
<div class="thead_right">
<div class="thead_wrap">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div class="float_left"><strong><a href="{$forum_url}" title="{$forum['description']}" class="tip">{$forum['name']}</a></strong></div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<table border="0" cellspacing="0" cellpadding="8" class="tborder">
<tbody class="forums" style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat_main" colspan="3"><div class="float_right" style="margin-right: 208px"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></div><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
</tr>

{$sub_forums}
</tbody>
</table>
</div>
</div>


forumbit_depth2_forum:
Quote:<tr id="forum_{$forum['fid']}">
<td class="trow1" 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}" align="center" valign="top" width="1"><img src="uploads/ficons/{$forum['ficon']}" alt="{$forum['name']}" /></td>
<td class="trow1" valign="top">
<div class="float_right">
<strong class="white">{$threads}</strong>{$unapproved['unapproved_threads']} {$lang->forumbit_threads} <strong class="white">{$posts}</strong>{$unapproved['unapproved_posts']} {$lang->forumbit_posts}
</div>
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="trow2" valign="top" align="left" width="260">{$lastpost}</td>
</tr>
Could you possibly post your current template's code?
(2012-08-13, 06:37 PM)euantor Wrote: [ -> ]Could you possibly post your current template's code?

Posted the specific ones i believe. I appreciate you helping me Wink
Ok, try replacing forumbit_depth2_forum with this:

<tr id="forum_{$forum['fid']}">
<td class="trow1" 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}" align="center" valign="top" width="1"><img src="uploads/ficons/{$forum['ficon']}" alt="{$forum['name']}" /></td>
<td class="trow1" 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="trow1" valign="top">
<strong class="white">{$threads}</strong>{$unapproved['unapproved_threads']} {$lang->forumbit_threads} <strong class="white">{$posts}</strong>{$unapproved['unapproved_posts']} {$lang->forumbit_posts}
</td>
<td class="trow2" valign="top" align="left" width="260">{$lastpost}</td>
</tr>
(2012-08-13, 06:44 PM)euantor Wrote: [ -> ]Ok, try replacing forumbit_depth2_forum with this:

<tr id="forum_{$forum['fid']}">
<td class="trow1" 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}" align="center" valign="top" width="1"><img src="uploads/ficons/{$forum['ficon']}" alt="{$forum['name']}" /></td>
<td class="trow1" 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="trow1" valign="top">
<strong class="white">{$threads}</strong>{$unapproved['unapproved_threads']} {$lang->forumbit_threads} <strong class="white">{$posts}</strong>{$unapproved['unapproved_posts']} {$lang->forumbit_posts}
</td>
<td class="trow2" valign="top" align="left" width="260">{$lastpost}</td>
</tr>

Here's a picture of the forum WITHOUT the replacement by you:
http://gyazo.com/9e3e3f6fa9327a862ae0195e075dbbfa.png

Here's a picture of the forum WITH the replacement by you:
http://gyazo.com/bbebbec795eed3eb65573c6340ce3096.png

I apologize for the BIG images.
Ok, now try this - assuming the above is heading in the right kind of general direction Toungue

Replace forumbit_depth1_cat with this:

<div id="tabmenu_{$forum['fid']}">
<div class="forum_wrap">
<div class="thead_main">
<div class="thead_left">
<div class="thead_right">
<div class="thead_wrap">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div class="float_left"><strong><a href="{$forum_url}" title="{$forum['description']}" class="tip">{$forum['name']}</a></strong></div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<table border="0" cellspacing="0" cellpadding="8" class="tborder">
<tbody class="forums" style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat_main" colspan="5"><div class="float_right" style="margin-right: 208px"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></div><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
</div>
</div>
(2012-08-13, 07:02 PM)euantor Wrote: [ -> ]Ok, now try this - assuming the above is heading in the right kind of general direction Toungue

Replace forumbit_depth1_cat with this:

<div id="tabmenu_{$forum['fid']}">
<div class="forum_wrap">
<div class="thead_main">
<div class="thead_left">
<div class="thead_right">
<div class="thead_wrap">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div class="float_left"><strong><a href="{$forum_url}" title="{$forum['description']}" class="tip">{$forum['name']}</a></strong></div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<table border="0" cellspacing="0" cellpadding="8" class="tborder">
<tbody class="forums" style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat_main" colspan="5"><div class="float_right" style="margin-right: 208px"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></div><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
</div>
</div>

Your first fix helped me complete the rest by my self, I got it now the way i want it. Thanks for the help Wink
Glad it's all sorted! If you need any more help just post Smile