Is it possible to allow users to add tags to replies?
The basic tag implementation seems to be that the topic creator adds tags to the topics, and those tags can only be changed in the first post of the topic. Is it possible to allow users to add additional tags per reply?
(so, basically, an ability to add tags in a reply just like a user can add tags in the first post)
In my case, it can occur where users say something in their replies that is related to the topic, but also relates to other subjects. So it would be helpful for the users to later be able to search by subject (ie, tags), and find those replies.
If its not currently available (which maybe its not), wondering how hard it would be to implement–if not too bad, I might post to marketplace for it.
No, this isn’t currently possible, though trust level 3 users can add tags to other people’s questions, so a social solution of encouraging your regular members to do that might be enough.
Thanks. A key use case is actually the topic creator adding tags on a per reply basis. So it’s important for the tags to be specifically tied to the replies.
If I can pitch in a reason to add it:
we have one topic for lets say all Poems, instead of multiple topics for each Poem. As well as many other, singular topics for multiple replies/posts.
Each reply poem may want a different tag, of course, concerning the content of their poem
Right now only topic starter or lvl3+ can add/edit these in, instead of the user themselves.
I use this approach on my community, I then have a custom API endpoint to get all posts with a given mentioned tag to present them as a “timeline” of the tag on my main website (here I’m listing all posts mentioning #dune-imperium):
What would be useful IMO is adding this “mentioned tag” filter to the Search page, which would render a similar view. It’s the main place where we can list individual posts so it makes sense to have this feature there.
If you think about it, even if you add tags to replies with a custom post field, how would you filter by them or show them outside the topic itself?
If you have a specific use case that wouldn’t be covered by just adding tags to a post body, tell us and we can try figuring something out.
Adding support for this on Embedding a list of Discourse Topics in another site would be cool, but we would need to store all those tag mentions in the database so we don’t have to do a search every time we render it.
We are internally talking about storing user/group mentions in a dedicated column for speeding topics, so this would work in a similar way.