More-privacy: hide parts of user profiles

AI-generated summary

More-privacy: hide parts of user profiles

The discussion revolves around a plugin created by JSey to hide parts of user profiles from anonymous users. The plugin’s goal is to make user profiles look different when viewed from an anonymous account versus a logged-in account. JSey released the first version of the plugin and later updated it to version 0.0.2, adding support for user cards.

However, users encountered issues with the plugin. Na2HPO4 reported that the plugin broke the user page on their site, while sam initially moved the plugin to the “broken plugins” category. JSey asked for reproducibility and provided troubleshooting tips.

Rgj pointed out that the plugin overrides the user.hbs template with an outdated version, which might not be ideal. jomaxro agreed with this concern and suggested waiting for JSey to update the plugin before making further decisions.

Continuing the discussion from Restrict public viewing of user profile:

I have just released the very first version of a plugin that tries to accomplish what users from my community want: make the user profiles look like this:

when viewed from the anonymous account, and like this:

after logging in. Settings are currently limited to this:

Note that currently, user cards are not yet altered (which is clearly missing because otherwise, this plugin is a bit pointless. I will add this ASAP). I am also looking for a better approach for the user.hbs copy I have to maintain within that plugin - any pointers are welcome. I found @neil’s remark here, but the link for the example is broken.

Here’s the plugin on GitHub:

https://github.com/JSey/more-privacy

10 Likes

Release 0.0.2 now also supports user cards and thereby completes the basic functionality.

https://github.com/JSey/more-privacy/commit/6dfed73164f88329cf57f815a4dbfa978c301808

2 Likes

This plugin is broken. After installing this on my site the user page cannot be displayed anymore, it just keep loading. Please fix this…thx

1 Like

OK, moved to broken plugins for now.

Anybody has a repro here? @sam? I have this on the latest beta working just fine - you have to disable the setting “hide user profiles from public” provided by discourse, however… But this will not create a loading loop?

Moved it out of broken plugins for now then

2 Likes

This plugin overrides user.hbs with one that is over 2 years old. That doesn’t sound like a good idea…

3 Likes

I would agree with you this is likely not ideal. Let’s see if @JSey has any plans to update the plugin, if not will move the topic.

2 Likes