更多隐私:隐藏用户资料部分内容

继续讨论来自 限制用户资料的公开查看

我刚刚发布了该插件的第一个版本,旨在实现我社区用户所期望的功能:使匿名用户查看用户资料时显示如下:

登录后则显示如下:

目前的设置仅限于以下内容:

请注意,目前用户卡片尚未被修改(这显然是缺失的,否则该插件就有些毫无意义。我会尽快添加此功能)。我也在寻找更好的方法来处理该插件中需要维护的 user.hbs 副本——欢迎提供任何建议。我发现了 @neil 在此处的评论 1,但该示例的链接已失效。

该插件的 GitHub 地址如下:

10 个赞

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

2 个赞

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 个赞

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 个赞

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

3 个赞

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 个赞