MyBB Community Forums

Full Version: How to move post control to the top?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2018-07-15, 06:11 PM)Wires Wrote: [ -> ]Have you tried what chack suggested? If so, what's happening? Does the div show up? Are the buttons responsive? Please elaborate.

here is what is happening with chack's edit

[attachment=40614]

(2018-07-15, 08:22 PM)Serpius Wrote: [ -> ]
(2018-07-15, 08:11 PM)Livewire Wrote: [ -> ]
Quote:In the default MyBB theme? I don't see one. 
In fact, I don't see one in my custom theme. The Reply button is at the bottom as usual.

Lol.
There is one on top and bottom.
https://i.imgur.com/eqj9anh.png

Not sure what you were looking at, but here at MyBB.com, I don't see a reply button at the top in the default MyBB theme.

[Image: e9d8bc5157d28a1e7798c2b6f81126a4.png]

look way top

[attachment=40615]

(2018-07-15, 08:30 PM)Livewire Wrote: [ -> ]@8guawong

Paste this..
<div class="post_controls">
	<div class="postbit_buttons author_buttons float_left">
		{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
	</div>
	<div class="postbit_buttons post_management_buttons float_right">
		{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
	</div>
</div>

After
<div class="author_statistics">
		{$post['user_details']}
	</div>

If you have a custom theme may require some css, If you need help shoot me a PM with test account.
Should look like this https://i.imgur.com/1aZcyW6.png

like i stated above i'm using the classic post layout
here is what it looks like with your suggestion

[attachment=40616]

i've played around with the placement of the post control button code and the best i've got is


[attachment=40617]

what my postbit_classic looks like
{$ignore_bit}{$deleted_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
{$post['useravatar']}
<div class="author_information">
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['threadstarter']}
{$post['userstars']}
{$post['groupimage']}
</span>
</div>
<div class="author_statistics">
{$post['user_details']}{$post['thanks_count']}{$post['thanked_count']}{$post['thx_meter']}{$post['newpoints_postbit']}
</div>
</div>
<div class="post_content">
<div class="post_head">
{$post['posturl']}
{$post['icon']}
<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}{$post['edithistory']}</span></span>
{$post['subject_extra']}
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['thanks']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_mention']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
</div>
<div class="post_body scaleimages" id="pid_{$post['pid']}">
{$post['thx_counter']}<div id="thxpid_{$post['pid']}">{$post['message']}</div>{$post['thx_list']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
<div class="float_right">
{$post['poststatus']}
</div>
</div>
{$post['input_editreason']}
</div>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['thanks']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_mention']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
</div>
(2018-07-15, 08:22 PM)Serpius Wrote: [ -> ]Not sure what you were looking at, but here at MyBB.com, I don't see a reply button at the top in the default MyBB theme.

[Image: e9d8bc5157d28a1e7798c2b6f81126a4.png]


(2018-07-15, 11:51 PM)8guawong Wrote: [ -> ]look way top

That black Reply button is to reply to the THREAD, not to a specific post.
Those are 2 different types of Reply buttons.
(2018-07-16, 12:36 AM)Serpius Wrote: [ -> ]
(2018-07-15, 08:22 PM)Serpius Wrote: [ -> ]Not sure what you were looking at, but here at MyBB.com, I don't see a reply button at the top in the default MyBB theme.

[Image: e9d8bc5157d28a1e7798c2b6f81126a4.png]


(2018-07-15, 11:51 PM)8guawong Wrote: [ -> ]look way top

That black Reply button is to reply to the THREAD, not to a specific post.
Those are 2 different types of Reply buttons.

lets just stop arguing about whether buttons should be, ok?  Big Grin
(2018-07-16, 05:36 AM)8guawong Wrote: [ -> ]-- SNIP --

lets just stop arguing about whether buttons should be, ok?  Big Grin

Fine, do whatever you want. Just pointing out the obvious.
Pages: 1 2