# Latest

**URL:** https://meta.discourse.org/latest.md?ascending=true&page=388

[最新](https://meta.discourse.org/latest.md) · [类别](https://meta.discourse.org/categories.md) · [标签](https://meta.discourse.org/tags.md)

**Page:** 389

---

## [如何处理用户IP地址](https://meta.discourse.org/t/what-to-do-with-user-ip-address/91827)

<div class="topic-metadata">

**Author:** [@tyraniczar](https://meta.discourse.org/u/tyraniczar)\
**回复:** 2\
**最近更新：:** [2018 年7 月 9 日 01:13 UTC](https://meta.discourse.org/t/what-to-do-with-user-ip-address/91827 "2018-07-09T01:13:31Z")

</div>

大家好，我正在撰写我的隐私政策，看到了关于存储 IP 地址的部分。存储用户的 IP 地址能给我带来什么好处？对于反机器人措施之类的应用来说，这是否是必要的？谢谢。

---

## [多项选择题的百分比总和超过100%](https://meta.discourse.org/t/multiple-choice-polls-adding-up-to-more-than-100/91838)

<div class="topic-metadata">

**Author:** [@WooHooGaming13](https://meta.discourse.org/u/WooHooGaming13)\
**回复:** 2\
**最近更新：:** [2018 年7 月 9 日 01:48 UTC](https://meta.discourse.org/t/multiple-choice-polls-adding-up-to-more-than-100/91838 "2018-07-09T01:48:20Z")

</div>

我是来参与投票的。我不确定这是否应该发生，但显然这些比例加起来不到100%。

---

## [未初始化的常量 EXIFR::JPEG](https://meta.discourse.org/t/uninitialized-constant-exifr-jpeg/90281)

<div class="topic-metadata">

**Author:** [@tophee](https://meta.discourse.org/u/tophee)\
**回复:** 5\
**最近更新：:** [2018 年7 月 9 日 02:31 UTC](https://meta.discourse.org/t/uninitialized-constant-exifr-jpeg/90281 "2018-07-09T02:31:49Z")

</div>

继续之前关于“上传 JPG 时出现未初始化常量”的讨论： 这个 bug 又出现了。现在在 Meta 上就发生了……

---

## [徽章显示异常？](https://meta.discourse.org/t/flag-badge-being-glitched/91792)

<div class="topic-metadata">

**Author:** [@WooHooGaming13](https://meta.discourse.org/u/WooHooGaming13)\
**回复:** 2\
**最近更新：:** [2018 年7 月 9 日 02:36 UTC](https://meta.discourse.org/t/flag-badge-being-glitched/91792 "2018-07-09T02:36:49Z")

</div>

所以我发现了一篇有点粗鲁的帖子并进行了举报，但却收到一枚“首次举报帖子”的徽章。我之前已经多次举报过帖子了。我不知道这个举报徽章是不是新推出的，或者有什么其他原因。

---

## [社交媒体注册选项的放置](https://meta.discourse.org/t/placement-of-social-media-signup-options/91778)

<div class="topic-metadata">

**Author:** [@Griff\_Wigley](https://meta.discourse.org/u/Griff_Wigley)\
**回复:** 9\
**最近更新：:** [2018 年7 月 9 日 05:06 UTC](https://meta.discourse.org/t/placement-of-social-media-signup-options/91778 "2018-07-09T05:06:47Z")

</div>

我的网站注册表单包含大量新用户需填写的字段。问题在于，通过 Facebook、Google 等注册的图标/选项位于右侧边栏居中位置，且页面靠下。新用户往往无法……

---

## [当全局配置 s3\_backups 时仪表盘显示警告](https://meta.discourse.org/t/dashboard-warning-when-s3-backups-are-globally-configured/88872)

<div class="topic-metadata">

**Author:** [@supermathie](https://meta.discourse.org/u/supermathie)\
**回复:** 1\
**最近更新：:** [2018 年7 月 9 日 05:42 UTC](https://meta.discourse.org/t/dashboard-warning-when-s3-backups-are-globally-configured/88872 "2018-07-09T05:42:31Z")

</div>

使用 .yml 文件中的全局设置，例如： DISCOURSE\_S3\_REGION: us-west-1 DISCOURSE\_S3\_BUCKET: fetch-me-a-bucket DISCOURSE\_S3\_CDN\_URL: https://fhqwhgads.cloudfront.net DISCOURSE\_S3\_USE\_IAM\_PROFILE: true ……

---

## [Suggestion regarding the box-shadow of the Dark Theme composer](https://meta.discourse.org/t/suggestion-regarding-the-box-shadow-of-the-dark-theme-composer/77102)

<div class="topic-metadata">

**Author:** [@tshenry](https://meta.discourse.org/u/tshenry)\
**回复:** 4\
**最近更新：:** [2018 年7 月 9 日 06:57 UTC](https://meta.discourse.org/t/suggestion-regarding-the-box-shadow-of-the-dark-theme-composer/77102 "2018-07-09T06:57:10Z")

</div>

This could just be an individual taste situation, but I noticed that the composer has a “white glow” when using the Dark Theme. It’s especially apparent when hiding the preview in the composer. I changed mine to a darker…

---

## [Arrow key doesn't scroll on search results page (Firefox)](https://meta.discourse.org/t/arrow-key-doesnt-scroll-on-search-results-page-firefox/77076)

<div class="topic-metadata">

**Author:** [@abrambailey](https://meta.discourse.org/u/abrambailey)\
**回复:** 3\
**最近更新：:** [2018 年7 月 9 日 07:17 UTC](https://meta.discourse.org/t/arrow-key-doesnt-scroll-on-search-results-page-firefox/77076 "2018-07-09T07:17:22Z")

</div>

To replicate: Click on the magnifying glass. Type search term. Press enter. Search box disappears. Results come up. Press down arrow to scroll. Nothing happens. Running v1.9.0.beta17 +86 and FF 58.0b13 (64-bit)

---

## [Hide Details applies separately](https://meta.discourse.org/t/hide-details-applies-separately/68152)

<div class="topic-metadata">

**Author:** [@SidV](https://meta.discourse.org/u/SidV)\
**回复:** 3\
**最近更新：:** [2018 年7 月 9 日 07:45 UTC](https://meta.discourse.org/t/hide-details-applies-separately/68152 "2018-07-09T07:45:40Z")

</div>

This bug has to be re-open: Hide Details applies separately to each paragraph. Reproduction Write several lines of text (separate with linebreak) Choose all the lines. Click Hide Details. PROFIT Tested here, right now…

---

## [请勿使用 Sidekiq 队列处理“发现异常”邮件](https://meta.discourse.org/t/dont-use-sidekiq-queue-to-process-problems-have-been-found-email/91867)

<div class="topic-metadata">

**Author:** [@LeoMcA](https://meta.discourse.org/u/LeoMcA)\
**回复:** 2\
**最近更新：:** [2018 年7 月 9 日 10:03 UTC](https://meta.discourse.org/t/dont-use-sidekiq-queue-to-process-problems-have-been-found-email/91867 "2018-07-09T10:03:03Z")

</div>

我们最近观察到一些随机的 Sidekiq 崩溃，希望已通过“修复：更新 mini\_racer 以修正不规则的段错误”（discourse/discourse@f662d11 · GitHub）解决。 一个问题是，没有任何明显的迹象告诉我们 t…

---

## [未登录时，禁用的未分类类别会在移动浏览器中显示](https://meta.discourse.org/t/disabled-uncategorized-category-is-shown-in-mobile-browsers-when-unlogged/81181)

<div class="topic-metadata">

**Author:** [@Ivan\_Rapekas](https://meta.discourse.org/u/Ivan_Rapekas)\
**回复:** 7\
**最近更新：:** [2018 年7 月 9 日 10:06 UTC](https://meta.discourse.org/t/disabled-uncategorized-category-is-shown-in-mobile-browsers-when-unlogged/81181 "2018-07-09T10:06:12Z")

</div>

未登录用户能够查看和访问已禁用的“未分类”类别（仅限移动浏览器）： 您可以确保该类别不会出现在桌面浏览器中。

---

## [标签 - 已设置但未生效](https://meta.discourse.org/t/tag-set-but-not-set/80839)

<div class="topic-metadata">

**Author:** [@frold](https://meta.discourse.org/u/frold)\
**回复:** 1\
**最近更新：:** [2018 年7 月 9 日 14:37 UTC](https://meta.discourse.org/t/tag-set-but-not-set/80839 "2018-07-09T14:37:05Z")

</div>

我已通过以下设置将标签提供给某个类别：\[45\] 在前台发布帖子时，默认类别为“未分类”。 假设我将其更改为另一个论坛“Studmed 辩论”……

---

## [如何在 WordPress 站点中使用品牌页眉 HTML](https://meta.discourse.org/t/how-to-use-brand-header-html-in-my-wordpress-site/91859)

<div class="topic-metadata">

**Author:** [@bekircem](https://meta.discourse.org/u/bekircem)\
**回复:** 12\
**最近更新：:** [2018 年7 月 9 日 16:04 UTC](https://meta.discourse.org/t/how-to-use-brand-header-html-in-my-wordpress-site/91859 "2018-07-09T16:04:59Z")

</div>

继续讨论“品牌标题主题组件”： 我该如何访问该栏的 HTML 代码？我可以访问 CSS 代码，但无法通过 Google Chrome 的“查看页面源代码”功能看到 HTML 代码。我想使用该栏……

---

## [Support for wildcards in word censoring](https://meta.discourse.org/t/support-for-wildcards-in-word-censoring/26866)

<div class="topic-metadata">

**Author:** [@tonninseteli](https://meta.discourse.org/u/tonninseteli)\
**回复:** 15\
**最近更新：:** [2018 年7 月 9 日 16:06 UTC](https://meta.discourse.org/t/support-for-wildcards-in-word-censoring/26866 "2018-07-09T16:06:45Z")

</div>

I don’t know if anyone actually uses this for other than fun but due to inflection it would be nice to be able to use wildcards when adding censored words.

---

## [多站点，2 个容器及"PG::ConnectionBad: 无法连接到服务器”错误](https://meta.discourse.org/t/multisite-2-containers-and-pg-could-not-connect-to-server-error/91877)

<div class="topic-metadata">

**Author:** [@CamilleRoux](https://meta.discourse.org/u/CamilleRoux)\
**回复:** 1\
**最近更新：:** [2018 年7 月 9 日 16:31 UTC](https://meta.discourse.org/t/multisite-2-containers-and-pg-could-not-connect-to-server-error/91877 "2018-07-09T16:31:27Z")

</div>

嗨！我有一个包含容器数据.yml 和 web\_only.yml 的安装。我尝试了多站点安装，但在尝试引导 web\_only 时出现以下错误： rake aborted! PG::ConnectionBad: 无法连接到 t…

---

## [Linking to portions of a post](https://meta.discourse.org/t/linking-to-portions-of-a-post/14022)

<div class="topic-metadata">

**Author:** [@thristhart](https://meta.discourse.org/u/thristhart)\
**回复:** 12\
**最近更新：:** [2018 年7 月 9 日 17:50 UTC](https://meta.discourse.org/t/linking-to-portions-of-a-post/14022 "2018-07-09T17:50:49Z")

</div>

Is there any way to link to a specific subportion of a large post? At first I attempted to specify an HTML name for an element and reference it \[like so\](#name). However, discourse (rightly) automatically strips name and…

---

## [502 网关错误：Apache 代理多站点配置](https://meta.discourse.org/t/502-bad-gateway-apache-proxy-multi-site-config/91660)

<div class="topic-metadata">

**Author:** [@Aashish\_Gangwani](https://meta.discourse.org/u/Aashish_Gangwani)\
**回复:** 39\
**最近更新：:** [2018 年7 月 9 日 17:57 UTC](https://meta.discourse.org/t/502-bad-gateway-apache-proxy-multi-site-config/91660 "2018-07-09T17:57:35Z")

</div>

我有一个网站“forum.6figureswithchris.com”，它之前在代理端口 8080 上运行正常，并且我使用了端口 80 上的 Apache，但突然出现了“502 错误网关”。 ##这是所有功能集成、独立运行的 Discourse Docker 容器…

---

## [如何检查“热链接”徽章中用户的唯一性？](https://meta.discourse.org/t/how-to-check-the-uniqueness-of-users-in-hot-link-badge/91471)

<div class="topic-metadata">

**Author:** [@pkulkov](https://meta.discourse.org/u/pkulkov)\
**回复:** 12\
**最近更新：:** [2018 年7 月 9 日 17:59 UTC](https://meta.discourse.org/t/how-to-check-the-uniqueness-of-users-in-hot-link-badge/91471 "2018-07-09T17:59:34Z")

</div>

如果我在链接中包含我的名字（?u=username）并刷新页面 300 次，我就能获得这个徽章。如何防止被滥用？

---

## [部署与 RTL 安装请求](https://meta.discourse.org/t/deployment-and-rtl-installation-request/91907)

<div class="topic-metadata">

**Author:** [@muhammad\_ghaith\_laba](https://meta.discourse.org/u/muhammad_ghaith_laba)\
**回复:** 3\
**最近更新：:** [2018 年7 月 9 日 18:37 UTC](https://meta.discourse.org/t/deployment-and-rtl-installation-request/91907 "2018-07-09T18:37:49Z")

</div>

您希望完成什么任务？ 我需要有人在一台专用服务器上部署 Discourse 版本。 您需要在什么时候完成？ 10 天内。 您能为此任务提供的预算是多少（美元）？ 100 美元，我会……

---

## [分类列表收到刚创建的子分类时出现 Bug](https://meta.discourse.org/t/bug-when-the-category-list-receives-a-new-subcategory-that-was-just-created/91919)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回复:** 2\
**最近更新：:** [2018 年7 月 9 日 22:02 UTC](https://meta.discourse.org/t/bug-when-the-category-list-receives-a-new-subcategory-that-was-just-created/91919 "2018-07-09T22:02:42Z")

</div>

你好。 所以，如果你正在浏览 Discourse 页面，而管理员创建了一个新的子分类，你页面上的分类列表会通过 Ajax 自动更新，这很好。 在创建分类时功能正常，但存在一个漏洞……

---

## [用户个人资料中的自定义字段对齐](https://meta.discourse.org/t/custom-fields-alignment-on-user-profile/91595)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回复:** 4\
**最近更新：:** [2018 年7 月 10 日 00:03 UTC](https://meta.discourse.org/t/custom-fields-alignment-on-user-profile/91595 "2018-07-10T00:03:58Z")

</div>

你好， 这是我的一位用户的个人资料： 我觉得这样会更好（我添加了 overflow: hidden;）： 您怎么看？

---

## [为 TL1 及以上等级隐藏“NEW”](https://meta.discourse.org/t/hide-new-for-tl1-and-above/83131)

<div class="topic-metadata">

**Author:** [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)\
**回复:** 14\
**最近更新：:** [2018 年7 月 10 日 00:09 UTC](https://meta.discourse.org/t/hide-new-for-tl1-and-above/83131 "2018-07-10T00:09:12Z")

</div>

我们最近开始为 TL1 及以上用户隐藏类别下拉菜单中的描述。我在想是否可以将此应用扩展到 Discourse 的其他视觉元素上。首先想到的是“新”标识，它目前被截断了……

---

## [Facebook用户会收到电子邮件吗？](https://meta.discourse.org/t/do-facebook-users-get-emails/91924)

<div class="topic-metadata">

**Author:** [@Seanny123](https://meta.discourse.org/u/Seanny123)\
**回复:** 1\
**最近更新：:** [2018 年7 月 10 日 00:19 UTC](https://meta.discourse.org/t/do-facebook-users-get-emails/91924 "2018-07-10T00:19:11Z")

</div>

Facebook 用户会收到通知邮件吗？这里暗示他们不会收到，但我想在鼓励我创建的 Discourse 中的所有用户切换之前，先确认一下官方答案。

---

## [无法通过键盘聚焦页面上出现的新主题链接](https://meta.discourse.org/t/unable-to-focus-on-new-topic-link-that-appears-on-the-page-via-keyboard/84437)

<div class="topic-metadata">

**Author:** [@sivakumar\_k](https://meta.discourse.org/u/sivakumar_k)\
**回复:** 3\
**最近更新：:** [2018 年7 月 10 日 05:17 UTC](https://meta.discourse.org/t/unable-to-focus-on-new-topic-link-that-appears-on-the-page-via-keyboard/84437 "2018-07-10T05:17:20Z")

</div>

这是它的录音： \[new-msg-focus\] 页面上出现的链接的标记如下： \[40\]

---

## [Topic quoting itself displays reply indicator](https://meta.discourse.org/t/topic-quoting-itself-displays-reply-indicator/76085)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**回复:** 18\
**最近更新：:** [2018 年7 月 10 日 05:47 UTC](https://meta.discourse.org/t/topic-quoting-itself-displays-reply-indicator/76085 "2018-07-10T05:47:09Z")

</div>

If a topic quotes itself, the “1 reply” indicator is displayed despite there being no replies, even if the quote is removed during the 5 minute edit window.

---

## [汉堡菜单中分类的主题数量不正确](https://meta.discourse.org/t/wrong-number-of-topics-in-categories-in-the-hamburger-menu/91775)

<div class="topic-metadata">

**Author:** [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**回复:** 10\
**最近更新：:** [2018 年7 月 10 日 07:45 UTC](https://meta.discourse.org/t/wrong-number-of-topics-in-categories-in-the-hamburger-menu/91775 "2018-07-10T07:45:46Z")

</div>

我猜一个分类下的主题数量应该等于其所有子分类主题数量的总和。但在汉堡菜单中并非如此：在我们添加 … 的某个时间点，出现了奇怪的负数主题数量。

---

## [“用户登出 API”返回成功响应，但用户会话仍然有效](https://meta.discourse.org/t/user-log-out-api-return-success-in-response-but-user-session-still-alive/91468)

<div class="topic-metadata">

**Author:** [@kalpantkrishna\_patil](https://meta.discourse.org/u/kalpantkrishna_patil)\
**回复:** 10\
**最近更新：:** [2018 年7 月 10 日 08:29 UTC](https://meta.discourse.org/t/user-log-out-api-return-success-in-response-but-user-session-still-alive/91468 "2018-07-10T08:29:43Z")

</div>

您好， 我正在使用 SSO 设置，并从我的应用程序调用用户登出 API（https://discourse.example.com/admin/users/{id}/log\_out）。现在 API 返回成功响应，但用户会话在浏览器中仍然存活。应该……

---

## [无法部署到 Heroku](https://meta.discourse.org/t/cant-deploy-to-heroku/90491)

<div class="topic-metadata">

**Author:** [@zyouchi](https://meta.discourse.org/u/zyouchi)\
**回复:** 10\
**最近更新：:** [2018 年7 月 10 日 09:59 UTC](https://meta.discourse.org/t/cant-deploy-to-heroku/90491 "2018-07-10T09:59:06Z")

</div>

大家好。 我正尝试使用 Discourse 发布一项服务。 由于已在本地环境中运行（参考此链接），我现在正尝试参考以下链接将其部署到 Heroku。 在 … 上设置 Discourse

---

## [迁移后验证失败的帖子抛出“422”错误而非“友好”提示](https://meta.discourse.org/t/topics-failing-validation-after-migration-throw-422-error-instead-of-nice-message/89148)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**回复:** 4\
**最近更新：:** [2018 年7 月 10 日 10:08 UTC](https://meta.discourse.org/t/topics-failing-validation-after-migration-throw-422-error-instead-of-nice-message/89148 "2018-07-10T10:08:45Z")

</div>

当数据从其他软件平台迁移时，如果这些话题在 Discourse 上创建，可能会被视为“无效”。导致话题“无效”的常见原因包括：最小话题标题长度、最大话题标题长度…

---

## [\[Widget\] 基于群组权限的菜单](https://meta.discourse.org/t/widget-menu-based-on-group-permission/91997)

<div class="topic-metadata">

**Author:** [@tanzaho](https://meta.discourse.org/u/tanzaho)\
**回复:** 1\
**最近更新：:** [2018 年7 月 10 日 16:51 UTC](https://meta.discourse.org/t/widget-menu-based-on-group-permission/91997 "2018-07-10T16:51:43Z")

</div>

我使用 api.decorateWidget 方法构建了一个导航菜单。 以下是我模板文件中的示例： api.decorateWidget('home-logo:after', helper =\> { c…

[上一页](https://meta.discourse.org/latest.md?ascending=true&page=387)

[下一页](https://meta.discourse.org/latest.md?ascending=true&page=389)
