Hide topics from a user if the topic has not reply

AI-generated summary

The discussion revolves around hiding topics from a specific user on a Discourse site if those topics have no replies. thebravoman wants to achieve this for topics created automatically when a user visits a page with no comments. pfaffman suggests using the “hide from front page” category setting, but notes it doesn’t meet the specific criteria. thebravoman confirms this limitation. pfaffman proposes a plugin-based solution to move topics to a different category when the first reply is posted. simon suggests using Discourse webhooks and the API to unlist topics when published and list them when a reply is received, citing the Discourse WordPress plugin as an example.

Hi,

I would like to hide all the topics from a certain user that have no replies? How could I do this?

We are using discourse at https://www.fllcasts.com (site). You can check out the live version at https://discourse.fllcasts.com.

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?

There is a “hide from front page” category setting that I think will do almost what you want.

There is. Suppress this category from the homepage.

But is there “Suppress this category from the homepage if it is created by this user and it has no replies”.

Only the blank once created automatically should be suppressed in our case

There is not. I think the solution might be a plugin that moved those topics to a different category when the first reply is posted.

Isso pode ser resolvido usando webhooks do Discourse e a API para ocultar tópicos quando são publicados pela primeira vez e, em seguida, listá-los quando receberem uma resposta. Essa abordagem faz sentido para sites Discourse onde as pessoas podem acessar tópicos a partir de um site externo.

O plugin do Discourse para WordPress possui uma opção que funciona de maneira semelhante a isso.