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!
It’s counted from the moment you press the button.
I’ll see if I can make it optional behind a checkbox, or perhaps by leaving it blank.
IIRC that’s due to the amout of text in the button. Less characters are fine. I’m using DButton and have no idea why this occurs. I’ll see if I can apply some CSS on it.