# Latest

**URL:** https://meta.discourse.org/latest.md?page=1326&state=tracking%EF%BC%89%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%BF%98%E6%83%B3%E5%85%B3%E6%B3%A8%E5%AE%83%E7%9A%84%E8%AF%9D%EF%BC%8C%E4%B9%9F%E5%80%BC%E5%BE%97%E6%9F%A5%E7%9C%8B%E4%B8%80%E4%B8%8B%E3%80%82

[最新版本](https://meta.discourse.org/latest.md) · [分類](https://meta.discourse.org/categories.md) · [標簽](https://meta.discourse.org/tags.md)

**Page:** 1327

---

## [如何禁用 2FA](https://meta.discourse.org/t/how-to-disable-2fa/131475)

<div class="topic-metadata">

**Author:** [@koltl](https://meta.discourse.org/u/koltl)\
**回覆:** 11\
**Last updated:** [2019年十月21日 12:52 UTC](https://meta.discourse.org/t/how-to-disable-2fa/131475 "2019-10-21T12:52:20Z")

</div>

我恢复了备份，登录时系统要求我输入 2FA 验证码，但我手机已不再拥有该验证码。是否有办法禁用我的账户的 2FA？ 谢谢

---

## [预览插件问题](https://meta.discourse.org/t/preview-plugin-questions/131534)

<div class="topic-metadata">

**Author:** [@azawawi](https://meta.discourse.org/u/azawawi)\
**回覆:** 0\
**Last updated:** [2019年十月21日 10:12 UTC](https://meta.discourse.org/t/preview-plugin-questions/131534 "2019-10-21T10:12:30Z")

</div>

我正在开发一个内部插件，用于预览帖子附件中的内容。请您协助解答以下问题： 插件为预览功能提供 JavaScript/CSS 资源的正确方式是什么？

---

## [受邀用户未成功注册为正式用户](https://meta.discourse.org/t/staged-invited-user-did-not-become-registered-user/126216)

<div class="topic-metadata">

**Author:** [@debryc](https://meta.discourse.org/u/debryc)\
**回覆:** 23\
**Last updated:** [2019年十月21日 09:54 UTC](https://meta.discourse.org/t/staged-invited-user-did-not-become-registered-user/126216 "2019-10-21T09:54:58Z")

</div>

您好，我有几位处于暂存状态的用户未能注册为正式用户。这些用户在添加了个人资料图片并发布内容后仍如此。如果这有影响，这两位暂存用户最初都是通过电子邮件被添加到一个群组中的。…

---

## [Spoiler 标签改进](https://meta.discourse.org/t/spoiler-tags-improvement/131510)

<div class="topic-metadata">

**Author:** [@nekodroid](https://meta.discourse.org/u/nekodroid)\
**回覆:** 6\
**Last updated:** [2019年十月21日 07:09 UTC](https://meta.discourse.org/t/spoiler-tags-improvement/131510 "2019-10-21T07:09:40Z")

</div>

大家好， 我喜爱隐藏内容的标签功能，但我在想是否可以通过在两个竖线之间放置文字来简化它，例如 ||像这样||，而不是 \[quote\]一些冗长的 HTML 标签\[/spoiler\]。 你觉得这样如何？:content: …

---

## [\[已付费\] 限制并锁定 TL1 的新用户/免费用户](https://meta.discourse.org/t/paid-restrict-and-lockup-new-free-user-at-tl1/131231)

<div class="topic-metadata">

**Author:** [@BishopV](https://meta.discourse.org/u/BishopV)\
**回覆:** 3\
**Last updated:** [2019年十月21日 06:28 UTC](https://meta.discourse.org/t/paid-restrict-and-lockup-new-free-user-at-tl1/131231 "2019-10-21T06:28:13Z")

</div>

您希望如何处理？ 限制并锁定新/免费用户在 TL1 级别，因为我希望建立一个社交论坛，因此希望限制他们直接在论坛上交换联系方式，但一旦他们成为付费会员，他们将……

---

## [如何关闭管理员关于信任级别变更等的通知](https://meta.discourse.org/t/how-to-turn-off-notifications-to-admin-for-trust-level-changes-etc/131497)

<div class="topic-metadata">

**Author:** [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**回覆:** 2\
**Last updated:** [2019年十月21日 03:16 UTC](https://meta.discourse.org/t/how-to-turn-off-notifications-to-admin-for-trust-level-changes-etc/131497 "2019-10-21T03:16:18Z")

</div>

在某个时候，我开启了一个选项，将自动化系统通知抄送给管理员账户，但现在我无论如何也想不起如何关闭它。例如，当有用户使用时，我会收到通知……

---

## [Discourse 增强功能](https://meta.discourse.org/t/discourse-enhancements/131466)

<div class="topic-metadata">

**Author:** [@Lee\_Davy2](https://meta.discourse.org/u/Lee_Davy2)\
**回覆:** 4\
**Last updated:** [2019年十月20日 23:13 UTC](https://meta.discourse.org/t/discourse-enhancements/131466 "2019-10-20T23:13:54Z")

</div>

大家好， 我一直在使用 Discourse 作为论坛和辅导视频空间，帮助一群戒酒的人。我希望与 Discourse 专家合作，提供一些插件、修改或增强功能…

---

## [有没有办法仅在首页显示图片？](https://meta.discourse.org/t/any-way-to-show-image-only-in-homepage/131360)

<div class="topic-metadata">

**Author:** [@marcospreviato](https://meta.discourse.org/u/marcospreviato)\
**回覆:** 2\
**Last updated:** [2019年十月20日 22:09 UTC](https://meta.discourse.org/t/any-way-to-show-image-only-in-homepage/131360 "2019-10-20T22:09:40Z")

</div>

您好，我需要在 Discourse 的主页上仅显示头部内容的图片，有什么方法可以实现吗？

---

## [删除所有消息？](https://meta.discourse.org/t/delete-all-messages/131453)

<div class="topic-metadata">

**Author:** [@Ebizi](https://meta.discourse.org/u/Ebizi)\
**回覆:** 1\
**Last updated:** [2019年十月20日 21:02 UTC](https://meta.discourse.org/t/delete-all-messages/131453 "2019-10-20T21:02:42Z")

</div>

有没有一种方法可以删除所有消息，而不删除用户？我收到类似“无法删除所有帖子，因为该用户拥有超过 15 篇帖子”的提示。

---

## [如何设置 SMTP 配置以使用 localhost？](https://meta.discourse.org/t/how-to-set-smtp-config-to-use-localhost/131464)

<div class="topic-metadata">

**Author:** [@mreach](https://meta.discourse.org/u/mreach)\
**回覆:** 7\
**Last updated:** [2019年十月20日 19:51 UTC](https://meta.discourse.org/t/how-to-set-smtp-config-to-use-localhost/131464 "2019-10-20T19:51:03Z")

</div>

我已将 Postfix 配置为在本地 Docker 主机上运行，使得通过 swaks --to destination@domain.tld --from admin@hostdomain.tld --server localhost -tls 进行的测试能够按预期交付。它使用端口 25 并发送出...

---

## [Vimeo onebox 播放器在应用重构后消失](https://meta.discourse.org/t/vimeo-onebox-player-disappearing-after-app-rebuild/83436)

<div class="topic-metadata">

**Author:** [@FauxTony](https://meta.discourse.org/u/FauxTony)\
**回覆:** 4\
**Last updated:** [2019年十月20日 18:20 UTC](https://meta.discourse.org/t/vimeo-onebox-player-disappearing-after-app-rebuild/83436 "2019-10-20T18:20:24Z")

</div>

嘿，团队，第一次发帖，长期潜水。 我们在多个主题中有一些 Vimeo 视频内容，使用 onebox 来显示视频播放器。之前运行得非常顺利，但现在似乎当我们重新构建应用时，t…

---

## [“回复”的不同隐含含义](https://meta.discourse.org/t/different-implied-meanings-of-reply/131478)

<div class="topic-metadata">

**Author:** [@JohnAtl](https://meta.discourse.org/u/JohnAtl)\
**回覆:** 2\
**Last updated:** [2019年十月20日 15:57 UTC](https://meta.discourse.org/t/different-implied-meanings-of-reply/131478 "2019-10-20T15:57:25Z")

</div>

对我来说，这两个“回复”按钮的含义不同。右上角的“回复”意味着我将回复该帖子，而底部的“回复”按钮意味着我将回复原始发帖人（OP）。 如果存在共识…

---

## [活动页面未显示编辑内容](https://meta.discourse.org/t/activity-page-doesnt-show-edits/131473)

<div class="topic-metadata">

**Author:** [@galgalesh](https://meta.discourse.org/u/galgalesh)\
**回覆:** 1\
**Last updated:** [2019年十月20日 11:53 UTC](https://meta.discourse.org/t/activity-page-doesnt-show-edits/131473 "2019-10-20T11:53:36Z")

</div>

用户的活动页面未显示其进行的编辑。 作为一名经常在 Discourse 上编辑文档的用户，我对活动页面无法真实反映我的活跃程度感到有些失望。 例如……

---

## [激活邮件：discourse-doctor 有效，但 discourse 本身无效](https://meta.discourse.org/t/activation-emails-discourse-doctor-works-discourse-itself-does-not/131337)

<div class="topic-metadata">

**Author:** [@hexadecagram](https://meta.discourse.org/u/hexadecagram)\
**回覆:** 4\
**Last updated:** [2019年十月20日 11:10 UTC](https://meta.discourse.org/t/activation-emails-discourse-doctor-works-discourse-itself-does-not/131337 "2019-10-20T11:10:00Z")

</div>

大家好， 正如标题所述。discourse-doctor 将通过其外部且面向互联网的网络接口（而非 localhost）连接到我的邮件服务器（运行在宿主机上），但 discourse 本身却无法连接。 没有收到任何...

---

## [搜索时包含停用词](https://meta.discourse.org/t/including-stop-words-when-searching/127134)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**回覆:** 3\
**Last updated:** [2019年十月20日 10:41 UTC](https://meta.discourse.org/t/including-stop-words-when-searching/127134 "2019-10-20T10:41:03Z")

</div>

在搜索时是否可以包含“停用词”，或者至少自定义从搜索中移除的词汇列表？ 我有一个主题解释了西班牙语中“cuando + 陈述式或虚拟式”之间的区别…

---

## [Rails 插件生成器出现 Zeitwerk 加载错误](https://meta.discourse.org/t/zeitwerk-load-error-with-rails-plugin-generator/131432)

<div class="topic-metadata">

**Author:** [@vianull](https://meta.discourse.org/u/vianull)\
**回覆:** 1\
**Last updated:** [2019年十月19日 11:51 UTC](https://meta.discourse.org/t/zeitwerk-load-error-with-rails-plugin-generator/131432 "2019-10-19T11:51:50Z")

</div>

我想使用 Rails 插件生成器开发一个新插件 git clone https://github.com/discourse/discourse rails g plugin discourse-xxx rails s 错误信息： 由 Module 推断出的常量名称 Discourse-xxx 不正确...

---

## [White\_listed\_spam\_host\_domains 设置对新用户未生效？](https://meta.discourse.org/t/white-listed-spam-host-domains-setting-not-being-honoured-for-new-users/130348)

<div class="topic-metadata">

**Author:** [@Richie](https://meta.discourse.org/u/Richie)\
**回覆:** 10\
**Last updated:** [2019年十月18日 19:52 UTC](https://meta.discourse.org/t/white-listed-spam-host-domains-setting-not-being-honoured-for-new-users/130348 "2019-10-18T19:52:12Z")

</div>

我不确定这是一个漏洞，还是我遗漏了某个设置。 今天早些时候，以下四条内容出现在我的版主收件箱中： 点击列表中最下方的一条：“新用户 martincook 的帖子被阻止，原因……”

---

## [Mass close topics?](https://meta.discourse.org/t/mass-close-topics/65831)

<div class="topic-metadata">

**Author:** [@ckhawand](https://meta.discourse.org/u/ckhawand)\
**回覆:** 6\
**Last updated:** [2019年十月18日 19:49 UTC](https://meta.discourse.org/t/mass-close-topics/65831 "2019-10-18T19:49:24Z")

</div>

Is mass close topics available? If not, I would recommend to add this option.

---

## [克隆到服务器，使用 WordPress SSO](https://meta.discourse.org/t/cloning-to-server-with-wordpress-sso/131363)

<div class="topic-metadata">

**Author:** [@markwill](https://meta.discourse.org/u/markwill)\
**回覆:** 4\
**Last updated:** [2019年十月18日 19:01 UTC](https://meta.discourse.org/t/cloning-to-server-with-wordpress-sso/131363 "2019-10-18T19:01:17Z")

</div>

我遇到了一个与单点登录（SSO）相关的问题，特别是关于从生产服务器克隆的问题。出于各种原因（如开发、测试等），我想将我的生产服务器克隆到另一台服务器。我将通过一个示例来说明这一点……

---

## [S3 链接的 .gif 扩展名无法显示](https://meta.discourse.org/t/s3-links-with-gif-extension-do-not-display/131380)

<div class="topic-metadata">

**Author:** [@csk](https://meta.discourse.org/u/csk)\
**回覆:** 2\
**Last updated:** [2019年十月18日 18:55 UTC](https://meta.discourse.org/t/s3-links-with-gif-extension-do-not-display/131380 "2019-10-18T18:55:11Z")

</div>

您好， 上述链接在 Discourse 平台上无法工作。我已查看相关设置，以确认是否与 S3 被列入黑名单或被阻止有关，但未发现任何问题。此问题并未出现在…

---

## [如何添加类似 try.discourse.org 的顶部菜单栏](https://meta.discourse.org/t/how-to-add-top-menu-bar-like-try-discourse-org/131210)

<div class="topic-metadata">

**Author:** [@sat](https://meta.discourse.org/u/sat)\
**回覆:** 6\
**Last updated:** [2019年十月18日 18:36 UTC](https://meta.discourse.org/t/how-to-add-top-menu-bar-like-try-discourse-org/131210 "2019-10-18T18:36:36Z")

</div>

try.discourse.org 使用的是品牌头部主题组件还是客户顶部菜单栏？ 如何添加如下所示的顶部菜单栏？我在左侧看到“关于”、“功能”、“社区”、“演示”和“定价”等选项。如何实现？ 另外……

---

## [如何创建一条发送私信给我的链接？](https://meta.discourse.org/t/how-can-i-compose-a-link-that-sends-me-a-pm/131357)

<div class="topic-metadata">

**Author:** [@outofthebox](https://meta.discourse.org/u/outofthebox)\
**回覆:** 2\
**Last updated:** [2019年十月18日 18:23 UTC](https://meta.discourse.org/t/how-can-i-compose-a-link-that-sends-me-a-pm/131357 "2019-10-18T18:23:00Z")

</div>

您好，是否有办法创建一个链接，点击后能创建一条以我自己（或其他成员）为收件人的新私信？

---

## [将主题转换为私信，“允许用户的主题”无效](https://meta.discourse.org/t/converting-a-topic-to-a-personal-message-topic-allowed-users-is-invalid/131373)

<div class="topic-metadata">

**Author:** [@friednanners](https://meta.discourse.org/u/friednanners)\
**回覆:** 2\
**Last updated:** [2019年十月18日 17:59 UTC](https://meta.discourse.org/t/converting-a-topic-to-a-personal-message-topic-allowed-users-is-invalid/131373 "2019-10-18T17:59:29Z")

</div>

你好！ 我试图将一个主题转换为私信。这以前是可行的，但现在我收到了错误消息： “主题允许的用户无效” 目前尚不清楚这意味着什么，也不知道如何解决该问题。还有……

---

## [新主题之间的最短时间间隔？](https://meta.discourse.org/t/minimum-time-between-new-topics/131376)

<div class="topic-metadata">

**Author:** [@rlaliberty](https://meta.discourse.org/u/rlaliberty)\
**回覆:** 2\
**Last updated:** [2019年十月18日 17:28 UTC](https://meta.discourse.org/t/minimum-time-between-new-topics/131376 "2019-10-18T17:28:45Z")

</div>

我已在设置中仔细查找，但未能找到相关选项。 是否有一种方法可以设置一个阈值，限制用户在特定时间段内发布多个新主题？

---

## [插件在管理页面引发异常错误——无法在没有 ID 的情况下对插件进行实例化](https://meta.discourse.org/t/plugin-causes-odd-error-on-admin-pages-cant-hydrate-plugin-without-id/131298)

<div class="topic-metadata">

**Author:** [@Oliver\_Walker](https://meta.discourse.org/u/Oliver_Walker)\
**回覆:** 3\
**Last updated:** [2019年十月18日 14:00 UTC](https://meta.discourse.org/t/plugin-causes-odd-error-on-admin-pages-cant-hydrate-plugin-without-id/131298 "2019-10-18T14:00:08Z")

</div>

您好， 我在创建插件时遇到了以下错误： 错误：无法在没有 \`id\` 的情况下水合插件 at Class.\_hydrate (discourse/models/store:330) at eval (discourse/models/store:222) at Array.map ()…

---

## [Discourse 限制回复](https://meta.discourse.org/t/discourse-restricted-replies/131343)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2019年十月18日 09:50 UTC](https://meta.discourse.org/t/discourse-restricted-replies/131343 "2019-10-18T09:50:26Z")

</div>

:discourse2: 摘要 Discourse Restricted Replies 提供了一个按分类设置的选项，允许管理员将主题的回复限制为仅主题创建者和特定组的成员。 :hammer\_and\_wrench: 仓库…

---

## [在 Discourse 中安装 Facebook Pixel 代码](https://meta.discourse.org/t/install-facebook-pixel-code-in-discourse/131334)

<div class="topic-metadata">

**Author:** [@BishopV](https://meta.discourse.org/u/BishopV)\
**回覆:** 2\
**Last updated:** [2019年十月18日 07:02 UTC](https://meta.discourse.org/t/install-facebook-pixel-code-in-discourse/131334 "2019-10-18T07:02:26Z")

</div>

我想知道如何在 Discourse 中安装 Facebook 代码。我参考了几个主题：如何在部署在我们 GCP 上的 Discourse 实例中添加 Facebook Pixel 代码用于分析？他们表示只需复制脚本...

---

## [Discourse 是否符合 AA 合规要求？](https://meta.discourse.org/t/is-discourse-aa-compliant/131317)

<div class="topic-metadata">

**Author:** [@Nina\_11](https://meta.discourse.org/u/Nina_11)\
**回覆:** 3\
**Last updated:** [2019年十月18日 00:54 UTC](https://meta.discourse.org/t/is-discourse-aa-compliant/131317 "2019-10-18T00:54:14Z")

</div>

你好——我看到 Discourse 在无障碍功能方面投入了大量工作。有人知道 Discourse 是否符合 AA 级标准吗？

---

## [如果我有指向论坛的域名，应该使用以下哪一个？](https://meta.discourse.org/t/if-i-have-a-domain-that-redirects-to-my-forum-which-one-of-the-followings-should-i-use/131320)

<div class="topic-metadata">

**Author:** [@\_alejandro](https://meta.discourse.org/u/_alejandro)\
**回覆:** 1\
**Last updated:** [2019年十月18日 00:27 UTC](https://meta.discourse.org/t/if-i-have-a-domain-that-redirects-to-my-forum-which-one-of-the-followings-should-i-use/131320 "2019-10-18T00:27:31Z")

</div>

你好， 假设我的论坛是 https://forum.example.com，但 example1.com 会重定向到该论坛。我应该重定向到： https://forum.example.com https://forum.example.com/ 注意末尾的斜杠。哪一个是……

---

## [新仪表板链接到提交差异的链接很奇怪](https://meta.discourse.org/t/new-dashboard-link-to-commit-diff-is-odd/128358)

<div class="topic-metadata">

**Author:** [@Dannii](https://meta.discourse.org/u/Dannii)\
**回覆:** 3\
**Last updated:** [2019年十月17日 20:49 UTC](https://meta.discourse.org/t/new-dashboard-link-to-commit-diff-is-odd/128358 "2019-10-17T20:49:11Z")

</div>

https://meta.discourse.org/t/why-dashboard-updates-dont-look-right/127655/13?u=dannii 仪表板最近已更新，以显示论坛已更新到的提交版本。 但是，其使用的链接是用于与 …… 进行比较的。

[上一頁](https://meta.discourse.org/latest.md?page=1325&state=tracking%EF%BC%89%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%BF%98%E6%83%B3%E5%85%B3%E6%B3%A8%E5%AE%83%E7%9A%84%E8%AF%9D%EF%BC%8C%E4%B9%9F%E5%80%BC%E5%BE%97%E6%9F%A5%E7%9C%8B%E4%B8%80%E4%B8%8B%E3%80%82)

[下一頁](https://meta.discourse.org/latest.md?page=1327&state=tracking%EF%BC%89%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%BF%98%E6%83%B3%E5%85%B3%E6%B3%A8%E5%AE%83%E7%9A%84%E8%AF%9D%EF%BC%8C%E4%B9%9F%E5%80%BC%E5%BE%97%E6%9F%A5%E7%9C%8B%E4%B8%80%E4%B8%8B%E3%80%82)
