Can you make a category that resets daily?

Can you make a category that resets daily like try.discourse.org but is not a separate website?

There is no mechanism to do this as of yet. I suppose one could write a script that is executed via cron or what not each day that would purge all posts that are in category ‘x’.

While this approach wouldn’t be hard to do, the lack of a GUI or web interface to do such things would likely scare off most people interested in such a system.

I have to ask what your reasoning is for wanting such a feature.

Would something like the “close after” feature work?

3 Likes

I already made a category that closes any topics after they are 24 hours old, so the close after is already done…

In what ways is that not good enough?

Closed topics will"fall away" as new topics are created.

I am not saying it is not good enough, just saying it is a bit simple… In a good and bad way :no_mouth:

+1 from me. A pruning capability would be awesome.

My forum has a “sandbox” for users to test out formatting or otherwise play with how Discourse works. While the locking capability is okay, having the posts automatically delete themselves would be awesome for cleanliness.

1 Like

I don’t see much reason to have this built in, but it is a fairly simple plugin

3 Likes