MyBB Community Forums

Full Version: Horizontal Postbit fo 1.2?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
can anyone help me make my post pit horizontal?
Here's mine that works well with MyBB 1.2.1. I just worked on a previous one for the 1.1.x and it works with 1.2.1. It's bit dirty, but it was for personal use:

postbit

<tr>
<td class="{$altbg}" width="100%" valign="top" nowrap="nowrap"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div align="left" style="float:left;">$post[useravatar]</div><div align="left" style="float:left; padding-left:10px;"><strong><span class="largetext">{$post['profilelink']}</span></strong><br />

<span class="smalltext">
$post[usertitle]<br />
$post[userstars]
$post[groupimage]<br /></div>
<div align="right" style="float:right;">
<span class="smalltext">
$lang->postbit_posts $post[postnum]<br />
$lang->postbit_group $usergroup[title]<br />
$lang->postbit_joined $post[userregdate]<br />
$lang->postbit_status $post[onlinestatus]$post[replink]<br /></div>
</span>
</td></tr><tr>
<td class="{$altbg}" width="100%" valign="top">
<table width="100%">
<tr><td class="trow">$post[posturl] $post[icon]<span class="smalltext"><strong>$post[subject]</strong></span><hr />
<div id="pid_{$post['pid']}">
<p>
{$post['message']}
</p>
</div>
{$post['attachments']}
{$post['signature']}


<div style="text-align: right; vertical-align: bottom;">
<span class="smalltext">{$post['postdate']} {$post['posttime']}</span> <br />
{$post['editedmsg']}
{$post['iplogged']}
</div>
</td></tr>
</table>
</td>
</tr>
<td class="{$altbg}" 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}

Remove the following from showthread bit:
<tr>
<td class="tcat" width="15%"><span class="smalltext"><strong>{$lang->author}</strong></span></td>
<td class="tcat" width="85%"><span class="smalltext"><strong>{$lang->message}</strong></span></td>
</tr>
Woot... The code still works for 1.2.9, just wanting to say a huge thanks for sharing this!
~Kerrang!
where do i put the code?
DeaDWiZ Wrote:where do i put the code?

ACP - Templates [modify/delete] - "Your Templates" [expand] - Post Bit Templates [change original] - postbit

AND

ACP - Templates [modify/delete] - "Your Templates" [expand] - Show Thread Templates [change original] - showthread
When i try this code it only said Author Message and the whole page was blank white.