Mirror of github.com/communiteq/discourse-private-replies
Find a file
2026-05-15 16:44:45 +00:00
app/controllers/discourse_private_replies Finish work on category specific settings 2024-03-27 19:24:53 +00:00
assets/javascripts/discourse Support new-style category management 2026-05-15 16:44:45 +00:00
config UX: language 2026-05-15 16:43:29 +00:00
lib/discourse_private_replies Working version 2020-03-23 22:16:29 +00:00
screenshots Add readme 2020-04-03 14:48:13 +00:00
spec Better digest tests 2025-09-04 16:43:42 +00:00
.discourse-compatibility fix for 3b08b15855 2020-09-15 13:02:50 +00:00
.gitignore Add eslint deps 2025-10-03 14:41:44 +00:00
.prettierrc.cjs Support new-style category management 2026-05-15 16:44:45 +00:00
eslint.config.mjs Add eslint deps 2025-10-03 14:41:44 +00:00
LICENSE MIT license 2021-07-06 17:24:56 +00:00
package.json Add eslint deps 2025-10-03 14:41:44 +00:00
plugin.rb Support new-style category management 2026-05-15 16:44:45 +00:00
pnpm-lock.yaml Add eslint deps 2025-10-03 14:41:44 +00:00
README.md Always allow staff, they can toggle the button and see flagged posts, so the ability to disallow staff creates a false sense of security 2025-10-09 13:16:13 +00:00

Discourse Private Replies

Provides a toggle to hide replies to a topic for everyone but the topic owner.

Further discussion on Discourse Meta https://meta.discourse.org/t/discourse-private-replies/146712

How to Install this Plugin

To install Discourse Plugin - https://meta.discourse.org/t/install-a-plugin/19157

How this works

First, enable the plugin in Admin - Plugins.

Then you can turn on the functionality of the plugin on a per-topic basis.

If you are the topic-starter then you will see a new button at the bottom of the topic.

button

By pressing this button you have enabled the Private Replies feature for this topic.

A banner will appear above the topic and the following happens:

  • people will only be able to see posts made by themself, by the topic owner, and by users in specific groups.
  • only the topic owner, staff members and users in private_replies_groups_can_see_all will be able to see all posts. If private_replies_topic_starter_primary_group_can_see_all and/or private_replies_participants_can_see_all are enabled then those can see the posts as well.

banner

By pressing the button a second time, the topic will revert back to normal.

Use cases

This can be used for for instance homework assignments where the teacher opens a topic and posts an assignment, and all students make a post with their answers. When everyone has submitted their work, the teacher can open up the answers so the students will be able to discuss them.

A second use case can be an auction where something is offered for sale. People can post their bid and when the sale is done, the topic owner can reveal all bids in order to show the community that everything went according to the rules.

Restrictions

The topic list icons will still show who has posted in the topic. You will also be able to see 'user xxx is replying' at the bottom of the topic.