- I want to have discourse delete archived posts automatically in certain categories or all categories. Is it possible? Can I configure the amount of time it takes to archive a post in a certain category or all categories?
- Can I make email optional during registration?
AI-generated summary
Automatic Post Deletion and Optional Email Registration
oxygen-cat inquires about two features: automatically deleting archived posts in certain categories and making email optional during registration.
cocococosti responds that automatic post deletion can be achieved using topic timers or configuring a category to auto-close its topics. However, deleting topics automatically after a while is not a built-in feature, but can be explored using Discourse Automation and creating a script.
Regarding email registration, cocococosti advises that making email optional is not possible without modifying the code or creating a custom plugin. However, oxygen-cat plans to manually approve registrations accompanied by a short self-introduction and considers using Single Sign-On (SSO) software like Authentik or Authelia.
oxygen-cat also mentions that NodeBB allows email to be optional during registration.
You can auto delete and auto close topics with topic timers.
You could also configure a category to auto close its topics:
I don’t think that’s possible without modifying the code or writing a custom plugin. You could use SSO instead and find a platform that doesn’t do email validation, then set require_activation=true (we don’t recommend you do this unless you have any other way to check your users are valid), check Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)
I will approve each registration accompanied by short self introduction. As far as I know, I can add a text field to registration or manually add users who write introduction about themsleves to a group that can view and post to categories.
I will look into SSO softwares like authentik and authelia.
By the way, email is optional in a nodebb account. email is verified only if I add email to a nodebb account.
Can I configure a category to delete topics automatically after a while?
I don’t think this feature exists yet.
You could use Discourse Automation and create a script to delete all topics in a category. I’ve never done this, so I’m not sure if it’ll work though ![]()
