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?
يمكن التعامل مع هذا الأمر باستخدام Webhooks الخاصة بـ Discourse وواجهة برمجة التطبيقات (API) لإخفاء المواضيع عند نشرها لأول مرة، ثم إظهارها عندما يتلقى الموضوع ردًا. هذا النهج منطقي لمواقع Discourse التي يمكن للمستخدمين فيها الوصول إلى المواضيع من موقع خارجي.
تحتوي إضافة Discourse الخاصة بـ WordPress على خيار يعمل بطريقة مشابهة لهذا.