When a user visits a page at the site a comment section is showed below. We are embedding discourse below the pages. If a topic for this url does not exist a new topic is created at https://discourse.fllcasts.com.
Problem is that we have a lot of new pages with empty comments(yet) and they are all showed on the front page of discourse.
I would like to hide all the topics from a certain user that have no replies? How could I do this?
Это можно решить, используя вебхуки Discourse и API, чтобы скрывать темы при их первом создании, а затем отображать их, когда появляется ответ. Такой подход имеет смысл для сайтов на Discourse, где пользователи могут переходить к темам с внешнего сайта.
Плагин Discourse для WordPress имеет опцию, работающую аналогичным образом.