Regularly move a topic to the top

AI-generated summary

Val asked how to regularly move a topic to the top of a category every Monday without globally pinning it, seeking a solution that doesn’t require weekly manual posting. Canapin suggested using a CRON task to update the topic’s timestamp via the Discourse API. zogstrip questioned the use case, prompting Val to explain the goal: ensuring visibility for all users — including newcomers — without permanent pinning. Val mentioned they’ve since adopted a workaround: posting and deleting a comment weekly. zogstrip advised that pinned topics are automatically unpinned after users read them, and users can manually unpin them — suggesting simply pinning the topic and letting Discourse handle visibility. Canapin agreed that Discourse’s pinning behavior works well but noted that a CRON-based solution would eliminate the need for manual commenting. The thread concludes with Val’s workaround in place, while alternatives involving automation or trusting Discourse’s native pinning logic are offered.

Hello!
How is it possible to regularly move a topic to the top (of all topics - meaning category-wide). I mean I can pin a topic (in a category and on a “global” level), but what do I do, if I want to have a topic let’s say every Monday on the top of all topics (or let’s say just after the pinned ones). I am also fine, if there isn’t an automatized solution, but that I have to move it every Monday there. (A not so nice solution would be, if I have to post something every Monday to make this happen.)
Thanks for your suggestions! :slightly_smiling_face:

I guess you can make a CRON task and edit the update date of the topic through discourse api.

Can you explain your use case? I’m genuinely curious to know why you want to “force” pin a topic every Mondays.

Because like this the users really see it (also new users) and it does not always move down (on a global level), if nobody comments etc. However, the topic is also not that important that we want to globally pin it.

But don’t worry anymore, we found a work-around-solution (by just weekly commenting (and deleting it again). :wink:

Well, pinned topic will automatically be unpinned once the users have read the whole topic so they aren’t constantly bothered with the same pinned topics.

They can also manually unpin it if they want to.

Rather than annoying your users every week, I would just pin to topic and let Discourse automagically handle it :wink:

I like how pinned topics behave in Discourse and I think it does the job well.
That said, if you were using a CRON task you wouldn’t need to comment and delete the topic every week.