# 添加站点设置，不显示用户资料中的“邀请人”

**URL:** <https://meta.discourse.org/t/add-site-setting-to-not-show-invited-by-on-user-profiles/241038>\
**Category:** Feature\
**Tags:** invites\
**Created:** [2022 年10 月 5 日 16:22 UTC](https://meta.discourse.org/t/add-site-setting-to-not-show-invited-by-on-user-profiles/241038 "2022-10-05T16:22:19Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

作者： ![khenmu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/khenmu/32/108976_2.png) [@khenmu](https://meta.discourse.org/u/khenmu)\
发布日期： [2022 年10 月 5 日 23:13 UTC](https://meta.discourse.org/t/add-site-setting-to-not-show-invited-by-on-user-profiles/241038/3 "2022-10-05T23:13:44Z")

</div>

> [@yhh9xdq7dc](#):
>
> 我的意思是，也许它只应该对工作人员可见，对吧？为什么每个人都要知道我被某个特定用户邀请了？

有什么理由要隐藏它吗？它在我看来并不是敏感信息。人们可以对个人资料页面上的几乎所有字段提出类似的问题，论据同样充分。

&nbsp;

> [@darkpixlz](#):
>
> 也许可以为此设置一个选项，“查看邀请状态所需的信任级别”？

我认为保留经过精心策划的偏好设置很重要；每个添加都会带来用户体验成本——添加的越多，每个选项就越难被发现。我不认为这是一个很好的候选方案。只有管理员可以更改站点设置，他们同样可以轻松地使用 CSS 来实现相同的功能。

类似这样的东西应该可以完成工作；

```css
.invited-by {
    display: none !important;
}

```

如果工作人员_确实_想保留对信息的访问权限，他们可以使用 `:not(.staff)` 或其他类似的东西。

---

_[View the full topic](https://meta.discourse.org/t/add-site-setting-to-not-show-invited-by-on-user-profiles/241038)._
