| app/controllers/discourse_private_replies | ||
| assets/javascripts/discourse | ||
| config | ||
| lib/discourse_private_replies | ||
| screenshots | ||
| spec | ||
| .discourse-compatibility | ||
| .gitignore | ||
| .prettierrc.cjs | ||
| eslint.config.mjs | ||
| LICENSE | ||
| package.json | ||
| plugin.rb | ||
| pnpm-lock.yaml | ||
| README.md | ||
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.
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_allwill be able to see all posts. Ifprivate_replies_topic_starter_primary_group_can_see_alland/orprivate_replies_participants_can_see_allare enabled then those can see the posts as well.
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.

