Can you make a category that resets daily?


(Nathaniel Mattocks) #1

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


(Logan Mathews) #2

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.


(Mittineague) #3

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

Would something like the “close after” feature work?


(Nathaniel Mattocks) #4

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


(Mittineague) #5

In what ways is that not good enough?

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


(Nathaniel Mattocks) #6

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


#7

+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.


(Sam Saffron) #8

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