# 插件出口是否被过度隐藏？

**URL:** <https://meta.discourse.org/t/over-zealous-hiding-of-plugin-outlet/153721>\
**Category:** Development\
**Created:** [2020 年6 月 3 日 16:47 UTC](https://meta.discourse.org/t/over-zealous-hiding-of-plugin-outlet/153721 "2020-06-03T16:47:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
发布日期： [2020 年6 月 3 日 16:47 UTC](https://meta.discourse.org/t/over-zealous-hiding-of-plugin-outlet/153721/1 "2020-06-03T16:47:42Z")

</div>

团队，

插件出口：user-card-location-and website 被隐藏了

> <https://github.com/discourse/discourse/blob/207b72ade18c07a5e131217b76722d6e9b926984/app/assets/javascripts/discourse/app/templates/components/user-card-contents.hbs>

如果用户未输入默认的地点或网站，hasLocaleOrWebsite 为 false，这会隐藏出口（你可以在插件出口的主题组件中清楚地看到这一点）。

这是否过于严格了？

对于 Discourse-Locations 插件来说，问题在于，要查看与此插件位置关联的地图位置（嘿，这是另一种形式的位置！），这些条件都不应该是必需的。

> <https://github.com/discourse/discourse/commit/bb4e965a6694710069cb11b509ebbd1c32847a5c>
>
> This adds a site setting (default off) to optionally show a user's local time an…d timezone in their user card. For example, I live in Brisbane, and if at 3:30PM my time I were to open a user who lives in California's card I would see 22:30 (PST).

不知你是否能帮忙看一下？

谢谢！！

Rob

---

_[View the full topic](https://meta.discourse.org/t/over-zealous-hiding-of-plugin-outlet/153721)._
