# Latest

**URL:** https://meta.discourse.org/latest.md?exclude_tag=api&page=794

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

**Page:** 795

---

## [从 discourse 插件安装基于 git 的 gem](https://meta.discourse.org/t/installing-a-git-based-gem-from-a-discourse-plugin/238657)

<div class="topic-metadata">

**Author:** [@sreinert](https://meta.discourse.org/u/sreinert)\
**回复:** 4\
**最近更新：:** [2022 年9 月 11 日 13:15 UTC](https://meta.discourse.org/t/installing-a-git-based-gem-from-a-discourse-plugin/238657 "2022-09-11T13:15:38Z")

</div>

首先，我是 Ruby on Rails 和 Discourse 插件开发的新手，所以如果有什么更好的方向，我将不胜感激。 概述 我有一个内部 Discourse 插件分支（discourse-ldap-auth），我正在进行……

---

## [如何在WordPress中嵌入Discourse？](https://meta.discourse.org/t/how-to-embed-discourse-in-wordpress/238650)

<div class="topic-metadata">

**Author:** [@Alaa](https://meta.discourse.org/u/Alaa)\
**回复:** 2\
**最近更新：:** [2022 年9 月 11 日 12:11 UTC](https://meta.discourse.org/t/how-to-embed-discourse-in-wordpress/238650 "2022-09-11T12:11:25Z")

</div>

我想知道如何将 Discourse 社区网站嵌入 WordPress，以便 Discourse 拥有与 WP 相同的页眉和页脚？

---

## [网站宕机时显示静态错误页面](https://meta.discourse.org/t/display-static-error-page-while-site-is-down/238658)

<div class="topic-metadata">

**Author:** [@piffy](https://meta.discourse.org/u/piffy)\
**回复:** 9\
**最近更新：:** [2022 年9 月 11 日 08:16 UTC](https://meta.discourse.org/t/display-static-error-page-while-site-is-down/238658 "2022-09-11T08:16:15Z")

</div>

我想做的是在网站离线时显示“本网站正在维护”页面，例如在重建过程中。 这个话题基本上是我想要做的，但似乎需要一个非标准的……

---

## [匿名化 discourse 实例上的所有用户？](https://meta.discourse.org/t/anonmyize-all-users-on-a-discourse-instance/238659)

<div class="topic-metadata">

**Author:** [@user12](https://meta.discourse.org/u/user12)\
**回复:** 1\
**最近更新：:** [2022 年9 月 11 日 04:53 UTC](https://meta.discourse.org/t/anonmyize-all-users-on-a-discourse-instance/238659 "2022-09-11T04:53:36Z")

</div>

您好，我正在处理一个 Discourse 实例的归档工作。 我正在使用 HTTRACK，正如这里推荐的那样： 但是，归档帖子时有一个未考虑到的问题：如果存在用户，根据 GDPR，他们有权要求删除/匿名化其账户，这对于静态网站来说将非常困难。 所以，与其处理这个问题，有没有办法匿名化整个实例？也许除了管理员和其他一些用户。 总的来说，如果 Discourse 开发一个内置的归档工具，可以自动完成所有这些工作（构建静态网站、匿名化…

---

## [如何追踪插件错误](https://meta.discourse.org/t/how-to-track-down-plugin-errors/238611)

<div class="topic-metadata">

**Author:** [@Bryan\_Joseph](https://meta.discourse.org/u/Bryan_Joseph)\
**回复:** 6\
**最近更新：:** [2022 年9 月 11 日 04:05 UTC](https://meta.discourse.org/t/how-to-track-down-plugin-errors/238611 "2022-09-11T04:05:00Z")

</div>

我安装了一堆插件，然后重建了应用程序。现在我看到了这个横幅错误： 我可以玩打地鼠游戏，通过从 yml 中删除插件然后重建来解决，但这将花费很长时间。我想知道……

---

## [没有任何要求的会员](https://meta.discourse.org/t/members-without-any-requirements/238640)

<div class="topic-metadata">

**Author:** [@Justman10000](https://meta.discourse.org/u/Justman10000)\
**回复:** 9\
**最近更新：:** [2022 年9 月 11 日 04:01 UTC](https://meta.discourse.org/t/members-without-any-requirements/238640 "2022-09-11T04:01:05Z")

</div>

您好，一些项目和公司现在正在使用 Discourse，包括我极其活跃的一个项目！然而，在这个项目中，我意识到有些令人困惑的事情！到目前为止，有 2 名成员（可能不是我看到的所有成员）......

---

## [迁移到 S3 在重新烘焙时失败](https://meta.discourse.org/t/migrate-to-s3-fails-on-rebake/151486)

<div class="topic-metadata">

**Author:** [@TheEngineer](https://meta.discourse.org/u/TheEngineer)\
**回复:** 17\
**最近更新：:** [2022 年9 月 10 日 23:19 UTC](https://meta.discourse.org/t/migrate-to-s3-fails-on-rebake/151486 "2022-09-10T23:19:52Z")

</div>

在 @itsbhanusharma 的帮助下，我一直在努力将旧上传文件迁移到 S3。 我按照本指南中的步骤操作： 重建后，上传文件仍未迁移到 S3，这很奇怪。Discourse-doctor 报告了一个 DNS 问题： \> \> ======================================== \> Discourse version at : NOT FOUND \> Discourse version at lo…

---

## [由于电子邮件不匹配，未找到订阅](https://meta.discourse.org/t/subscription-not-found-because-of-email-mismatch/238652)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回复:** 0\
**最近更新：:** [2022 年9 月 10 日 17:23 UTC](https://meta.discourse.org/t/subscription-not-found-because-of-email-mismatch/238652 "2022-09-10T17:23:42Z")

</div>

问题描述 我们收到一位客户的投诉，他订阅后但未被添加到群组。 简而言之 如果用户的电子邮件地址（以某种方式？）与其在 Stripe 中的电子邮件地址不匹配，他们将……

---

## [Infinity加载图标](https://meta.discourse.org/t/infinity-loading-icon/238407)

<div class="topic-metadata">

**Author:** [@frold](https://meta.discourse.org/u/frold)\
**回复:** 9\
**最近更新：:** [2022 年9 月 10 日 17:06 UTC](https://meta.discourse.org/t/infinity-loading-icon/238407 "2022-09-10T17:06:34Z")

</div>

当我点击右上角的头像时，会出现这个无限加载图标 正在使用最新的 Chrome 浏览器（iOS 版）

---

## [所有请求都因“net::ERR\_CERT\_COMMON\_NAME\_INVALID”而失败](https://meta.discourse.org/t/all-requests-failing-due-to-net-err-cert-common-name-invalid/238641)

<div class="topic-metadata">

**Author:** [@darkpixlz](https://meta.discourse.org/u/darkpixlz)\
**回复:** 3\
**最近更新：:** [2022 年9 月 10 日 15:46 UTC](https://meta.discourse.org/t/all-requests-failing-due-to-net-err-cert-common-name-invalid/238641 "2022-09-10T15:46:40Z")

</div>

你好， 我的论坛现在着火了。 直接访问任何页面都会导致错误。 访问主页然后访问一个主题会在控制台中充满错误，而且它非常...

---

## [能否将现有主题转换为帖子投票主题？](https://meta.discourse.org/t/is-it-possible-to-convert-an-existing-topic-into-a-post-voting-one/272248)

<div class="topic-metadata">

**Author:** [@mdict\_free](https://meta.discourse.org/u/mdict_free)\
**回复:** 1\
**最近更新：:** [2023 年7 月 20 日 09:27 UTC](https://meta.discourse.org/t/is-it-possible-to-convert-an-existing-topic-into-a-post-voting-one/272248 "2023-07-20T09:27:36Z")

</div>

是否可以将现有主题转换为问答格式主题？

---

## [安装在本地网络上工作，但在外部无法访问](https://meta.discourse.org/t/installation-working-when-accessed-via-local-network-however-not-externally/238632)

<div class="topic-metadata">

**Author:** [@ddcbeatty](https://meta.discourse.org/u/ddcbeatty)\
**回复:** 2\
**最近更新：:** [2022 年9 月 10 日 13:43 UTC](https://meta.discourse.org/t/installation-working-when-accessed-via-local-network-however-not-externally/238632 "2022-09-10T13:43:25Z")

</div>

我已在 Ubuntu 服务器上安装了 Discourse。我有一个“Google Domains”的域名，它使用动态 DNS 指向我的服务器。我可以通过域名从网络外部远程访问我的服务器，并且可以……

---

## [付费 - 通过核心网页指标并加速网站](https://meta.discourse.org/t/paid-pass-core-web-vitals-and-speed-up-site/238602)

<div class="topic-metadata">

**Author:** [@Faizan\_Zahid](https://meta.discourse.org/u/Faizan_Zahid)\
**回复:** 4\
**最近更新：:** [2022 年9 月 10 日 12:19 UTC](https://meta.discourse.org/t/paid-pass-core-web-vitals-and-speed-up-site/238602 "2022-09-10T12:19:20Z")

</div>

我需要有人能改进我 https://howtodiscuss.com 所有页面的客户端和服务器端，并通过其核心 Web 指数得分，并在 PageSpeed Insights 上达到 100% 的分数，并在 Pingdom Speed 上达到 A 级……

---

## [“保存回复”因连接问题失败时，帖子内容（部分）丢失](https://meta.discourse.org/t/post-content-partially-lost-when-save-reply-fails-due-to-connectivity-issues/119315)

<div class="topic-metadata">

**Author:** [@RalfJung](https://meta.discourse.org/u/RalfJung)\
**回复:** 6\
**最近更新：:** [2022 年9 月 10 日 06:48 UTC](https://meta.discourse.org/t/post-content-partially-lost-when-save-reply-fails-due-to-connectivity-issues/119315 "2022-09-10T06:48:28Z")

</div>

当“保存回复”操作发生时，如果互联网连接暂时中断（就像我在这列火车上几次遇到的情况），帖子内容会部分丢失。 重现步骤： 开始撰写回复。 W…

---

## [开发环境设置失败，无法进行 bundle install](https://meta.discourse.org/t/dev-environment-setup-failed-on-bundle-install/214346)

<div class="topic-metadata">

**Author:** [@uxgnod](https://meta.discourse.org/u/uxgnod)\
**回复:** 2\
**最近更新：:** [2022 年9 月 10 日 01:22 UTC](https://meta.discourse.org/t/dev-environment-setup-failed-on-bundle-install/214346 "2022-09-10T01:22:28Z")

</div>

大家好，我想通过阅读 Rails 的代码来学习 Rails 开发，并尝试为它做出贡献。 我刚刚按照这个链接在 Macbook Air M1 上设置了我的开发环境： 在 bundle install 步骤中，我遇到了一个关于 openssl 的错误，我不知道如何解决，有人能帮帮我吗？ 这是错误消息： ... Installing actionmailer 6.1.4.1 Installing sprockets-rails 3.…

---

## [从现有类别中移除所有子类别](https://meta.discourse.org/t/removing-all-subcategories-from-an-existing-category/115660)

<div class="topic-metadata">

**Author:** [@L30110](https://meta.discourse.org/u/L30110)\
**回复:** 5\
**最近更新：:** [2022 年9 月 9 日 19:57 UTC](https://meta.discourse.org/t/removing-all-subcategories-from-an-existing-category/115660 "2022-09-09T19:57:57Z")

</div>

我有一个包含大量子分类的类别，每个子分类可能包含若干主题帖子。是否有简单的方法可以删除所有子分类，并将现有的主题线程移至该主类别下？

---

## [\[需要帮助\]\[MacOS M1 开发安装\] ArgumentError 未知关键字](https://meta.discourse.org/t/need-help-macos-m1-dev-installation-argumenterror-unknown-keywords/238578)

<div class="topic-metadata">

**Author:** [@YAN](https://meta.discourse.org/u/YAN)\
**回复:** 0\
**最近更新：:** [2022 年9 月 9 日 18:26 UTC](https://meta.discourse.org/t/need-help-macos-m1-dev-installation-argumenterror-unknown-keywords/238578 "2022-09-09T18:26:22Z")

</div>

我正在尝试按照 《macOS 上安装 Discourse 的新手指南（用于开发）》 进行安装。我已通过脚本安装了依赖项。为了修复一些错误，我修改了一些代码： 在脚本中：brew …

---

## [如何等待 this.store.find promise 完成后再加载 widget](https://meta.discourse.org/t/how-to-wait-for-this-store-find-promise-to-finish-before-loading-a-widget/238574)

<div class="topic-metadata">

**Author:** [@attj](https://meta.discourse.org/u/attj)\
**回复:** 0\
**最近更新：:** [2022 年9 月 9 日 17:07 UTC](https://meta.discourse.org/t/how-to-wait-for-this-store-find-promise-to-finish-before-loading-a-widget/238574 "2022-09-09T17:07:39Z")

</div>

我正在使用一个部件，其数据是通过获取某些标签描述来填充的。我检索描述如下： // tag\_arr：包含标签名称数组的变量。 tag\_arr.forEach(tag =\> { this.store.find("…

---

## [尝试理解硬盘使用情况](https://meta.discourse.org/t/trying-to-understand-hard-drive-usage/238515)

<div class="topic-metadata">

**Author:** [@Brandon007](https://meta.discourse.org/u/Brandon007)\
**回复:** 5\
**最近更新：:** [2022 年9 月 9 日 14:36 UTC](https://meta.discourse.org/t/trying-to-understand-hard-drive-usage/238515 "2022-09-09T14:36:33Z")

</div>

我很好奇硬盘空间是如何被消耗的。我们的安装已经三周了，使用率很低。前几天有 35GB 的可用空间，在昨天的 Discourse 更新之后，可用空间下降到 31GB。只有 3...

---

## [设置新主题、类别和标签的URL](https://meta.discourse.org/t/url-to-set-up-new-topic-and-category-tags/238183)

<div class="topic-metadata">

**Author:** [@EGreg](https://meta.discourse.org/u/EGreg)\
**回复:** 1\
**最近更新：:** [2022 年9 月 9 日 13:15 UTC](https://meta.discourse.org/t/url-to-set-up-new-topic-and-category-tags/238183 "2022-09-09T13:15:42Z")

</div>

我发现我们可以在 iframe 中使用 Discourse。在此模式下，我隐藏了标题等。 现在我想让它完全取代我们的聊天/讨论系统。任何我们有聊天的地方，我们都可以有一个……

---

## [如何使用\`console.log()\`或类似方法记录变量值？](https://meta.discourse.org/t/how-can-i-log-a-value-of-a-variable-using-console-log-or-something-like-this/238552)

<div class="topic-metadata">

**Author:** [@charnelpezai](https://meta.discourse.org/u/charnelpezai)\
**回复:** 3\
**最近更新：:** [2022 年9 月 9 日 11:55 UTC](https://meta.discourse.org/t/how-can-i-log-a-value-of-a-variable-using-console-log-or-something-like-this/238552 "2022-09-09T11:55:35Z")

</div>

大家好，我正在尝试在我 Discourse 应用的开发环境中记录一个变量。请看此代码片段作为参考： postStream.get("posts").forEach((post) =\> { // 我想记录 \`post\` 变量 …

---

## [我需要配置两个 discourse-oauth2-basic](https://meta.discourse.org/t/i-need-to-config-two-discourse-oauth2-basic/202644)

<div class="topic-metadata">

**Author:** [@wayyt\_cc3090](https://meta.discourse.org/u/wayyt_cc3090)\
**回复:** 2\
**最近更新：:** [2022 年9 月 9 日 11:54 UTC](https://meta.discourse.org/t/i-need-to-config-two-discourse-oauth2-basic/202644 "2022-09-09T11:54:02Z")

</div>

应用场景 我现在需要支持两种不同的oauth2认证。但是discourse-oauth2-basic插件只支持一种。我尝试安装了两个discourse-oauth2-basic插件，但是它们不能正常工作，什么……

---

## [未来的图钉主题！ (功能请求)](https://meta.discourse.org/t/future-pin-topics-feature-request/221639)

<div class="topic-metadata">

**Author:** [@gassim](https://meta.discourse.org/u/gassim)\
**回复:** 2\
**最近更新：:** [2022 年9 月 9 日 11:03 UTC](https://meta.discourse.org/t/future-pin-topics-feature-request/221639 "2022-09-09T11:03:49Z")

</div>

大家好！ 我认为无法为主题帖子设置将来的固定置顶时间（即选择一个将来的日期来置顶该主题），所以我想创建这个帖子供您分享……

---

## [OAuth2 Basic 插件帮助](https://meta.discourse.org/t/help-with-oauth2-basic-plugin/238163)

<div class="topic-metadata">

**Author:** [@qlands](https://meta.discourse.org/u/qlands)\
**回复:** 1\
**最近更新：:** [2022 年9 月 9 日 10:52 UTC](https://meta.discourse.org/t/help-with-oauth2-basic-plugin/238163 "2022-09-09T10:52:22Z")

</div>

我安装并配置了 OAuth2 Basic 插件以及我们的应用程序，但出现以下错误，我不知道是怎么回事： OAuth2 调试：请求 POST https://formshare.ngrok.io/oauth2/token 标头：{"User-Ag..."…

---

## [使用 Caddy 作为 rproxy 设置 discourse 的帮助](https://meta.discourse.org/t/need-help-setting-up-discourse-using-caddy-as-rproxy/238456)

<div class="topic-metadata">

**Author:** [@Tinsmith6176](https://meta.discourse.org/u/Tinsmith6176)\
**回复:** 7\
**最近更新：:** [2022 年9 月 9 日 07:46 UTC](https://meta.discourse.org/t/need-help-setting-up-discourse-using-caddy-as-rproxy/238456 "2022-09-09T07:46:49Z")

</div>

如果我没有在正确的版块发帖，我很抱歉。 我正在使用 Oracle Free tier 作为我的服务器，并且我有一个 Ubuntu 安装，上面运行着几个 Docker 容器。 我正在使用 Caddy，它也运行在 Docker 中，作为……

---

## [我能启用侧边栏吗？](https://meta.discourse.org/t/can-i-enable-the-sidebar/233708)

<div class="topic-metadata">

**Author:** [@darkpixlz](https://meta.discourse.org/u/darkpixlz)\
**回复:** 22\
**最近更新：:** [2022 年9 月 9 日 01:35 UTC](https://meta.discourse.org/t/can-i-enable-the-sidebar/233708 "2022-09-09T01:35:00Z")

</div>

您好！ 这可能是一个愚蠢的问题，但我现在可以启用侧边栏吗？ 我知道它正在开发中，并且我看到了一堆相关的提交。 我很想在我的网站上启用它，该如何操作？它是否像……

---

## [Smtp doctor 测试，使用端口465，即使已配置为使用2525](https://meta.discourse.org/t/smtp-doctor-test-using-port-465-even-though-its-configured-to-use-2525/238372)

<div class="topic-metadata">

**Author:** [@Bryan\_Joseph](https://meta.discourse.org/u/Bryan_Joseph)\
**回复:** 8\
**最近更新：:** [2022 年9 月 9 日 00:21 UTC](https://meta.discourse.org/t/smtp-doctor-test-using-port-465-even-though-its-configured-to-use-2525/238372 "2022-09-09T00:21:48Z")

</div>

我没有收到来自网站或医生的电子邮件。我注意到医生正在使用端口 465，尽管我已将其配置为使用 2525： ==================== YML SETTINGS ==================== DISCOURSE\_HOSTNAME=url SMTP\_ADDRESS=smtp.mailgun.org DEVELOPER\_EMAILS=REDACTED SMTP\_PASSWORD=REDACTED SMTP\_PO…

---

## [如何按日期对主题回复进行排序](https://meta.discourse.org/t/how-can-i-sort-the-topic-replies-by-date/238344)

<div class="topic-metadata">

**Author:** [@CarlosDaniel](https://meta.discourse.org/u/CarlosDaniel)\
**回复:** 7\
**最近更新：:** [2022 年9 月 8 日 17:52 UTC](https://meta.discourse.org/t/how-can-i-sort-the-topic-replies-by-date/238344 "2022-09-08T17:52:37Z")

</div>

你好。我不知道这是否可能，如果可能的话，我搜索了很多但没有找到任何关于此的信息，但我想按创建日期对论坛所有主题的所有回复进行排序。 我一直在做一个……

---

## [插件oauth2-basic是否能将文本转换为JSON？](https://meta.discourse.org/t/can-plugin-oauth2-basic-convert-text-to-json/237618)

<div class="topic-metadata">

**Author:** [@qinyj](https://meta.discourse.org/u/qinyj)\
**回复:** 2\
**最近更新：:** [2022 年9 月 8 日 16:24 UTC](https://meta.discourse.org/t/can-plugin-oauth2-basic-convert-text-to-json/237618 "2022-09-08T16:24:48Z")

</div>

为了使用 WECHAT 账户登录，我尝试使用 oatuh2-basic 插件，但遇到了一个问题。 通常，WECHAT 服务器应该返回 application/json，然后插件就可以在 JSON 字符串中读取 USID。 不幸的是，服务器仅仅……

---

## [没有“创建频道”按钮？](https://meta.discourse.org/t/no-create-a-channel-button/237857)

<div class="topic-metadata">

**Author:** [@jonobacon](https://meta.discourse.org/u/jonobacon)\
**回复:** 7\
**最近更新：:** [2022 年9 月 8 日 15:10 UTC](https://meta.discourse.org/t/no-create-a-channel-button/237857 "2022-09-08T15:10:48Z")

</div>

嘿， 我正在使用 discourse-chat，并且启用了聊天插件。当我进入聊天小部件的全屏视图时，我看不到角落里用于添加频道的设置按钮。我看到的是这样： 有什么建议吗……

[上一页](https://meta.discourse.org/latest.md?exclude_tag=api&page=793)

[下一页](https://meta.discourse.org/latest.md?exclude_tag=api&page=795)
