How to pin a post within a topic?

I assume you meant the user will click on the ‘last reply’. I can see that after I read your post… then found that last reply button… IMHO… that functionality isn’t intuitive for me.

hi @cathyjliu welcome to Meta :slight_smile:
this request confuses me because pinning puts topic posts (first posts) at the top of category topic list pages. the idea of pinning a post to me means it’s going to show up at the top of category pages for users. users can also unpin posts. if you mean to pin it as a banner do you really want your post at the top of every page? pinning doesn’t do anything within in a topic.

i feel like either staff color (or maybe even a staff notice with a link to a post?) is the way to accomplish what it sounds like you are wanting to achieve.

2 Likes

i think he means that when a person enters a topic, they automatically go to the first post they have not read yet. it does not always go to the top post if they have already been in the topic.

i use staff color, staff notices and pinned topics a lot on my forum. i cannot see how pinning will do what it seems you want.

are you wanting to pin a post to the top of a topic so it appears over the original post? or just under it? or do you mean pin it so that every time a user enters the topic it goes to your post?

from the sounds of what your goal is, my advice would be to have a separate introduction topic for staff only.

Thanks for the reply. Sorry for the confusion, but I will try to explain it. The intro post has already been pinned under the topic. It is a long post with near 40 replies. I want my reply (the one I introduced myself) to be pinned right under the original post. Does that make sense now?

what do you mean by pinned? do you mean the first post (original post)? pinning refers to making a topic post go to the top of a topic list page for users regardless of if it’s got the latest activity.

this is a pinned topic post (the first post in the topic). you can see the pin icon beside the topic title. pinning it puts it at the top of that category’s list of topics until the user unpins it, then it will fall down the list normally like an unpinned topic.

it sounds like you simply want to insert your post under the original post and you are using the term “pin” to mean insert under the first post. the topic (original) post is not pinned, it is simply the first post in the topic.

this is not possible to do in Discourse and i’m not even sure if it can be done with a plugin. but like @pfaffman says, this is somewhat counter-intuitive to how Discourse displays topics to users who enter the topic more than once. if they read the first post already (and any replies) putting your post there means they will not see it.

it may also be that there is translation language issue here and i am reading pinned while you are actually saying something else perhaps, like “sticky” or “insert”.

like i said earlier, my advice would be to simply make another introduction topic for Staff only in the same category. you can even put a staff notice over the top post in the introduction topic with a link to the staff introduction page.

2 Likes

That’s in the context of the category view.

I read this to mean the topic view. Pinning isn’t possible in the topic at present, but it’s a reasonably good fit for the behavior they’re describing.

1 Like

yea i’m gathering that now. but the fact remains it will get bypassed by anyone who re-enters the topic with other replies they have seen (unless this behavior is suppressed i suppose).

it seems they are asking for a method to insert a post and reset the timeline.

i’m also trying to think of ways they can achieve what they want through existing functionality available to admins.

i’m just brainstorming here, but i wonder if there is a way to achieve something like what they’re asking using the post move / merge function to a new topic by copying the OP to a new one then posting under it and moving the other reply posts. :thinking: :exploding_head:

aha i just did it using the post move to new topic functions.

i used selected the OP and moved it to a new topic. i posted a new post under it. then i went back to the old topic and moved the rest of the replies (without checking the chronological box) and moved them to the new topic and they are under my post reply to the OP.

i will take and post some screenshots on how to do this… but i will wait til Jammy replies :grin:

1 Like

That may be quite a noisy way to do it though, depending on how many posts you’re moving from one place to another and back (though doable).

There’s an open feature request on this as a similar thing has been asked for before What is best practice for "pinning" posts to a topic?

2 Likes

yes it’s a messy way to do it, but i’m also not sure how often the OP would need to do this. sounds like a rare occurance in this case. it does achieve sort of what they wanted but it still doesn’t account for the timeline issue. i suspect they want to lock the users to that post (by “pinning” it). interesting feature request. i took screenshots of how i did it and i can post them if @cathyjliu wants to know how.

1 Like

I think in the feature request the post would stay in the right order, but a copy would also be pinned under the OP to emphasise it, a little like how Solved does with solutions inside the OP.

1 Like

yea after reading that feature request topic, i can totally see an scenario need for this type of functionality now. the solved is a great example of how it copies the post, just in this case insert as another post instead of link box.

Very hacky suggestion, I’m not sure it would do the trick, but just in case:

Use the solved component, but make CSS rules to hide mentions of “solved” to prevent misleading users, as well as change (or hide) the icon to whatever would fit, and also hide the solve button from anyone but your staff.

3 Likes

I would also have suggested this as a solution.

But what if he needs the solved topic plugin in addition?

One of the many caveats :slight_smile:

2 Likes

Yes, I guess I should refer to the functionality I want as “insert or reframe the time slider.” Other community platforms I used have this functionality marked as ‘best answer’ or ‘pinned’ under the thread itself.
I would appreciate seeing your screenshots to get a better idea about the workaround you suggest.
Thank you!

1 Like

@cathyjliu here you go :slight_smile:

i made quite a few screenshots to help guide you and i broke it down into a 2-step process


step 1: Moving the first post to a new topic and inserting your own post below

click the topic wrench at top right of the topic you want move (this is the top post introduction you are going put yours underneatth). then “select posts”

select just the top post (the one you want to insert your post under) and then select the red “move to” button:

you will get this pop up screen. make sure “New Topic” is selected at the top and then enter a new topic title in the New Topic Title box (you can always go back and rename it later when this is all done). select the category you want to move it to, which will probably be the same one. then click the red “Move to New Topic” Button at the bottom:

you will now go to a new topic with just that post:

now you can insert your own post by simply posting a reply to that original post. i also colored my reply in this example with staff color so you could see it better after we finish.

Step 2: Moving the reply posts from the original topic to the new one

now once you have posted your own introduction post - remember the name of this new topic, and now go back to the old topic (it should still be in the category topic list. click the admin wrench at the top right corner again then “select posts”.

this time click the “select+below” button that is on the next post (reply) to the original one you moved. this will select all the replies. then click the “move to” button:

you will get the move pop up screen again. but this time select “Existing Topic” at the top, and then the title of the new topic in the Search field and you will get the new topic in the list to select to move to. make sure the “preserve chronological order after merging” is NOT checked! (:warning: important). click the “Move to Existing Topic” button at the botton.

you will now be taken to the new topic you created with your introduction post inserted under the original one and the rest of the replies under it:

now you can go find the old topic and delete it and also rename the new one if you wish. you have completed a very messy move method of post insertion.

i hope his helps. let me know if you have any questions. :slight_smile:

3 Likes

Thank you so much! I appreciate you shared this workaround.

2 Likes

anytime. i’m glad it helped a bit. good luck with your forum :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.