The discussion revolves around the possibility of adding custom topic fields per category in Discourse. anon82356247 initially inquires about this feature, suggesting its wide applicability for uses such as date/time of events, locations, and prices.
rking responds that there is currently no facility for displaying custom topic fields. However, anon82356247 and RonnChyran express interest in this feature, with potential use cases including plugin repositories and market listings.
RonnChyran also explores the possibility of utilizing existing code from custom user fields support and mentions the post_details.rb file, which could potentially be used to implement this feature.
Lastly, meglio shares another potential use case for custom topic fields, specifically for a goat and cheese market, highlighting the need for a “currency” format and filter option in the topics view.
I’d be interested in a feature like this. I’m planning to have a Discourse instance be the backbone of a plugin repository; each plugin would have a topic in a certain category with a field that can be set. An external frontend would then query the API for information from Discourse such as download link, version, and author.
Edit: I found this but it’s not clear how to use this. I’ve also been studying the tagging plugin but I have no idea how that works, I just want to be able to add a custom field to the json output of the topic.