A way to reorder posts?

is there a way to reorder posts in a topic? the problem occurs when threads are created by select + move posts by multiple moderators.

7 Likes

This would require the ability to set timestamp on the posts cc @sam @tgxworld

Why? Are the posts always supposed be in order of time? ā€¦because thatā€™s not what Iā€™m seeing.

I reproduced by selecting 10 posts from the bottom of a long topic and moving them into a new topic. Then I selected 3 from the top of the same topic and moved them into the same new topic. The 3 are showing up at the end, the 10 are showing up above the 3.

If thatā€™s not what you were implying, ignore this post :smile:

3 Likes

Oh yes I forgot about that. Good point. We thought it would be bizarre if previously sequential posts had other posts randomly interspersed with them. So a pure time order of insertion when splitting topics seemed like a bad ideaā€¦

2 Likes

Your decision was a good one, and the ability to move posts to an existing topic is awesome way of cleaning up the site, but it gets confusing if you canā€™t reorder.

It helps a ton when trying to keep topics on-topic.

7 Likes

Hi, I just had the same problem and, I think, an easy an elegant solution would be to allow for posts to be ā€œmoved from one topic into the same topicā€. At the moment it is not possible to press ā€œMove into existing topicā€ and then enter the same topic ID as the original topic (e.g. moving posts from ID 10820 to ID 10820, for them to appear at the end of the post list).

What do you think about it?

3 Likes

Today, I was trying to illustrate a potential use case for Discourse. We have some ā€œweekly updateā€ communications from various teams that are currently sent via email. I wanted to show how this would look if we did this in Discourse instead, so I was going through my inbox and copying/pasting messages into an example topic in Discourse. I wanted to change the dates to match the original email dates. This way the ā€œgapsā€ and the ā€œtimelineā€ in the progress bar would look more ā€œrealā€.

Would be cool if we could do this. (Might come up again if thereā€™s enough interest in actually migrating old content into Discourse, though perhaps that will just be done by some other means).

4 Likes

Not sure if this is the right place for this query but it was pointed out to me in reply to a topic I recently created. As I stated:

Iā€™ve got a few dozen comments that Iā€™m manually importing (weā€™re talking copying and pasting into the comment box) from Commentics to Discourse. Supposing a previous user from Commentics has set up an account with my new Discourse install I discovered that I can change ownership of the comment from me (as the copier and paster) to said user. What Iā€™m wondering is, now that Iā€™ve done that is it also possible to change the timestamp of said comments in a similar way to how itā€™s possible to change the timestamp of a topic? If not, would it be possible via some non-GUI method?

In the process of moving some wikis to discourse, I came across this issue. Iā€™d like to do what Iā€™ve seen here on meta where a topic has a series of wiki posts in it. This is helpful because it lets those that follow (including our future selves) to quickly edit a section without having to scroll through loads of markdown.

Reordering these posts after they have been posted becomes a challenge. Am I right in understanding that the ā€œofficialā€ method for slotting in a post later is to select the ones that should go below, move them to a new temporary topic, then move them back again after adding the new post?

Or, if all the posts you want to reorder exist already, youā€™d move them into new temporary topics and then move them back in order you want?

This somehow seemsā€¦ complicated. Also, it seems to leave behind artifacts like this that I am not seeing a way to remove.

Is there something I am missing here?

5 Likes

Dear all, apologies for resuming a quiet topic after some time.

For our community the ability to change the timestamp of single posts is quite important. Let me explain my case.
My community deals with space missions. I have developed a small bot that opens a new topic via API when a mission is ā€œofficiallyā€ announced, but this does not prevent our users discussing that very same mission quite in advance with respect on the API-created opening of a new topic.

Now, our need is the ability to merge the topic created via API with the one created (earlier) by our users, but having the first post of the former as the first topic of the merged topic.

As the API-created topics are (usually but not always) having one post only, at the moment our workaround is to change the timestamp of that topic and only after proceed with the merger. The situation becomes quite more complicated in case some user decides to comment in the the API-created topic before we merge. In this case a shift back of the timestamp will ā€œdragā€ all posts back in time, and this is something we really donā€™t want.

Long story short, the abiliy to merge topics and then cherry pick posts we want to move up/down in time would be precious. If doing this in UX is considered too much of an effort, no worries. I think that even a dedicated rake task (something that takes a post_id and a ISO date as parameters) that after the change calls for the existing rake task to reorder posts in a topic could be enough.

4 Likes

So, the posts:reorder_posts rake task isnā€™t enough for you? You can change post timestamps via API or UI before executing that task.

3 Likes

Yes and no.

As said, I need a specific post to be the first of the merged duscussion thread.
Using the posts:reorder_posts option would place this ā€œspecialā€ post right where it belongs in order of time, but that would be a no go.
So the list of actions should be:

  1. apply a new timestamp to a specific post (or posts)
  2. merge the topics
  3. run posts:reorder_posts rake task to put everything where it belongs

The change of timestamp available today is applicable only to an entire topic, and all posts in that topic will be re-timestamped according to the delta time applied.

3 Likes

Hey Folks,

I just got bitten by this one on the Keyboard Maestro Forum.

We had a user leave tracks all over related to the same task, and I consolidated them. (A pesky task in and of itself.)

Unfortunately the order of posts is quite far off.

While it would be nice to be able to drag and drop to reorder, something like move-selected-post(s)-to-top and/or move-selected-posts(s)-to-bottom would be far better than nothing.

-Chris

1 Like

Any progress on this? The use-cases are compelling and I have recently run into the same issue trying to consolidate posts. @gerhard Where can I find out how to change the timestamp of a reply? There is one suggestion here, but it is convoluted. I assume that if I have access to the server, it might be easier (but I donā€™t want to break anything).

1 Like

I, too, would like to see progress on this. I split off several replies that were a bit off-topic, but by themselves, they needed some context. So I tried to add a post quoting the relevant content from the original topic, but that post was now at the bottom of the posts I moved.

In the end, I deleted it because it didnā€™t fit out-of-place.

1 Like

Hereā€™s a little help on how you change the time stamp for your post. Depending upon whether itā€™s a new topic (original post) or a reply determines how much manual effort it will take.

You can also search here on Meta for change post time stamp and get quite a few results to check out. Maybe one of those will have exactly what you want.

1 Like

Thank you, @JimPas, the ā€˜work aroundā€™ for re-ordering replies led me to my final, very easy solution. I created a new post with my introductory references to the original, then moved the replies from the original split to the new topic. After that, I deleted the original split.

I did need to update the split-reference link in the original topic to point to the correct topic since I had deleted the intermediate one. Going forward, if I want to add an introduction again, I should create that topic first, and then move the relevant replies over to it. This should prevent the stale link issue.

2 Likes

Any progress on this?

You should add in Select Posts.

1 Like

I tried this workaround, but how do I delete the first introductory reference without deleting the thread?

I often get users posting to existing threads and I need to separate them out into their own thread without losing the original date order, so this functionality is important. Hope it can be implemented.

1 Like

Hi @ianm, Iā€™m not sure exactly what youā€™re trying to achieve. In my case, I was actually deleting the context post I added at the end after splitting the topic, because it was out-of-order.

The main post of a thread cannot be deleted (without deleting the entire thread). However, when you split the topic, you can choose between sending the posts to an existing topic or a new one. If you first create your introductory post as the start of the new topic, and then split to your new topic, you own the first post and can do with it what you want. Otherwise, the first reply in your split becomes the start of the thread.

This second approach was the one I ended up using. Clear as mud?

1 Like