Discourse Anonymous Post

AI-generated summary

The Discourse Anonymous Post plugin allows users to post anonymously via a button in the composer, without needing to switch to anonymous mode. It currently supports replies only and uses a shared anonymous account for all users. Configuration involves enabling the plugin and setting an anonymous user account. Future features include support for creating topics anonymously, individual anonymous identities, rate limiting, and category-specific restrictions. The plugin is inspired by other Discourse plugins and has a known conflict with the paviliondev/discourse-events plugin. fokx notes that the plugin’s functionality is limited to replies and shares a single anonymous identity. Jagster suggests reordering the reply buttons to prioritize regular replies over anonymous ones, as users often prefer visible authorship, and proposes hiding the regular reply button via CSS if anonymous posts are desired in specific categories.

:information_source: Summary allows posting as anonymous user via a button in composer, without the need to switch to anonymous mode
:hammer_and_wrench: Repository Link https://github.com/fokx/discourse-anonymous-post
:open_book: Install Guide How to install plugins in Discourse

Features

  • currently only support reply
  • currently all users share one anonymous account

Configuration

enable it, and then configure anonymous post user (the anonymous identity you want to post as, you need to create one if it does not exist yet)

TODO

  • support ‘create new topic anonymously’
  • support ‘different identity for each user’
  • rate limit (by IP / user)
  • add configuration to limit anonymous posting to certain categories

Acknowledgements

Greatly inspired and helped by communiteq/discourse-anonymous-categories and muhlisbc/discourse-scheduled-reply-plugin. Thanks :heart:.

Note

I don’t know why, but this plugin doesn’t work when paviliondev/discourse-events is installed and enabled.

3 Likes

One small cosmetic request: order of buttons. Reply should be first and after that anon reply. And anon could be use not-so-CTA color.

The reason is simple. Quite often we would like to see normal posts with names, not by anons. But sure, this depends.

And… if there is need to offer just anon-posts in some category, we have a plugin to that purpose, but this could be alternative if we can hide ordinary reply-button. CSS is the easiest way I reckon.

2 Likes