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?
Questo potrebbe essere gestito utilizzando i webhook di Discourse e l’API per nascondere gli argomenti quando vengono pubblicati per la prima volta, per poi renderli visibili quando ricevono una risposta. Questo tipo di approccio ha senso per i siti Discourse in cui gli utenti possono accedere agli argomenti da un sito esterno.
Il plugin WordPress per Discourse include un’opzione che funziona in modo simile a questo.