Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.58 KB

README.md

File metadata and controls

39 lines (31 loc) · 1.58 KB

discourse-hide-full-names

A Discourse plugin to hide full names from bots/spiders and guest (i.e. non-logged) users in individual posts.

NOTE! This plugin does not work anymore.

Usage

Install and enable along with

  • Settings > Users > enable names + hide user profiles from public
  • Settings > Posting > display name on posts

Installation

Follow the Install a Plugin howto, adding the lines

- git clone https://github.com/tmikkonen/discourse-hide-full-names.git
- bash discourse-hide-full-names/script/plugin.sh

Known Issues

  • No l10n other than en.
  • Overrides a core file in Discourse. If/when that core file is updated, this plugin will need updating too.
    UPDATE v0.2: Each rebuild now creates the overriding file from the core file thus minimizing (but not totally obsoleting) the need to keep track of every Discourse update.
  • It seems Settings > Users > prioritize username in ux needs to be enabled, too. Otherwise usernames are hidden and full names shown
    UPDATE v0.3: The overriding file is now created with cleaner code making it irrelevant whether usernames are prioritized or not.
  • The script isn't run when updating using Discourse GUI, therefore either run it via command line by entering the Docker app after GUI update:
# cd /var/discourse
# ./launcher enter app
# plugins/discourse-hide-full-names/script/plugin.sh
# exit

or just forget the GUI update and rebuild:

# cd /var/discourse
# ./launcher rebuild app