MyBB Community Forums

Full Version: Putting "This post was last modified:..." in top of its post =>???
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everybody!
In my forum (maybe related to my template), when a user edit her/his post, below phrase adds to the post, after user signature! How can I transfer it to the post-bar, like this forum(See the picture)?

[Image: wriugu9hzs1kbe7tq8h7.png]
it appears that you are using vertical style for the posts . if you change it then you should get it at the top ..

see also force postbit layout plugin
(2011-12-15, 05:34 PM)ranjani Wrote: [ -> ]it appears that you are using vertical style for the posts . if you change it then you should get it at the top ..

see also force postbit layout plugin
So, it's really bad!
Vertival post-bit is beter, it's common!
How can I put that useful damn phrase into the post bar, keeping vertical form?
admin panel --> templates --> current theme's templates --> post bit templates --> postbit_classic

move code similar to below to wherever you want it ..
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
(2011-12-15, 07:00 PM)ranjani Wrote: [ -> ]move code similar to below to wherever you want it ..
Sorry for my train question!
I'm not familiar to PHP!
So, Can you say me, exactly, where should I transfer that code?
This is a part of my postbit_classic file:
    </td>
    <td class="postbody" valign="top">
        <table width="100%">
            <tr><td>
            <div class="float_right"><img src="http://community.mybb.com/images/toplinks/calendar.gif"></div>
            <br />
            <br />
            <div id="pid_{$post['pid']}" class="post_body">
                {$post['message']}

            </div>
            {$post['attachments']}
            {$post['signature']}
            <div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                <div id="edited_by_{$post['pid']}">
                    <p style="text-align: left"><i><font size="2">{$post['editedmsg']}</font></i></div>
                {$post['iplogged']}
            </div>
        </td></tr>
    </table>
</td>
</tr>
<tr>
    <td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;">{$post['button_rep']}</span></td>
    <td class="{$altbg}" style="vertical-align: middle;">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td align="left" >{$post['thanks']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}</td>
            </tr>
        </table>
    </td>

My template is here.
you can try moving it to above of :
<div class="float_right"><img src="http://community.mybb.com/images/toplinks/calendar.gif"></div>
i thing if you change this...
<div id="edited_by_{$post['pid']}">
<p style="text-align: left"><i><font size="2">{$post['editedmsg']}</font></i></div>

near to

<div id="pid_{$post['pid']}" class="post_body">
{$post['message']}

Like

<div id="pid_{$post['pid']}" class="post_body">
<div id="edited_by_{$post['pid']}">
<p style="text-align: left"><i><font size="2">{$post['editedmsg']}</font>
{$post['message']}



In this form is up to message, but dunno if you want that form.