Remove optional tag

AI-generated summary

In a discussion about making tags mandatory when creating topics in Discourse, pr0cesor seeks guidance after failing to find the setting. pfaffman suggests checking tag groups and category settings, linking to a helpful meta topic. tomtjes advises reviewing individual category settings, which pr0cesor confirms they’ve done without success. pfaffman shares a screenshot highlighting the “Require new topics to have tags from a tag group” option, which supermathie explicitly identifies as the correct setting. tomtjes adds that a broader “Require tags” option exists under the “Settings” tab if tag groups aren’t needed. Ed_Bobkov reports the setting doesn’t seem to work, even after assigning mandatory tags — but riking clarifies that admins can bypass such restrictions, suggesting testing with a non-admin account. The key takeaway is that mandatory tagging is enforced via category settings, either by tag group or globally, but admins are exempt by default.

Hi o/

I would like to force users to choose tag as mandatory when creating topics, like here on discourse. How can I achieve that? I looked at the settings but couldn’t find the option to set tags as mandatory.

Are you on a recent version?

I think you’re looking for tag groups. Maybe Creating admin using rake admin:create in multisite configuration will help.

Check the settings of the individual categories.

I am on the latest version yes, I have created tag groups also but that didnt help. Topics are still created without tags.

Nothing about mandatory tag in the settings on individual categories, I checked since yesterday, triple checked even

See the category settings under tags

1 like

This is what I have

Please note the “Require new topics to have tags from a tag group” option at the bottom. This is what you’re looking for.

3 likes

If you don’t want to restrict it to tags from a tag group, there’s a separate setting on the „Settings“ tab.

Is it really working? I checked it and it doesn’t work. For some category I set 2 obligatory tags from specific tag cat, chosen another, but it saved the topic without a warning. Did it under admin user.

Try it from a non-admin accounts - admins can bypass several posting restrictions.

4 likes