# Create topic in the future

**URL:** <https://meta.discourse.org/t/create-topic-in-the-future/11997>\
**Category:** Feature\
**Tags:** completed\
**Created:** [January 16, 2014, 5:14pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997 "2014-01-16T17:14:36Z")\
**Posts on this page:** 20\
**Page:** 1

## AI-generated summary

The discussion revolves around implementing a feature to schedule Discourse topics for future publication, akin to "auto-unhide" or "timed release." [sil](/t/-/11997/1) initiated the request, explaining its utility for coordinating podcast episode releases across WordPress and Discourse without manual intervention. Several users, including [sam](/t/-/11997/2), [5an1ty](/t/-/11997/3), and [codinghorror](/t/-/11997/4), expressed support, comparing it to useful features like auto-close. [sil](/t/-/11997/5) elaborated that the current workflow requires manual timing, which is error-prone. While the WordPress plugin was suggested, [sil](/t/-/11997/9) clarified it doesn’t meet their needs due to content divergence between platforms. [tgxworld](/t/-/11997/13) later submitted a PR implementing the feature, with screenshots showing UI for scheduling. The feature was confirmed live by [sam](/t/-/11997/15), and [blake](/t/-/11997/16) created a how-to guide. [tobiaseigen](/t/-/11997/17) tested it, noting it works for messages converted to topics, though UI clarity was questioned. [tgxworld](/t/-/11997/19) addressed feedback, and [tobiaseigen](/t/-/11997/20) confirmed successful auto-publication. However, [Thanatermesis](/t/-/11997/22) reported issues with category selection and banner post compatibility, which [codinghorror](/t/-/11997/23) clarified doesn’t apply to banner topics. The feature is now available, though edge cases remain.

<div class="post-metadata">

