![]() |
Summary | Add tags to a topic with a click of a button |
![]() |
Repository | GitHub - NateDhaliwal/quick-add-tag |
![]() |
Install Guide | How to install a theme or theme component |
![]() |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
This is a component that adds tags to a topic with a button in the topic footer. It also provides the option to auto-close the topic after x days (minimum 0).
Admins can configure what tag(s) to add to the topic with the quick_add_tags
setting.
Admins can also configure the button label, text and success message text.
Once the tag is added successfully, an success message is displayed:
If the adding of tag fails, there’ll be an error message displayed:
If you enable auto_close_topic
, the add tag button will be visible only to admins/moderators/TL4s (because they have the permissions to set the topic timer). You can change the auto_close_topic_days
to any value. This closes the topic in that many days.
Inspiration came from this when I saw this post. Hope this helps someone!