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?
Cela pourrait être résolu en utilisant les webhooks et l’API de Discourse pour masquer les sujets lorsqu’ils sont publiés pour la première fois, puis pour les réafficher lorsqu’ils reçoivent une réponse. Cette approche est pertinente pour les sites Discourse où les utilisateurs peuvent accéder aux sujets depuis un site externe.
Le plugin WordPress pour Discourse propose une option qui fonctionne de manière similaire.