**Author:** ![sil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sil/32/2983_2.png) [@sil](https://meta.discourse.org/u/sil)\
**Post date:** [January 16, 2014, 5:14pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/1 "2014-01-16T17:14:36Z")

</div>

I’d like to be able to, via the API, create a Discourse topic but not have it show up until a defined time in the future. This is really handy for things like announcement posts, so I can create a new topic to announce a thing at some point before the release of the thing, and have the forum discussion become available automatically at release time without me having to do anything. Has this sort of feature been discussed? (I did take a glance at the code, but I’m not really a Ruby guy, and I fear walking through the code and changing every single request for a topic to include “`and publish_time <= now`”…)

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [January 16, 2014, 9:44pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/2 "2014-01-16T21:44:50Z")

</div>

> [@sil](#):
>
> changing every single request for a topic to include

We would probably just create the topic hidden and have a job that unhides it if we were to build something like this.

First time I have seen this request, its quite common for blogs.

---

<div class="post-metadata">

**Author:** ![5an1ty](https://avatars.discourse-cdn.com/v4/letter/5/f14d63/32.png) [@5an1ty](https://meta.discourse.org/u/5an1ty)\
**Post date:** [January 17, 2014, 10:05am UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/3 "2014-01-17T10:05:02Z")

</div>

I like the idea, if you’d like to release an announcement at a future date. I think it has it’s uses on a forum.

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [January 17, 2014, 11:28pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/4 "2014-01-17T23:28:07Z")

</div>

It reminds me of auto-close which is insanely useful, except it is “auto-unhide” (or is auto-hide at a future date useful too? I don’t know). Maybe something to add low on your list @neil.

---

<div class="post-metadata">

**Author:** ![sil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sil/32/2983_2.png) [@sil](https://meta.discourse.org/u/sil)\
**Post date:** [January 17, 2014, 11:50pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/5 "2014-01-17T23:50:03Z")

</div>

To fill in a little more detail on this, the reason I want it is that when  
we record an episode of a podcast, I run a script which creates a post on  
our (WordPress) website and also a new post to our discourse forum (  
[community.badvoltage.org](http://community.badvoltage.org)). The two posts link to one another. At the moment  
I have to be present at release time in order to run the script because  
discourse doesn’t allow me to post hidden; formerly I could run it whenever  
I wanted and set the WordPress publish time to be the release time.  
Obviously this is fairly niche, I accept, but a fix would be hugely useful  
to me. (I fear running the script from cron in case it goes wrong.)

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [January 20, 2014, 3:27pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/6 "2014-01-20T15:27:06Z")

</div>

Scheduling a topic for the future (auto-unhide) would be really useful. Added to my list.

---

<div class="post-metadata">

**Author:** ![MaSe](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mase/32/105393_2.png) [@MaSe](https://meta.discourse.org/u/MaSe)\
**Post date:** [January 20, 2014, 5:38pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/7 "2014-01-20T17:38:07Z")

</div>

Autohide in future is very useful for some kind of topics, for example, for sell topics that should be valid for predefined period of time like one month or week.

---

<div class="post-metadata">

**Author:** ![kpfleming](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kpfleming/32/116414_2.png) [@kpfleming](https://meta.discourse.org/u/kpfleming)\
**Post date:** [January 22, 2014, 9:05pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/8 "2014-01-22T21:05:13Z")

</div>

Would the Discourse plugin for Wordpress address this for you? When the Wordpress post was published, a matching topic in the Discourse forum would be created.

Although, I haven’t seen anyone mention whether that actually works or not 😄

---

<div class="post-metadata">

**Author:** ![sil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sil/32/2983_2.png) [@sil](https://meta.discourse.org/u/sil)\
**Post date:** [January 22, 2014, 9:34pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/9 "2014-01-22T21:34:20Z")

</div>

I’m aware the WP plugin exists, and I know some people have used it. It’s sort of oriented around integrating Discourse and WP, which I don’t want to do (I just want the two things posted at the same time), and more importantly what gets posted to Discourse isn’t _quite_ what gets posted to WP; the WP post has links to mp3s in it and things (it’s for a podcast). I could probably hack the WP plugin so that I write the contents of the proposed Discourse post into a custom WP property and then the WP plugin uses that rather than the WP post content… but at that point I’m doing a bunch of complicated hacking _anyway_, so it’d be easier to just talk to Discourse myself, hence the request for a post-in-the-future API 😉

---

<div class="post-metadata">

**Author:** ![kpfleming](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kpfleming/32/116414_2.png) [@kpfleming](https://meta.discourse.org/u/kpfleming)\
**Post date:** [January 22, 2014, 9:48pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/10 "2014-01-22T21:48:12Z")

</div>

Unless other users of the WP plugin would like your desired behavior too, in which case the work would benefit the world 😉

---

<div class="post-metadata">

**Author:** ![Almond001](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/almond001/32/57501_2.png) [@Almond001](https://meta.discourse.org/u/Almond001)\
**Post date:** [February 8, 2017, 3:32pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/11 "2017-02-08T15:32:42Z")

</div>

Good morning -

I’m just curious if this post-in-the-future feature has been looked at, worked on, or made possible in the three years since the original posts. I’m relatively new to Discourse, but this seems like a very useful tool.

It would allow me, personally, to pre-position a post on Friday afternoon for posting early on Monday morning. Or pre-position a post for when I’m on vacation.

Thanks.

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [February 8, 2017, 3:54pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/12 "2017-02-08T15:54:32Z")

</div>

> Timed re-open (automatic re-open after cooldown period of close)

Is on our roadmap for next release and when we build it we will also ensure we have timed “unhide”.

---

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [April 3, 2017, 2:23pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/13 "2017-04-03T14:23:00Z")

</div>

I’ve got a PR up for this

[https://github.com/discourse/discourse/pull/4790](https://github.com/discourse/discourse/pull/4790)

Here are some screenshots of the feature.

 ![](https://global.discourse-cdn.com/meta/original/3X/1/6/165e4bdc9a2a730df4e477bca7d1ee372dedfa9f.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/f/4/f493ff616027884ebca450240952c0a7eb0b5e7e.png)

 ![](https://global.discourse-cdn.com/meta/original/3X/d/a/da919b2b7affacd4c420e216987fbbb522d37e84.png)

---

<div class="post-metadata">

**Author:** ![Vocino](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vocino/32/85136_2.png) [@Vocino](https://meta.discourse.org/u/Vocino)\
**Post date:** [April 7, 2017, 6:12pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/14 "2017-04-07T18:12:32Z")

</div>

Really interested in this!

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [April 7, 2017, 7:37pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/15 "2017-04-07T19:37:16Z")

</div>

It is live and working in latest 🙂

---

<div class="post-metadata">

**Author:** ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)\
**Post date:** [April 10, 2017, 6:46pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/16 "2017-04-10T18:46:42Z")

</div>

I created a `#howto` for this: [Scheduling topics for future publication](https://meta.discourse.org/t/how-to-create-a-timed-topic/60731)

---

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [April 10, 2017, 7:24pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/17 "2017-04-10T19:24:48Z")

</div>

Looks really great - I just installed it and am testing.

It appears to be possible to set the topic timer for a message - this actually seems like a more workable procedure to me. E.g. start a message to myself, set the timer and choose the category where it will go. But I’m not sure from the UI whether this will happen correctly. We’ll find out - I set one to be published in an hour! 🕐

Update: the message did not convert into a topic in the specified category when published. So seems to me either the topic timer should be disabled/hidden from messages or support for it should be added so folks can do what I tried to do. Thanks!

---

<div class="post-metadata">

**Author:** ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**Post date:** [April 11, 2017, 3:26pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/19 "2017-04-11T15:26:26Z")

</div>

Good catch @tobiaseigen 👍

Can you try out

[https://github.com/discourse/discourse/commit/73180c8a19d466ce2c898efb8589fdad05a564bb](https://github.com/discourse/discourse/commit/73180c8a19d466ce2c898efb8589fdad05a564bb)

---

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [April 11, 2017, 3:52pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/20 "2017-04-11T15:52:55Z")

</div>

cool - thanks, @tgxworld!

I installed it and immediately my message with the timer set that had remained a message previously was posted to the specified category as a topic.

I also created a new message with a timer set, and it was automatically posted. Pretty slick!

---

<div class="post-metadata">

**Author:** ![Thanatermesis](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thanatermesis/32/119521_2.png) [@Thanatermesis](https://meta.discourse.org/u/Thanatermesis)\
**Post date:** [July 13, 2018, 5:47pm UTC](https://meta.discourse.org/t/create-topic-in-the-future/11997/22 "2018-07-13T17:47:51Z")

</div>

I just tried to use it but I encountered multiple issues

Tried to apply it in a published post that acts as a banner, then:

- When selecting the category, only some of them are shown, so im unable to set it to the same category as where it is actually published
- I set the timer to be published next month, and I have a message saying “this topic will be published to #Uncategorized in 19 days”, but it stills visible publically (incognito/anonymous session) - the banner stills shows too

[Next page](https://meta.discourse.org/t/create-topic-in-the-future/11997.md?page=2)
