# Latest

**URL:** https://meta.discourse.org/latest.md?page=1405&period=daily

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

**Page:** 1406

---

## [在标题栏中隐藏主题标题](https://meta.discourse.org/t/hiding-topic-title-in-header/118268)

<div class="topic-metadata">

**Author:** [@Gershon](https://meta.discourse.org/u/Gershon)\
**回复:** 2\
**最近更新：:** [2019 年5 月 21 日 22:46 UTC](https://meta.discourse.org/t/hiding-topic-title-in-header/118268 "2019-05-21T22:46:41Z")

</div>

您好，我一直在使用以下线程中的修复方案：https://meta.discourse.org/t/is-it-possible-to-disable-topic-title-in-header/75502/3 \<script type="text/discourse-plugin" version="0.8.13"\> api.modifyClass('compone…

---

## [日志中存在大量错误](https://meta.discourse.org/t/lots-of-errors-in-logs/118144)

<div class="topic-metadata">

**Author:** [@Dmitry\_Krasnoperov](https://meta.discourse.org/u/Dmitry_Krasnoperov)\
**回复:** 6\
**最近更新：:** [2019 年5 月 21 日 19:45 UTC](https://meta.discourse.org/t/lots-of-errors-in-logs/118144 "2019-05-21T19:45:47Z")

</div>

我出于好奇启用了“如果每小时错误数达到 25 个则向管理员发出警报”的选项。 现在我知道了 :frowning: 日志中有大量错误 最常见的是 502 x TypeError: Failed to construct 'Notification': Illegal con…

---

## [Redis 在新装常见版本中崩溃](https://meta.discourse.org/t/redis-rip-on-new-fresh-common-install/77921)

<div class="topic-metadata">

**Author:** [@nick7](https://meta.discourse.org/u/nick7)\
**回复:** 11\
**最近更新：:** [2019 年5 月 21 日 18:36 UTC](https://meta.discourse.org/t/redis-rip-on-new-fresh-common-install/77921 "2019-05-21T18:36:12Z")

</div>

我尝试在新的 VPS 上创建新安装，但在 shared/standalone/log/rails/production.log 中看到了以下日志（这可能也是无法通过 SMTP 发送电子邮件的原因）。 因此，我在 DigitalOcean Ubuntu 16 的实例上进行了同样的检查……

---

## [How to use translation from client.fa\_IR.yml in javascript code?](https://meta.discourse.org/t/how-to-use-translation-from-client-fa-ir-yml-in-javascript-code/60367)

<div class="topic-metadata">

**Author:** [@Alavi1412](https://meta.discourse.org/u/Alavi1412)\
**回复:** 1\
**最近更新：:** [2017 年4 月 3 日 12:18 UTC](https://meta.discourse.org/t/how-to-use-translation-from-client-fa-ir-yml-in-javascript-code/60367 "2017-04-03T12:18:11Z")

</div>

I wrote a plugin and I want to use some of the strings in config/locales/client.fa\_IR.yml in my java script code(NOT handlebars) but I don’t know how? Can anyone help me? For exmaple I have: fa\_IR: js: user: …

---

## [DB 所有权/清除生产数据](https://meta.discourse.org/t/db-ownership-wiping-out-production/113534)

<div class="topic-metadata">

**Author:** [@pgr](https://meta.discourse.org/u/pgr)\
**回复:** 11\
**最近更新：:** [2019 年5 月 21 日 11:39 UTC](https://meta.discourse.org/t/db-ownership-wiping-out-production/113534 "2019-05-21T11:39:02Z")

</div>

你好。我正试图清空我的生产服务器，想知道我哪里做错了（除了“试图清空生产服务器”这一点听起来确实很糟糕，但它实际上还未投入生产，我只是……）

---

## [授予徽章视图未显示任何数据](https://meta.discourse.org/t/grant-badge-view-not-displaying-any-data/118235)

<div class="topic-metadata">

**Author:** [@twm](https://meta.discourse.org/u/twm)\
**回复:** 4\
**最近更新：:** [2019 年5 月 21 日 11:11 UTC](https://meta.discourse.org/t/grant-badge-view-not-displaying-any-data/118235 "2019-05-21T11:11:08Z")

</div>

我的 Discourse 版本是 v2.3.0.beta9 +492。我在安全模式下遇到了此问题，此时自定义主题、自定义插件和官方插件均已禁用。 视图渲染正确，但不显示任何动态数据。 T…

---

## [在 Grey Amber 主题标题中包含 dtoc](https://meta.discourse.org/t/contains-dtoc-in-grey-amber-theme-header/118238)

<div class="topic-metadata">

**Author:** [@Ellibereth](https://meta.discourse.org/u/Ellibereth)\
**回复:** 6\
**最近更新：:** [2019 年5 月 21 日 09:35 UTC](https://meta.discourse.org/t/contains-dtoc-in-grey-amber-theme-header/118238 "2019-05-21T09:35:15Z")

</div>

如果您在此处切换到 Grey Amber 主题，您可以在标题中看到“contains\_dtoc”。 不确定这属于哪个类别（此处或 bug）。

---

## [迁移到其他服务器有多容易？](https://meta.discourse.org/t/how-easy-is-it-to-move-to-another-server/118133)

<div class="topic-metadata">

**Author:** [@shaco](https://meta.discourse.org/u/shaco)\
**回复:** 5\
**最近更新：:** [2019 年5 月 21 日 07:59 UTC](https://meta.discourse.org/t/how-easy-is-it-to-move-to-another-server/118133 "2019-05-21T07:59:41Z")

</div>

我只需要在新的主机上安装新的 Discourse，绑定域名，然后上传我的备份吗？

---

## [最近几次更新中的内存缓慢增长问题](https://meta.discourse.org/t/memory-creep-in-last-couple-of-updates/117746)

<div class="topic-metadata">

**Author:** [@RBoy](https://meta.discourse.org/u/RBoy)\
**回复:** 27\
**最近更新：:** [2019 年5 月 21 日 07:42 UTC](https://meta.discourse.org/t/memory-creep-in-last-couple-of-updates/117746 "2019-05-21T07:42:39Z")

</div>

在过去几周里，我注意到系统内存使用率每天都在逐渐上升，直至达到最大值。 以往内存使用率通常在 50% 至 55% 之间（在 3GB 内存的系统中）。但更新后，它一开始就达到 50% …

---

## [子分类页面标题中未显示父分类名称](https://meta.discourse.org/t/parent-category-name-is-not-shown-in-sub-category-page-title/100284)

<div class="topic-metadata">

**Author:** [@Anil\_Gupta](https://meta.discourse.org/u/Anil_Gupta)\
**回复:** 7\
**最近更新：:** [2019 年5 月 21 日 07:04 UTC](https://meta.discourse.org/t/parent-category-name-is-not-shown-in-sub-category-page-title/100284 "2019-05-21T07:04:23Z")

</div>

我不确定这是一个 bug 还是我遗漏了任何管理员设置。 我尝试了管理员设置： 当我在分类页面时，它会显示分类名称。 但是，如果我在子分类页面，它只显示子分类名称在…

---

## [引导失败，提示“postgres 已在运行”](https://meta.discourse.org/t/failed-to-bootstrap-with-postgres-already-running/118225)

<div class="topic-metadata">

**Author:** [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**回复:** 4\
**最近更新：:** [2019 年5 月 21 日 05:49 UTC](https://meta.discourse.org/t/failed-to-bootstrap-with-postgres-already-running/118225 "2019-05-21T05:49:55Z")

</div>

今天早上我尝试重新启用一个插件（版主插件），在重建应用时遇到了以下错误。随后我禁用了该插件并再次重建，结果仍出现相同的错误。我还尝试禁用所有插件……

---

## [URL 的一部分最终变为“topic”](https://meta.discourse.org/t/part-of-url-ends-up-changing-to-topic/118273)

<div class="topic-metadata">

**Author:** [@nujabes](https://meta.discourse.org/u/nujabes)\
**回复:** 2\
**最近更新：:** [2019 年5 月 21 日 05:01 UTC](https://meta.discourse.org/t/part-of-url-ends-up-changing-to-topic/118273 "2019-05-21T05:01:28Z")

</div>

这是我 Discourse 站点的 URL 示例。 在我编辑之后，URL 变成了以下内容，这并非我所预期的。 如何让每个 URL 保持原样？

---

## [部分用户即使在邮件列表模式下也未收到邮件](https://meta.discourse.org/t/some-users-does-not-get-mail-even-when-in-mailing-list-mode/118217)

<div class="topic-metadata">

**Author:** [@brase](https://meta.discourse.org/u/brase)\
**回复:** 3\
**最近更新：:** [2019 年5 月 21 日 04:43 UTC](https://meta.discourse.org/t/some-users-does-not-get-mail-even-when-in-mailing-list-mode/118217 "2019-05-21T04:43:08Z")

</div>

你好， 我遇到一个问题，部分用户仅通过邮件列表模式使用我们的 Discourse。 我认为自从我升级到 2.2.4+2 版本（我不完全确定）后，他们就不再收到任何邮件了。在“跳过”部分中，所有…

---

## [操作指南：在移动端主题中垂直对齐用户名](https://meta.discourse.org/t/how-to-vertically-align-username-in-topics-on-mobile/118270)

<div class="topic-metadata">

**Author:** [@nexo](https://meta.discourse.org/u/nexo)\
**回复:** 1\
**最近更新：:** [2019 年5 月 21 日 02:41 UTC](https://meta.discourse.org/t/how-to-vertically-align-username-in-topics-on-mobile/118270 "2019-05-21T02:41:32Z")

</div>

你好，有人知道如何在移动端将用户名垂直居中对齐（在主题/帖子内）吗？在桌面上是垂直居中对齐的，但在手机上不是。

---

## [Broken links (blank page) with invalid URLs with double #](https://meta.discourse.org/t/broken-links-blank-page-with-invalid-urls-with-double/52640)

<div class="topic-metadata">

**Author:** [@frabrunelle](https://meta.discourse.org/u/frabrunelle)\
**回复:** 14\
**最近更新：:** [2017 年3 月 31 日 21:04 UTC](https://meta.discourse.org/t/broken-links-blank-page-with-invalid-urls-with-double/52640 "2017-03-31T21:04:01Z")

</div>

Earlier today, I posted a topic and I noticed that there was an issue with some of the links: https://safenetforum.org/t/matrix-riot-slack-irc-freenode/11711 The first two links inside that topic were broken: If yo…

---

## [更改纸箱类别颜色](https://meta.discourse.org/t/change-the-carton-category-colors/118066)

<div class="topic-metadata">

**Author:** [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)\
**回复:** 5\
**最近更新：:** [2019 年5 月 21 日 00:26 UTC](https://meta.discourse.org/t/change-the-carton-category-colors/118066 "2019-05-21T00:26:07Z")

</div>

需要帮助更改 CSS 颜色

---

## [禁用个人资料用户字段](https://meta.discourse.org/t/disabling-profile-user-fields/118237)

<div class="topic-metadata">

**Author:** [@Chris27](https://meta.discourse.org/u/Chris27)\
**回复:** 4\
**最近更新：:** [2019 年5 月 20 日 23:05 UTC](https://meta.discourse.org/t/disabling-profile-user-fields/118237 "2019-05-20T23:05:09Z")

</div>

是否可以通过管理员禁用某些个人资料用户字段？具体来说，我想在可能的情况下为新注册用户禁用“网站”字段。 提前感谢！

---

## [Bulk change user settings](https://meta.discourse.org/t/bulk-change-user-settings/60238)

<div class="topic-metadata">

**Author:** [@sjmscott](https://meta.discourse.org/u/sjmscott)\
**回复:** 1\
**最近更新：:** [2017 年3 月 31 日 15:37 UTC](https://meta.discourse.org/t/bulk-change-user-settings/60238 "2017-03-31T15:37:13Z")

</div>

I’m sure this has been covered someplace, but I could not find it. How can I bulk change user settings? Most of my members are in mailing list mode. I wished I had made the default setting for “Include previous replie…

---

## [翻译复数字符串时始终使用 %{count} 变量](https://meta.discourse.org/t/always-use-count-variable-when-translating-pluralized-strings/83969)

<div class="topic-metadata">

**Author:** [@gerhard](https://meta.discourse.org/u/gerhard)\
**回复:** 4\
**最近更新：:** [2019 年5 月 20 日 22:25 UTC](https://meta.discourse.org/t/always-use-count-variable-when-translating-pluralized-strings/83969 "2019-05-20T22:25:50Z")

</div>

某些语言将“零”和/或“一”键用于表示除 0 和 1 之外的值。如果您正在翻译这些语言之一，请使用正确的变量（如 %{count}）。实际值将被截断为 st…

---

## [British English locale](https://meta.discourse.org/t/british-english-locale/64604)

<div class="topic-metadata">

**Author:** [@tophee](https://meta.discourse.org/u/tophee)\
**回复:** 19\
**最近更新：:** [2019 年5 月 20 日 21:44 UTC](https://meta.discourse.org/t/british-english-locale/64604 "2019-05-20T21:44:28Z")

</div>

Is there any specific reason why there is no British English locale? (Or any other non-US English, for that matter) My concern is mainly with the US date format, which is not common outside the US but if you want an Eng…

---

## [是否可以让“注册”按钮在滚动时保持显示，而不是“登录”按钮？](https://meta.discourse.org/t/is-it-possible-to-have-the-sign-up-button-persist-during-scroll-rather-than-the-log-in-one/118116)

<div class="topic-metadata">

**Author:** [@zenkamal](https://meta.discourse.org/u/zenkamal)\
**回复:** 3\
**最近更新：:** [2019 年5 月 20 日 20:25 UTC](https://meta.discourse.org/t/is-it-possible-to-have-the-sign-up-button-persist-during-scroll-rather-than-the-log-in-one/118116 "2019-05-20T20:25:45Z")

</div>

大多数在我网站上向下滚动浏览帖子的用户尚未注册。 因此，我希望他们在浏览帖子时看到“注册”按钮，而不是“登录”按钮。（尽管我知道可以……

---

## [启动 Discourse 时出错：Redis 端口已被占用](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146)

<div class="topic-metadata">

**Author:** [@MST2](https://meta.discourse.org/u/MST2)\
**回复:** 10\
**最近更新：:** [2019 年5 月 20 日 20:00 UTC](https://meta.discourse.org/t/error-when-starting-discourse-redis-port-already-in-use/118146 "2019-05-20T20:00:36Z")

</div>

好的，最近我收到来自 Uptime Monitor 的消息，我的 Discourse 论坛宕机了。我检查了情况，发现它确实离线了，尽管运行它的服务器是在线的。我重建了应用以启动它……

---

## [API user\_badges /users/username/activity/badges.json API 与 /user-badges/username.json 对比](https://meta.discourse.org/t/api-user-badges-users-username-activity-badges-json-api-vs-user-badges-username-json/117958)

<div class="topic-metadata">

**Author:** [@kimardenmiller](https://meta.discourse.org/u/kimardenmiller)\
**回复:** 4\
**最近更新：:** [2019 年5 月 20 日 19:36 UTC](https://meta.discourse.org/t/api-user-badges-users-username-activity-badges-json-api-vs-user-badges-username-json/117958 "2019-05-20T19:36:06Z")

</div>

在 API 中我们看到： def user\_badges(username) response = get("/users/#{username}/activity/badges.json") response.body\['badges'\] end 但这并未获取用户的所有徽章。从 Discourse \> user \> badges 开始…

---

## [翻译后的徽章文本中 emoji 代码损坏](https://meta.discourse.org/t/broken-emoji-code-in-translated-badge-text/118239)

<div class="topic-metadata">

**Author:** [@Eduardo\_Braga](https://meta.discourse.org/u/Eduardo_Braga)\
**回复:** 1\
**最近更新：:** [2019 年5 月 20 日 18:50 UTC](https://meta.discourse.org/t/broken-emoji-code-in-translated-badge-text/118239 "2019-05-20T18:50:48Z")

</div>

“slight\_smile: " https://meta.discourse.org/badges/17/leitor https://meta.discourse.org/badges/41/primeiro-emoji

---

## [按用户定义/字母顺序对主题进行排序](https://meta.discourse.org/t/sort-topics-in-user-defined-alphabetical-order/118216)

<div class="topic-metadata">

**Author:** [@micheldietz](https://meta.discourse.org/u/micheldietz)\
**回复:** 1\
**最近更新：:** [2019 年5 月 20 日 18:16 UTC](https://meta.discourse.org/t/sort-topics-in-user-defined-alphabetical-order/118216 "2019-05-20T18:16:49Z")

</div>

你好， 是否可以对主题进行排序（例如按字母顺序）？ 我想创建一个分类（仅限用户阅读主题），在其中解释我应用程序的功能。功能名称……

---

## [RadioPublic 播放器一键嵌入](https://meta.discourse.org/t/radiopublic-player-onebox/112611)

<div class="topic-metadata">

**Author:** [@tomtjes](https://meta.discourse.org/u/tomtjes)\
**回复:** 1\
**最近更新：:** [2019 年5 月 20 日 18:07 UTC](https://meta.discourse.org/t/radiopublic-player-onebox/112611 "2019-05-20T18:07:24Z")

</div>

我尝试嵌入来自 RadioPublic 的播客播放器。仅发布链接只会得到标准的单框： 但 RadioPublic 声称他们使用 oEmbed。我已在所有域名上启用了内联单框，并且也已将...列入白名单…

---

## [Do I need to rebuild when my domain name changes?](https://meta.discourse.org/t/do-i-need-to-rebuild-when-my-domain-name-changes/60212)

<div class="topic-metadata">

**Author:** [@malcolmjr414](https://meta.discourse.org/u/malcolmjr414)\
**回复:** 8\
**最近更新：:** [2017 年3 月 31 日 03:02 UTC](https://meta.discourse.org/t/do-i-need-to-rebuild-when-my-domain-name-changes/60212 "2017-03-31T03:02:16Z")

</div>

Sorry for restarting an old thread. But my question is can you use Discourse in a main directory? e.g. example.com (I have it like this)? Because there are images which are not showing up because they are using the url (h…

---

## [中止！CDN 必须指定协议](https://meta.discourse.org/t/aborting-cdn-must-have-a-protocol-specified/118210)

<div class="topic-metadata">

**Author:** [@Bernstein](https://meta.discourse.org/u/Bernstein)\
**回复:** 6\
**最近更新：:** [2019 年5 月 20 日 12:54 UTC](https://meta.discourse.org/t/aborting-cdn-must-have-a-protocol-specified/118210 "2019-05-20T12:54:54Z")

</div>

@David 和 @Angus 最近创建了一篇帖子，帮助我们解决了导出我网站管理员创建的主题时遇到的问题。更新后，我们又遇到了一个严重问题，现在无人能访问帖子或私信，网址为 https://f…

---

## [How to modify email settings](https://meta.discourse.org/t/how-to-modify-email-settings/60202)

<div class="topic-metadata">

**Author:** [@D2Rhino](https://meta.discourse.org/u/D2Rhino)\
**回复:** 3\
**最近更新：:** [2017 年3 月 31 日 04:37 UTC](https://meta.discourse.org/t/how-to-modify-email-settings/60202 "2017-03-31T04:37:31Z")

</div>

First thanks for building the only forum worth using, from a user’s perspective, anyway! Great work, beautifully designed, and I much appreciate it. So my question is I signed up for Sparkpost and want to modify my emai…

---

## [Vimeo 嵌入式播放器不再可用？](https://meta.discourse.org/t/vimeo-embedded-player-is-no-longer/118167)

<div class="topic-metadata">

**Author:** [@Richie](https://meta.discourse.org/u/Richie)\
**回复:** 3\
**最近更新：:** [2019 年5 月 20 日 09:35 UTC](https://meta.discourse.org/t/vimeo-embedded-player-is-no-longer/118167 "2019-05-20T09:35:53Z")

</div>

Vimeo 视频无法自动嵌入播放器，遇到了一些问题。 例如： https://vimeo.com/321790603 奇怪的是，过去这些链接都能嵌入播放器。 这真的很奇怪，因为一个 URL 本应 w…

[上一页](https://meta.discourse.org/latest.md?page=1404&period=daily)

[下一页](https://meta.discourse.org/latest.md?page=1406&period=daily)
