MyBB Community Forums

Full Version: Is there a way to change the order of posts within a thread?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Guru's,

Is there a way to change the order of posts within a thread?

For example, let's say I have posts 1, 2, 3, 4, 5 inside of thread A. Is there a way to change the order so that the order is 1, 4, 2, 3, 5?

If there is not direct way to do this, is there a way to do it "under the hood" without breaking things?

I will greatly appreciate any help you can provide.
No. But you can reverse the post order by using the following (if its something your concern);

http://community.mybb.com/thread-31211-p...#pid209212
and then make an edit: http://community.mybb.com/thread-31211-p...#pid210012
Thank you Yaldaram for your prompt reply.

I do not want to reverse the post order.

I just want to move one post up above a couple of previous posts.

If I can find a time when nobody is in this particular thread, then perhaps I can accomplish my objective via splitting and merging and essentially creating a brand-new thread??? I think this would work, right?
the posts will still arrange themselves by the original post date afaik

i don't think there's any way to do this
THis is something I would want as well. I mean, this would be useful for moderators/admins to get a content-rich 3rd reply and put it on the 2nd position, replacing some unrelated and not so important content.

Can this be done changing the date of the post? A plugin to do this visually would be awesome.
consider the bigger potenial impacts. Remember the PID is derived from the SQL insert and it directly correlated that the dateline field (unix timestamp of the post) in terms of order. sort a thread by dateline and then by PID you get the same results.

so if you change one, any other back end queries run later must be considerate of the dateline versus PID sync issue.

yes, the simple solution is to simply find the dateline of the post you want to move and then the dateline of the posts you want it between and then update the dateline to a value in between .

this will make all core MyBB output sort as you want.

a better solution would a "featured post" plugin that lets a specified user/group flag a post as "featured" and thus it is pushed to the top/some position (hard) or highlighted (easy).
(2012-06-28, 12:29 PM)Yaldaram Wrote: [ -> ]No. But you can reverse the post order by using the following (if its something your concern);

http://community.mybb.com/thread-31211-p...#pid209212
and then make an edit: http://community.mybb.com/thread-31211-p...#pid210012

It looks as if still an issue with the plugin
Quote:Edit [ Other Problems ]:
* Postcount is wrong;
* First need to fetch the firstpost (if you are on page 1, else not needed); than the others in reversed order and stick them together.
Now the first post is 'blank';

Anyone knows of a more recent plugin, or if this one actually got fixed?

Other forum SW have the option in the core, and some even can be chosen by the user. Hope this comes to mybb very soon.