MyBB Community Forums

Full Version: Left align last post
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
how do you left align the last post column on index and in forums

and how do you move the threads and post to the far right and the last post to the middle like the image below:

[Image: 1241169809.jpg]
what is the forum URL?
(2009-05-01, 09:46 AM)jacobmarshall Wrote: [ -> ]what is the forum URL?

www.thestudenthangout.co.uk
why?
Take a look in the forumbit_depth2_cat and forumbit_depth2_forum template, should be a case of cutting and pasting the code for the columns to another place.
forumbit_depth1_cat
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"><thead><tr><td class="thead" colspan="5"><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="smalltext">{$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="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</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></tr>{$sub_forums}</tbody></table><br />

forumbit_depth2_cat
<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']}{$subforums}</div></td><td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</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></tr>

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="right" style="white-space: nowrap">{$lastpost}</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></tr>
okay it worked but now when i look at a forum with sub forums inside it says last post over the right still...

http://thestudenthangout.co.uk/board/for...php?fid=39


NEVERMIND SORTED was in the forum-display template
cool, good for you
(2009-05-01, 09:46 AM)jacobmarshall Wrote: [ -> ]what is the forum URL?

(2009-05-01, 08:08 PM)jacobmarshall Wrote: [ -> ]cool, good for you

listen , stop posting crap , if are not gonna help then do not post , also you don't need to know the URL for that question. I was just reading your posts and none of them seems legit post.
Stop thinking you are the boss of me!
I ain't your boss, all I'm asking is NOT TO POST GARBAGE .
Pages: 1 2