02-05-2008, 10:41 AM
This is just a reference in case MyBBFans goes down one day...
This tutorial was originally made by DennisTT on MyBBFans..
To achieve the horizontal postbit, you will need to edit the postbit templates.
ACP > Templates > *Your Template Set* > Postbit Templates > postbit
Replace it with:
Now open the postbit_author_guest and replace it with:
Now the postbit_author_user template and replace it with:
(Notice the commented line. You can remove the comments if you want)
Now replace the postbit_avatar template with this:
And you should be done.
Arrange the stuff, and have fun!
Example:
[attachment=1240]
This tutorial was originally made by DennisTT on MyBBFans..
To achieve the horizontal postbit, you will need to edit the postbit templates.
ACP > Templates > *Your Template Set* > Postbit Templates > postbit
Replace it with:
Code:
<td class="tcat" colspan="2" height="18" style="white-space: nowrap; text-align: left">{$post['posturl']}<div class="smalltext" style="float:left">{$post['postdate']} {$post['posttime']}</div>
{$post['icon']}<div class="smalltext" style="text-align: center"><strong> {$post['subject']}</strong></div>
</td>
</tr>
<tr>
<td class="{$altbg}" colspan="2" valign="top" style="white-space: nowrap; text-align: left;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
{$post['user_details']}
</td>
</tr>
<tr>
<td class="{$altbg}" colspan="2" width="85%" valign="top">
<table width="100%">
<tr><td>
<div id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div style="text-align: right; vertical-align: bottom;">
{$post['editedmsg']}
{$post['iplogged']}
</div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class="{$altbg}" colspan="2" width="100%" valign="middle" height="18">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}</span></td>
<td align="right"><span class="smalltext">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}</span></td>
</tr>
</table>
</td>
</tr>
{$seperator}Now open the postbit_author_guest and replace it with:
Code:
{$post['useravatar']}<strong><span class="largetext">{$post['profilelink']}</span></strong>
<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['groupimage']}
</span>Now the postbit_author_user template and replace it with:
Code:
<div class="smalltext" style="float: right">
{$lang->postbit_posts} {$post['postnum']}<br />
<!-- {$post['userstars']} {$usergroup['title']}<br /> {$lang->postbit_joined} {$post['userregdate']}<br /> -->
{$lang->postbit_status} {$post['onlinestatus']}{$post['replink']}<br />
</div>
{$post['useravatar']}<strong><span class="largetext">{$post['profilelink']}</span></strong><br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['groupimage']}<br />
</span>Now replace the postbit_avatar template with this:
Code:
<div style="float:left; padding-right: 10px;"><img src="{$post['avatar']}" alt="" {$avatar_width_height} /></div>And you should be done.
Arrange the stuff, and have fun!Example:
[attachment=1240]

