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

**URL:** <https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244>\
**Category:** Plugin\
**Tags:** broken\
**Created:** [2018年三月30日 16:00 UTC](https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244 "2018-03-30T16:00:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JSey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsey/32/3540_2.png) [@JSey](https://meta.discourse.org/u/JSey)\
**Post date:** [2018年三月30日 16:00 UTC](https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244/1 "2018-03-30T16:00:18Z")

</div>

继续讨论来自 [限制用户资料的公开查看](https://meta.discourse.org/t/restrict-public-viewing-of-user-profile/21098/23)：

> [@purldator](#):
>
> 相关话题：  
> [Is there any possibility, that only Members can view the personal Profiles?](https://meta.discourse.org/t/is-there-any-possibility-that-only-members-can-view-the-personal-profiles/23948)

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

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/2/b/02bb9cd9b5ec9581f8fc6eb99237c428d6e4e85e.png)

登录后则显示如下：

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/1/c/91c3861c1273fb0cdfbacc9f9f69d92590defd9c.png)

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

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/3/3/733a0fa0b584faf6aba986f1d5e06823daf695a9.png)

请注意，目前用户卡片尚未被修改（这显然是缺失的，否则该插件就有些毫无意义。我会尽快添加此功能）。我也在寻找更好的方法来处理该插件中需要维护的 user.hbs 副本——欢迎提供任何建议。我发现了 @neil 在此处的评论 [1](https://meta.discourse.org/t/how-to-override-an-existing-handlebars-template-from-plugin/10201/2?u=jsey)，但该示例的链接已失效。

该插件的 GitHub 地址如下：

> **[GitHub - JoeSey/more-privacy: A simple plugin to suppress some of the...](https://github.com/JoeSey/more-privacy)**
>
> A simple plugin to suppress some of the information presented on the user profile pages of Discourse

---

<div class="post-metadata">

**Author:** ![JSey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsey/32/3540_2.png) [@JSey](https://meta.discourse.org/u/JSey)\
**Post date:** [2018年三月30日 16:00 UTC](https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244/2 "2018-03-30T16:00:18Z")

</div>

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

[https://github.com/JSey/more-privacy/commit/6dfed73164f88329cf57f815a4dbfa978c301808](https://github.com/JSey/more-privacy/commit/6dfed73164f88329cf57f815a4dbfa978c301808)

---

<div class="post-metadata">

**Author:** ![Na2HPO4](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/na2hpo4/32/43129_2.png) [@Na2HPO4](https://meta.discourse.org/u/Na2HPO4)\
**Post date:** [2018年三月30日 16:00 UTC](https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244/3 "2018-03-30T16:00:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2018年三月30日 16:00 UTC](https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244/4 "2018-03-30T16:00:18Z")

</div>

OK, moved to broken plugins for now.

---

<div class="post-metadata">

**Author:** ![JSey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jsey/32/3540_2.png) [@JSey](https://meta.discourse.org/u/JSey)\
**Post date:** [2018年三月30日 16:00 UTC](https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244/5 "2018-03-30T16:00:18Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2018年三月30日 16:00 UTC](https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244/6 "2018-03-30T16:00:18Z")

</div>

Moved it out of broken plugins for now then

---

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [2018年三月30日 16:00 UTC](https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244/7 "2018-03-30T16:00:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [2018年三月30日 16:00 UTC](https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244/8 "2018-03-30T16:00:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2024年六月18日 15:48 UTC](https://meta.discourse.org/t/more-privacy-hide-parts-of-user-profiles/33244/9 "2024-06-18T15:48:01Z")

</div>


