# Latest

**URL:** https://meta.discourse.org/latest.md?f=tracked%EF%BC%8C%E4%BB%85%E6%9F%A5%E7%9C%8B%E6%82%A8%E5%85%B3%E6%B3%A8%E7%9A%84%E5%88%86%E7%B1%BB%E5%92%8C%E6%A0%87%E7%AD%BE%E4%B8%8B%E7%9A%84%E6%9C%80%E6%96%B0%E4%B8%BB%E9%A2%98%E3%80%82&page=673

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

**Page:** 674

---

## [定制数据迁移：从 WordPress 到 discourse](https://meta.discourse.org/t/custom-data-migration-from-wordpress-to-discourse/261185)

<div class="topic-metadata">

**Author:** [@muhammad\_ghufran](https://meta.discourse.org/u/muhammad_ghufran)\
**回覆:** 7\
**Last updated:** [2023年四月18日 18:28 UTC](https://meta.discourse.org/t/custom-data-migration-from-wordpress-to-discourse/261185 "2023-04-18T18:28:42Z")

</div>

我使用了 discourse 脚本，并将 phpbb 数据迁移到了 discourse。现在我已将网站迁移到 WordPress，并且需要迁移部分用户数据。我在 discourse 中创建了自定义用户字段，并使用了 \`wpdc\_sso\` 这个钩子……

---

## [匿名访客的用户卡片在 \`card.json?include\_post\_count\_for\` 中显示“500 内部服务器错误”后立即消失](https://meta.discourse.org/t/user-cards-for-anonymous-visitors-immediately-dissappear-with-500-internal-server-error-in-card-json-include-post-count-for/261309)

<div class="topic-metadata">

**Author:** [@rahim123](https://meta.discourse.org/u/rahim123)\
**回覆:** 11\
**Last updated:** [2023年四月18日 18:23 UTC](https://meta.discourse.org/t/user-cards-for-anonymous-visitors-immediately-dissappear-with-500-internal-server-error-in-card-json-include-post-count-for/261309 "2023-04-18T18:23:29Z")

</div>

您好，我不确定这种情况发生了多久，而且我只能在我的自托管 Discourse 实例上重现它，该实例刚刚更新到当前最新版本。 当匿名访客点击一个……

---

## [3.0.3：安全性和错误修复版本](https://meta.discourse.org/t/3-0-3-security-and-bug-fix-release/262045)

<div class="topic-metadata">

**Author:** [@nat](https://meta.discourse.org/u/nat)\
**回覆:** 0\
**Last updated:** [2023年四月18日 09:25 UTC](https://meta.discourse.org/t/3-0-3-security-and-bug-fix-release/262045 "2023-04-18T09:25:48Z")

</div>

Discourse 3.0.3 稳定版发布 Discourse 强烈建议所有站点遵循 Discourse 的默认 tests-passed 分支。“stable” 分支更侧重于缺乏更改而非缺乏 bug - 所有版本，在……

---

## [如何为 Discourse Connect URL 添加自定义查询参数？](https://meta.discourse.org/t/how-to-add-custom-query-parameter-in-discourse-connect-url/239863)

<div class="topic-metadata">

**Author:** [@ujjawal0911](https://meta.discourse.org/u/ujjawal0911)\
**回覆:** 1\
**Last updated:** [2023年四月18日 16:47 UTC](https://meta.discourse.org/t/how-to-add-custom-query-parameter-in-discourse-connect-url/239863 "2023-04-18T16:47:46Z")

</div>

我们正尝试将 Discourse 与我们的应用程序集成，该应用程序在前端使用 React，在后端使用 Django。 我想在 Discourse Connect URL 中传递已登录用户的用户名或令牌，以及其他…

---

## [如果Twitter崩溃，现有帖子内容会怎样？](https://meta.discourse.org/t/what-will-happen-to-existing-post-content-if-twitter-implodes/246343)

<div class="topic-metadata">

**Author:** [@elijah](https://meta.discourse.org/u/elijah)\
**回覆:** 25\
**Last updated:** [2023年四月18日 15:48 UTC](https://meta.discourse.org/t/what-will-happen-to-existing-post-content-if-twitter-implodes/246343 "2023-04-18T15:48:48Z")

</div>

我没在别处看到过这个话题，但也许我错过了。 我的网站有很多帖子，其中包含被嵌入的推文，人们用它们来讨论事件（通常是政治），但也有一些是为了分享海报发布的图片到 Tw…

---

## [3.1.0.beta4：新的通知菜单、聊天和侧边栏改进、安全修复等](https://meta.discourse.org/t/3-1-0-beta4-new-notifications-menu-chat-and-sidebar-improvements-security-fixes-and-more/262044)

<div class="topic-metadata">

**Author:** [@nat](https://meta.discourse.org/u/nat)\
**回覆:** 1\
**Last updated:** [2023年四月18日 09:25 UTC](https://meta.discourse.org/t/3-1-0-beta4-new-notifications-menu-chat-and-sidebar-improvements-security-fixes-and-more/262044 "2023-04-18T09:25:44Z")

</div>

3.1.0.beta4 新功能 新的通知菜单 两周前我们宣布该菜单将向所有人推出。现在它来了！ 侧边栏改进 如果您为一组……启用了自定义侧边栏部分

---

## [能够删除少于 N 个主题的标签](https://meta.discourse.org/t/ability-to-delete-tags-with-n-topics/159979)

<div class="topic-metadata">

**Author:** [@mcwumbly](https://meta.discourse.org/u/mcwumbly)\
**回覆:** 6\
**Last updated:** [2023年四月18日 15:16 UTC](https://meta.discourse.org/t/ability-to-delete-tags-with-n-topics/159979 "2023-04-18T15:16:29Z")

</div>

我刚刚偶然发现了这个很棒的功能，“删除未使用的标签”。它让我想要更多！ 继续讨论来自“Discourse 标签综合指南”的讨论： 我们有很多标签的“计数：1”作为标签创建……

---

## [用于 Gitlab CI/CD 流水线的 Discourse 镜像构建器](https://meta.discourse.org/t/discourse-image-builder-for-gitlab-ci-cd-pipelines/261857)

<div class="topic-metadata">

**Author:** [@mkbrechtel](https://meta.discourse.org/u/mkbrechtel)\
**回覆:** 9\
**Last updated:** [2023年四月18日 14:28 UTC](https://meta.discourse.org/t/discourse-image-builder-for-gitlab-ci-cd-pipelines/261857 "2023-04-18T14:28:32Z")

</div>

你好！ 我们创建了一个名为 RPS Discourse Image Builder 的存储库，用于创建 Discourse OCI 镜像。我认为这可能对在这里寻找的人有所帮助。我们主要这样做是为了不必等待 d……

---

## [将设置设为所有用户的默认设置](https://meta.discourse.org/t/make-a-setting-default-to-all-users/262081)

<div class="topic-metadata">

**Author:** [@ibahnasy](https://meta.discourse.org/u/ibahnasy)\
**回覆:** 3\
**Last updated:** [2023年四月18日 13:57 UTC](https://meta.discourse.org/t/make-a-setting-default-to-all-users/262081 "2023-04-18T13:57:05Z")

</div>

如何为所有用户启用此类检查并将其设为默认值？

---

## [升级到新版本时出现“参数数量错误”](https://meta.discourse.org/t/wrong-number-of-arguments-on-upgrade-to-new-version/262083)

<div class="topic-metadata">

**Author:** [@paresy](https://meta.discourse.org/u/paresy)\
**回覆:** 1\
**Last updated:** [2023年四月18日 13:53 UTC](https://meta.discourse.org/t/wrong-number-of-arguments-on-upgrade-to-new-version/262083 "2023-04-18T13:53:19Z")

</div>

我已升级到 3.1.0.beta4，现在我的一个插件不再工作了，而且我很难弄清楚如何升级这部分代码： after\_initialize do User.register\_custom\_field\_type('myfield', :jso…

---

## [如何比较帖子的任意修订版本？](https://meta.discourse.org/t/how-can-i-compare-arbitrary-revisions-of-a-post/102429)

<div class="topic-metadata">

**Author:** [@TallTed](https://meta.discourse.org/u/TallTed)\
**回覆:** 8\
**Last updated:** [2023年四月18日 12:07 UTC](https://meta.discourse.org/t/how-can-i-compare-arbitrary-revisions-of-a-post/102429 "2023-04-18T12:07:51Z")

</div>

修订历史很有用。能够查看任意两个相邻修订版（如第 3 版和第 4 版，或第 8 版和第 9 版）之间的差异确实不错，但当帖子随时间发生实质性变更时，这确实远远不够……

---

## [某些请求失败，返回504](https://meta.discourse.org/t/some-requests-fail-with-504/261431)

<div class="topic-metadata">

**Author:** [@ibahnasy](https://meta.discourse.org/u/ibahnasy)\
**回覆:** 3\
**Last updated:** [2023年四月18日 11:42 UTC](https://meta.discourse.org/t/some-requests-fail-with-504/261431 "2023-04-18T11:42:34Z")

</div>

我从 2.9 版本升级到了最新的当前版本，过程很顺利，但是一些头像没有显示出来。

---

## [为整页搜索结果项添加类？](https://meta.discourse.org/t/add-class-to-full-page-search-result-items/254924)

<div class="topic-metadata">

**Author:** [@asc](https://meta.discourse.org/u/asc)\
**回覆:** 2\
**Last updated:** [2023年四月18日 10:40 UTC](https://meta.discourse.org/t/add-class-to-full-page-search-result-items/254924 "2023-04-18T10:40:59Z")

</div>

我正尝试为 full-page-search 返回结果中的帖子的类别添加一个类。我已尝试将 modifyClass 应用于 controller/full-page-search 和 component/search-result-entry，包括使用 modifyC…

---

## [modifyClass 失败并带有警告](https://meta.discourse.org/t/modifyclass-failed-with-a-warning/239535)

<div class="topic-metadata">

**Author:** [@Alienazk](https://meta.discourse.org/u/Alienazk)\
**回覆:** 5\
**Last updated:** [2023年四月18日 10:40 UTC](https://meta.discourse.org/t/modifyclass-failed-with-a-warning/239535 "2023-04-18T10:40:06Z")

</div>

你好！ 我想用插件API修改控制器，但失败了，并出现警告： \[THEME xxx\] “controller:full-page-search” 已在容器中缓存。更改将不会应用。 我的代码： function modify…

---

## [api.modifyClass 有时(!) 不起作用](https://meta.discourse.org/t/api-modifyclass-sometimes-not-working/212413)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 13\
**Last updated:** [2023年四月18日 10:39 UTC](https://meta.discourse.org/t/api-modifyclass-sometimes-not-working/212413 "2023-04-18T10:39:17Z")

</div>

编辑：已重新归类为错误。 下方是完整的重现步骤。 我正在主题组件中使用 api.modifyClass。 在大多数页面上，这都能正常工作，但在某些主题中，当页面重新加载时，该属性未添加到用户模型中……

---

## [可悬停元素（用户状态、反应）](https://meta.discourse.org/t/hover-able-elements-user-status-reactions/258495)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 2\
**Last updated:** [2023年四月18日 10:33 UTC](https://meta.discourse.org/t/hover-able-elements-user-status-reactions/258495 "2023-04-18T10:33:07Z")

</div>

你好， 我注意到在频道消息中，当我点击用户状态时，它也会打开用户卡片，并且在手机上长按反应会激活聊天消息操作面板。我在 Android 10 上试过了。 谢谢……

---

## [移动端引用弹出窗口定位](https://meta.discourse.org/t/quoting-popup-positioning-on-mobile/261550)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 2\
**Last updated:** [2023年四月18日 10:25 UTC](https://meta.discourse.org/t/quoting-popup-positioning-on-mobile/261550 "2023-04-18T10:25:08Z")

</div>

你好， 在安卓上是否可以将引用面板设置得离选定文本稍远一点？:slightly\_smiling\_face: 底部的选择气泡会覆盖这个面板。谢谢 :slightly\_smiling\_face: …

---

## [聊天频道不显示也不保存消息](https://meta.discourse.org/t/a-chat-channel-doesn-t-show-nor-save-messages/261736)

<div class="topic-metadata">

**Author:** [@Jagster](https://meta.discourse.org/u/Jagster)\
**回覆:** 12\
**Last updated:** [2023年四月18日 07:45 UTC](https://meta.discourse.org/t/a-chat-channel-doesn-t-show-nor-save-messages/261736 "2023-04-18T07:45:29Z")

</div>

我几个小时前升级了，现在所有有自定义组的频道都显示为空频道。 我可以写和发送消息，但如果我注销或刷新页面，频道就没有历史记录。 日志显示如下： 消息 NoMethodError …

---

## [Discourse 和 Webmention 是否可行？](https://meta.discourse.org/t/discourse-and-webmention-is-possible/261971)

<div class="topic-metadata">

**Author:** [@satonotdead](https://meta.discourse.org/u/satonotdead)\
**回覆:** 3\
**Last updated:** [2023年四月18日 07:42 UTC](https://meta.discourse.org/t/discourse-and-webmention-is-possible/261971 "2023-04-18T07:42:50Z")

</div>

寻找一种简单的方法来摆脱过大的Twitter缩略图，我找到了Webmention，它可以实现简单的社交媒体评论，只需提及我们文章或帖子的URL。 有一个Ruby客户端和……

---

## [已删除的帖子仍然存在，显示为隐藏帖子](https://meta.discourse.org/t/deleted-post-is-still-there-shown-as-a-hidden-post/262028)

<div class="topic-metadata">

**Author:** [@kenjdarhan](https://meta.discourse.org/u/kenjdarhan)\
**回覆:** 2\
**Last updated:** [2023年四月18日 07:02 UTC](https://meta.discourse.org/t/deleted-post-is-still-there-shown-as-a-hidden-post/262028 "2023-04-18T07:02:16Z")

</div>

您好，我已经将此设置为0，但当回复被删除时，它应该会永久消失，但它仍然显示为隐藏帖子，当我单击展开它时，它会显示为红色。 我该如何使已删除的帖子……

---

## [通过控制台激活管理员账户](https://meta.discourse.org/t/activating-admin-account-from-console/79146)

<div class="topic-metadata">

**Author:** [@gpritiranjan](https://meta.discourse.org/u/gpritiranjan)\
**回覆:** 7\
**Last updated:** [2023年四月18日 06:06 UTC](https://meta.discourse.org/t/activating-admin-account-from-console/79146 "2023-04-18T06:06:25Z")

</div>

我正在尝试使用 Digital Ocean 上的 droplet 通过一键安装程序设置 Discourse。我遵循了所有指示，并正确配置了 SMTP 细节。但当我注册管理员账户时，使用的是…

---

## [如何通过LTI1.3将Discourse集成作为工具到任何LMS系统？](https://meta.discourse.org/t/how-to-integrate-discourse-as-a-tool-via-lti1-3-to-any-lms-system/261914)

<div class="topic-metadata">

**Author:** [@vivekAtcs](https://meta.discourse.org/u/vivekAtcs)\
**回覆:** 3\
**Last updated:** [2023年四月18日 03:02 UTC](https://meta.discourse.org/t/how-to-integrate-discourse-as-a-tool-via-lti1-3-to-any-lms-system/261914 "2023-04-18T03:02:51Z")

</div>

我们希望将 discourse 用作我们 LMS 系统的工具。 为了做到这一点，需要进行两侧配置以进行链接。首先是 discourse LTI1.3 插件设置。这些是 LTI1… 的 discourse 端设置

---

## [我将管理权限发送给了某人，如何取消？](https://meta.discourse.org/t/i-sent-an-email-giving-the-administration-to-a-person-how-do-i-cancel/261945)

<div class="topic-metadata">

**Author:** [@danielabc](https://meta.discourse.org/u/danielabc)\
**回覆:** 2\
**Last updated:** [2023年四月18日 03:00 UTC](https://meta.discourse.org/t/i-sent-an-email-giving-the-administration-to-a-person-how-do-i-cancel/261945 "2023-04-18T03:00:00Z")

</div>

我按下了授予管理员权限的按钮，出现了一个图像，表明将向该人发送电子邮件以确认管理员权限，但现在我不再希望他成为管理员了，我该如何处理……

---

## [点击“继续编辑”按钮无效](https://meta.discourse.org/t/clicking-keep-editing-button-doesnt-do-anything/260301)

<div class="topic-metadata">

**Author:** [@jidanni](https://meta.discourse.org/u/jidanni)\
**回覆:** 6\
**Last updated:** [2023年四月17日 22:01 UTC](https://meta.discourse.org/t/clicking-keep-editing-button-doesnt-do-anything/260301 "2023-04-17T22:01:11Z")

</div>

用户遇到了以下对话： 用户选择继续编辑。但唯一发生的变化是“继续编辑”按钮改变了颜色。 用户期望对话框消失，然后他可以恢复编辑。但是……

---

## [Meta上的公共聊天频道去哪儿了？](https://meta.discourse.org/t/where-did-the-public-chat-channels-on-meta-go/261989)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 0\
**Last updated:** [2023年四月17日 18:30 UTC](https://meta.discourse.org/t/where-did-the-public-chat-channels-on-meta-go/261989 "2023-04-17T18:30:05Z")

</div>

继续关于俄语翻译质量的讨论： 这个我知道答案。:raised\_hand: :slight\_smile: “新”功能的反馈渠道自然而然地被淘汰了，因为这些功能不是……

---

## [覆盖 /app/assets/javascripts/discourse/app/lib/ 中的函数](https://meta.discourse.org/t/override-function-in-app-assets-javascripts-discourse-app-lib/261985)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 0\
**Last updated:** [2023年四月17日 18:20 UTC](https://meta.discourse.org/t/override-function-in-app-assets-javascripts-discourse-app-lib/261985 "2023-04-17T18:20:15Z")

</div>

我需要在插件或主题组件中覆盖 \`/app/assets/javascripts/discourse/app/lib/\` 目录下的一个文件中的函数。这是一个受控环境，所以即使有点 hack 也没关系。我该如何处理这个问题……

---

## [Group Owner究竟能做什么？](https://meta.discourse.org/t/what-exactly-can-group-owners-do/261973)

<div class="topic-metadata">

**Author:** [@mattdm](https://meta.discourse.org/u/mattdm)\
**回覆:** 2\
**Last updated:** [2023年四月17日 17:26 UTC](https://meta.discourse.org/t/what-exactly-can-group-owners-do/261973 "2023-04-17T17:26:27Z")

</div>

我不知道这是否属于“信任级别权限表”（包括版主角色）还是其他单独的事项。组所有者具体能做什么？我知道他们可以添加和邀请用户，但他们还有其他控制权吗？还是说……

---

## [新的廉价S3提供商用于我们的备份](https://meta.discourse.org/t/new-cheap-s3-provider-for-our-backup/259368)

<div class="topic-metadata">

**Author:** [@commercial](https://meta.discourse.org/u/commercial)\
**回覆:** 2\
**Last updated:** [2023年三月25日 07:31 UTC](https://meta.discourse.org/t/new-cheap-s3-provider-for-our-backup/259368 "2023-03-25T07:31:18Z")

</div>

我在 LET 上看到了这个…… 它很便宜，通常提供 10GB…… 奖励：第一年可享受 90% 折扣，即 4 美元/1TB/年 对于备份存储，测试成本为零……

---

## [新自动生成的用户卡背景非常分散注意力](https://meta.discourse.org/t/new-auto-generated-user-card-background-is-very-distracting/261042)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**回覆:** 0\
**Last updated:** [2023年四月8日 15:57 UTC](https://meta.discourse.org/t/new-auto-generated-user-card-background-is-very-distracting/261042 "2023-04-08T15:57:38Z")

</div>

我通常不欣赏用户卡片背景，因为我觉得它们非常分散注意力。我无法阻止其他用户设置它们，但至少许多用户不 bother 或庆幸地不选择过于分散注意力的背景……

---

## [主题未显示在应有的“最新”中](https://meta.discourse.org/t/topic-not-showing-on-latest-where-it-should/261957)

<div class="topic-metadata">

**Author:** [@MarcP](https://meta.discourse.org/u/MarcP)\
**回覆:** 3\
**Last updated:** [2023年四月17日 14:49 UTC](https://meta.discourse.org/t/topic-not-showing-on-latest-where-it-should/261957 "2023-04-17T14:49:32Z")

</div>

我注意到一个特定主题没有显示在最新页面上。该类别中的其他主题显示正常。可以通过搜索找到缺失的主题。 它也没有显示在类别中。 N…

[上一頁](https://meta.discourse.org/latest.md?f=tracked%EF%BC%8C%E4%BB%85%E6%9F%A5%E7%9C%8B%E6%82%A8%E5%85%B3%E6%B3%A8%E7%9A%84%E5%88%86%E7%B1%BB%E5%92%8C%E6%A0%87%E7%AD%BE%E4%B8%8B%E7%9A%84%E6%9C%80%E6%96%B0%E4%B8%BB%E9%A2%98%E3%80%82&page=672)

[下一頁](https://meta.discourse.org/latest.md?f=tracked%EF%BC%8C%E4%BB%85%E6%9F%A5%E7%9C%8B%E6%82%A8%E5%85%B3%E6%B3%A8%E7%9A%84%E5%88%86%E7%B1%BB%E5%92%8C%E6%A0%87%E7%AD%BE%E4%B8%8B%E7%9A%84%E6%9C%80%E6%96%B0%E4%B8%BB%E9%A2%98%E3%80%82&page=674)
