# Hot

**URL:** https://meta.discourse.org/hot.md?page=1194

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

**Page:** 1195

---

## [Discourse 的 GraphQL API](https://meta.discourse.org/t/graphql-api-for-discourse/157147)

<div class="topic-metadata">

**Author:** [@Minhaj](https://meta.discourse.org/u/Minhaj)\
**回覆:** 4\
**Last updated:** [2020年七月27日 14:21 UTC](https://meta.discourse.org/t/graphql-api-for-discourse/157147 "2020-07-27T14:21:26Z")

</div>

我想将 GitHub 上的议题迁移到 Discourse 以满足我的使用需求。我的问题是： 1- 是否有可用的 GraphQL API 来执行此操作？ 2- 能否有人为我指出包含示例代码的 REST API 可用文档？

---

## [修补 Discourse 的搜索功能](https://meta.discourse.org/t/patching-discourses-search/157156)

<div class="topic-metadata">

**Author:** [@snoopdouglas](https://meta.discourse.org/u/snoopdouglas)\
**回覆:** 6\
**Last updated:** [2020年七月9日 08:53 UTC](https://meta.discourse.org/t/patching-discourses-search/157156 "2020-07-09T08:53:21Z")

</div>

我正在编写一个插件，用于为每个用户存储一些额外数据（类似于 discourse-user-notes，但不仅限于管理员），并希望能够对此进行搜索。 这大概需要修补某些内容……

---

## [Data Explorer 查询以查找符合标准的回复](https://meta.discourse.org/t/data-explorer-query-to-find-replies-that-match-criteria/157168)

<div class="topic-metadata">

**Author:** [@Ed\_Bobkov](https://meta.discourse.org/u/Ed_Bobkov)\
**回覆:** 0\
**Last updated:** [2020年七月8日 09:47 UTC](https://meta.discourse.org/t/data-explorer-query-to-find-replies-that-match-criteria/157168 "2020-07-08T09:47:40Z")

</div>

Hi everybody! I need to find all replies within all topics in the category that match special criteria. :white\_check\_mark: - check only posts with a text :white\_check\_mark: @free - check only this user #feedback - ch…

---

## [备份文件大小不一致](https://meta.discourse.org/t/backup-file-size-discrepancy/157175)

<div class="topic-metadata">

**Author:** [@Oliver\_Walker](https://meta.discourse.org/u/Oliver_Walker)\
**回覆:** 0\
**Last updated:** [2020年七月8日 18:32 UTC](https://meta.discourse.org/t/backup-file-size-discrepancy/157175 "2020-07-08T18:32:09Z")

</div>

您好， 我在备份中发现了一些奇怪的情况，希望能得到一些澄清，以了解为何会出现这些现象。 首先，在 /backups/default/ 目录下运行 ls -l --block-size=GB 命令显示，e…

---

## [wp-discourse 帖子中多行 HTML 注释未隐藏](https://meta.discourse.org/t/multi-line-html-comments-not-hidden-on-post-from-wp-discourse/157177)

<div class="topic-metadata">

**Author:** [@orenwolf](https://meta.discourse.org/u/orenwolf)\
**回覆:** 6\
**Last updated:** [2020年七月11日 22:16 UTC](https://meta.discourse.org/t/multi-line-html-comments-not-hidden-on-post-from-wp-discourse/157177 "2020-07-11T22:16:05Z")

</div>

你好， 我不确定这是 wp-discourse 的具体问题，还是 Discourse 本身的 HTML 解析器的问题，但看起来由 wp-discourse 生成的帖子中，多行 HTML 注释并未被隐藏。 我刚刚……

---

## [如何在 Discourse 主题 URL 中移除/隐藏主题 ID？](https://meta.discourse.org/t/how-to-remove-hide-topic-ids-from-discourse-topic-urls/157179)

<div class="topic-metadata">

**Author:** [@Faizan\_Zahid](https://meta.discourse.org/u/Faizan_Zahid)\
**回覆:** 3\
**Last updated:** [2020年七月8日 19:38 UTC](https://meta.discourse.org/t/how-to-remove-hide-topic-ids-from-discourse-topic-urls/157179 "2020-07-08T19:38:06Z")

</div>

基本上，正如您所见，Discourse 中的任何话题 URL 都是这样的： https://meta.discourse.org/t/backup-file-size-discrepancy/157175 而同一话题也可以从这个 URL 打开（已移除话题 ID）： https://met…

---

## [管理员升级页面不存在](https://meta.discourse.org/t/admin-upgrade-page-does-not-exist/157180)

<div class="topic-metadata">

**Author:** [@ajaypalnitj](https://meta.discourse.org/u/ajaypalnitj)\
**回覆:** 27\
**Last updated:** [2020年七月9日 06:52 UTC](https://meta.discourse.org/t/admin-upgrade-page-does-not-exist/157180 "2020-07-09T06:52:30Z")

</div>

我拥有一个 Discourse 网站 ayushlive.com。 我在管理仪表板上看到一条消息，提示升级网站，但升级链接不存在，升级页面也无法访问。 请建议该如何处理。我……

---

## [标记为已解决，投票重置与查询](https://meta.discourse.org/t/marked-as-solved-vote-replenishing-querying/157187)

<div class="topic-metadata">

**Author:** [@InceptionTime](https://meta.discourse.org/u/InceptionTime)\
**回覆:** 6\
**Last updated:** [2023年十一月2日 18:25 UTC](https://meta.discourse.org/t/marked-as-solved-vote-replenishing-querying/157187 "2023-11-02T18:25:17Z")

</div>

您好， 我们使用投票插件来确定社区希望修复的 bug 的优先级，依据是获得的投票数量最多。我们对该插件有几个问题。 从阅读以下内容可知： 我……

---

## [在个人资料上显示徽章类别](https://meta.discourse.org/t/show-badge-categories-on-profile/157189)

<div class="topic-metadata">

**Author:** [@abgeter](https://meta.discourse.org/u/abgeter)\
**回覆:** 2\
**Last updated:** [2020年七月9日 03:25 UTC](https://meta.discourse.org/t/show-badge-categories-on-profile/157189 "2020-07-09T03:25:22Z")

</div>

您好， 我希望徽章类别/类型能像徽章页面那样显示在个人主页上。目前，在通用徽章页面（forum.thereadingrush.com…）上，布局清晰且井然有序。

---

## [通过 API 创建主题时，Oneboxing 不起作用？](https://meta.discourse.org/t/oneboxing-doesnt-work-when-creating-a-topic-via-the-api/157190)

<div class="topic-metadata">

**Author:** [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**回覆:** 2\
**Last updated:** [2020年七月8日 21:16 UTC](https://meta.discourse.org/t/oneboxing-doesnt-work-when-creating-a-topic-via-the-api/157190 "2020-07-08T21:16:34Z")

</div>

我正在通过 API 创建一个主题，最后一行是一个链接（指向另一个 Discourse 论坛），但它没有像手动发布主题时那样显示为一个框。 这是否是在后台任务中完成的……

---

## [Webhook 负载](https://meta.discourse.org/t/webhook-payload/157196)

<div class="topic-metadata">

**Author:** [@hollyw](https://meta.discourse.org/u/hollyw)\
**回覆:** 2\
**Last updated:** [2020年七月8日 23:45 UTC](https://meta.discourse.org/t/webhook-payload/157196 "2020-07-08T23:45:41Z")

</div>

我们正考虑使用 Webhooks 来发送特定类型事件的数据，以用于指标分析。这些事件的负载（payloads）是否有文档列出？或者 Webhook 的负载是否与 Discourse 中的负载相同？

---

## [在 Mozilla 插件中暴露电子邮件](https://meta.discourse.org/t/expose-emails-in-plugin-by-mozilla/157207)

<div class="topic-metadata">

**Author:** [@sunjam](https://meta.discourse.org/u/sunjam)\
**回覆:** 2\
**Last updated:** [2020年七月17日 18:14 UTC](https://meta.discourse.org/t/expose-emails-in-plugin-by-mozilla/157207 "2020-07-17T18:14:11Z")

</div>

Expose Emails In 是由 Mozilla 为 Discourse 开发的插件。我并未维护该插件，但希望能为它设立一个插件分类。在过去几年中，我很少发现有关它的文档或提及。 H…

---

## [已消失的主题：emails-suddenly-stopped-being-sent, 109077](https://meta.discourse.org/t/disappeared-topic-emails-suddenly-stopped-being-sent-109077/157208)

<div class="topic-metadata">

**Author:** [@dandv](https://meta.discourse.org/u/dandv)\
**回覆:** 4\
**Last updated:** [2020年七月23日 08:36 UTC](https://meta.discourse.org/t/disappeared-topic-emails-suddenly-stopped-being-sent-109077/157208 "2020-07-23T08:36:45Z")

</div>

我们的论坛昨天突然停止发送邮件，于是我搜索了“discourse 突然停止发送邮件”，结果找到了这条帖子。不过，该话题已消失。发生了什么？ 不太确定该在哪里补充……

---

## [状态更新插件？](https://meta.discourse.org/t/status-update-plugin/157215)

<div class="topic-metadata">

**Author:** [@Ariel\_Bissett](https://meta.discourse.org/u/Ariel_Bissett)\
**回覆:** 4\
**Last updated:** [2020年七月11日 04:44 UTC](https://meta.discourse.org/t/status-update-plugin/157215 "2020-07-11T04:44:42Z")

</div>

是否有人知道有插件（或巧妙的变通方法！）可以实现用户的“状态更新”？我们的社区正在使用我们的 Discourse 设置在一周的时间内分享他们的阅读进度，我非常希望能有一个标签页来显示……

---

## [能否限制特定文章的评论？](https://meta.discourse.org/t/can-we-restrict-comments-in-a-certain-article-articles/157221)

<div class="topic-metadata">

**Author:** [@Monika\_Gupta](https://meta.discourse.org/u/Monika_Gupta)\
**回覆:** 1\
**Last updated:** [2020年七月9日 06:11 UTC](https://meta.discourse.org/t/can-we-restrict-comments-in-a-certain-article-articles/157221 "2020-07-09T06:11:56Z")

</div>

您好， 我正在尝试建立一个社区，并希望将帮助部分与社区部分分开。我们是否可以对某些文章限制用户的评论？

---

## [本文是否有用？是或否](https://meta.discourse.org/t/was-this-article-helpful-yes-or-no/157223)

<div class="topic-metadata">

**Author:** [@Monika\_Gupta](https://meta.discourse.org/u/Monika_Gupta)\
**回覆:** 7\
**Last updated:** [2020年十月7日 01:47 UTC](https://meta.discourse.org/t/was-this-article-helpful-yes-or-no/157223 "2020-10-07T01:47:48Z")

</div>

您好，我们是否有功能可以在文章下方放置一个“本文是否有帮助？是或否”的选项框？这将有助于我们更好地理解用户的理解情况。

---

## [嵌入最新帖子？](https://meta.discourse.org/t/embed-last-posts/157227)

<div class="topic-metadata">

**Author:** [@satonotdead](https://meta.discourse.org/u/satonotdead)\
**回覆:** 1\
**Last updated:** [2020年七月9日 08:15 UTC](https://meta.discourse.org/t/embed-last-posts/157227 "2020-07-09T08:15:24Z")

</div>

是否可行？我认为在博客页面显示论坛的最新帖子会非常好。这样论坛的互动性会大大增强。

---

## [在电子邮件邀请中添加图片](https://meta.discourse.org/t/adding-an-image-to-email-invite/157234)

<div class="topic-metadata">

**Author:** [@Paul\_King](https://meta.discourse.org/u/Paul_King)\
**回覆:** 0\
**Last updated:** [2020年七月9日 08:17 UTC](https://meta.discourse.org/t/adding-an-image-to-email-invite/157234 "2020-07-09T08:17:37Z")

</div>

在自定义论坛邀请邮件模板时，我无法看到如何在顶部或附近嵌入小图片（例如徽标）。 最佳做法是什么？ 拖放操作似乎有效（但功能有限…

---

## [类别配置选项：镜像邮件列表](https://meta.discourse.org/t/category-configuration-option-mirrors-a-mailing-list/157249)

<div class="topic-metadata">

**Author:** [@evantill](https://meta.discourse.org/u/evantill)\
**回覆:** 2\
**Last updated:** [2020年七月10日 07:33 UTC](https://meta.discourse.org/t/category-configuration-option-mirrors-a-mailing-list/157249 "2020-07-10T07:33:25Z")

</div>

我已将一个电子邮件地址添加到某个类别，但找不到如何使用“邮件列表模式”（“类别镜像邮件列表”）选项： 我在元讨论区未能找到答案（我发现了相互矛盾的信息……）

---

## [切换截图语言](https://meta.discourse.org/t/switch-language-for-screenshot/157250)

<div class="topic-metadata">

**Author:** [@evantill](https://meta.discourse.org/u/evantill)\
**回覆:** 1\
**Last updated:** [2020年七月9日 17:31 UTC](https://meta.discourse.org/t/switch-language-for-screenshot/157250 "2020-07-09T17:31:59Z")

</div>

是否可以通过更改 URL 中的语言环境来截取屏幕截图？

---

## [如何使用 SVG 设置群组徽章？](https://meta.discourse.org/t/how-to-use-svg-for-group-flair/157252)

<div class="topic-metadata">

**Author:** [@jamesmarkcook](https://meta.discourse.org/u/jamesmarkcook)\
**回覆:** 2\
**Last updated:** [2020年七月9日 12:07 UTC](https://meta.discourse.org/t/how-to-use-svg-for-group-flair/157252 "2020-07-09T12:07:01Z")

</div>

我注意到元论坛上的团队标识使用了 Discourse 的 SVG 图标。 我设法在我的主题中上传了一个自定义 SVG 精灵，以便为群组标识使用自定义图标，但这似乎不允许您使用 SVG 图标 …

---

## [Discourse 实例中完全缺少登录表单](https://meta.discourse.org/t/login-form-missing-entirely-from-discourse-instance/157254)

<div class="topic-metadata">

**Author:** [@Nialls](https://meta.discourse.org/u/Nialls)\
**回覆:** 2\
**Last updated:** [2020年七月9日 12:49 UTC](https://meta.discourse.org/t/login-form-missing-entirely-from-discourse-instance/157254 "2020-07-09T12:49:59Z")

</div>

我有一台 Discourse 安装（AWS 上的 Bitnami AMI），已经闲置了几个月……今天当我重新访问时，发现登录表单似乎消失了。 我不知道是什么导致了这种情况，因为…

---

## [无法通过 API 创建主题](https://meta.discourse.org/t/cannot-create-topic-through-api/157255)

<div class="topic-metadata">

**Author:** [@Minhaj](https://meta.discourse.org/u/Minhaj)\
**回覆:** 3\
**Last updated:** [2020年七月9日 22:44 UTC](https://meta.discourse.org/t/cannot-create-topic-through-api/157255 "2020-07-09T22:44:07Z")

</div>

我正在本地机器上运行 Discourse。当我尝试创建主题时，收到了以下响应： {"id":24,"name":null,"username":"msriitd","avatar\_template":"/user\_avatar/localhost/msriitd/{size}/3\_2.png","crea…

---

## [删除特定分类中指定日期内的主题](https://meta.discourse.org/t/delete-topics-within-a-date-in-a-specific-category/157272)

<div class="topic-metadata">

**Author:** [@Headless](https://meta.discourse.org/u/Headless)\
**回覆:** 0\
**Last updated:** [2020年七月9日 16:07 UTC](https://meta.discourse.org/t/delete-topics-within-a-date-in-a-specific-category/157272 "2020-07-09T16:07:28Z")

</div>

你好！目前我使用的是 #plugin:voting 插件。该插件的主要缺点是它的“按投票排序”功能，因为它仍然会将已关闭和旧的话题显示在投票列表的顶部。 我对 Rails 不太熟悉……

---

## [Discourse / WordPress 集成](https://meta.discourse.org/t/discourse-wordpress-integrations/157285)

<div class="topic-metadata">

**Author:** [@agf1997](https://meta.discourse.org/u/agf1997)\
**回覆:** 1\
**Last updated:** [2020年七月10日 17:39 UTC](https://meta.discourse.org/t/discourse-wordpress-integrations/157285 "2020-07-10T17:39:28Z")

</div>

我显然对 wp-discourse 插件很熟悉，但我希望进行更深入的集成。具体来说，我感兴趣的是在我的 WordPress 网站上显示 Discourse 的汉堡菜单和用户菜单，以提供更...

---

## [通过标记化的“访问主题”链接自动将用户登录到 Discourse](https://meta.discourse.org/t/tokenized-visit-topic-link-to-auto-log-users-into-discourse/157287)

<div class="topic-metadata">

**Author:** [@JpMaxMan](https://meta.discourse.org/u/JpMaxMan)\
**回覆:** 6\
**Last updated:** [2020年七月9日 21:17 UTC](https://meta.discourse.org/t/tokenized-visit-topic-link-to-auto-log-users-into-discourse/157287 "2020-07-09T21:17:18Z")

</div>

我希望能提供一个选项，在 Discourse 向用户发送邮件时，为“访问主题”链接添加一个令牌，这样用户点击链接时即可自动登录。 许多基于应用的电子邮件客户端（如 Gmail）使用网页 ……

---

## [自定义点赞按钮不再显示](https://meta.discourse.org/t/custom-like-button-no-longer-appears-after/157288)

<div class="topic-metadata">

**Author:** [@abrambailey](https://meta.discourse.org/u/abrambailey)\
**回覆:** 4\
**Last updated:** [2020年七月9日 19:08 UTC](https://meta.discourse.org/t/custom-like-button-no-longer-appears-after/157288 "2020-07-09T19:08:19Z")

</div>

我在自定义主题的 部分安装了以下代码： api.replaceIcon('d-liked', 'thumbs-up'); api.replaceIcon('d-u…

---

## [可配置的“投票”排序默认值](https://meta.discourse.org/t/configurable-new-default-for-votes-sorting/157292)

<div class="topic-metadata">

**Author:** [@maiki](https://meta.discourse.org/u/maiki)\
**回覆:** 3\
**Last updated:** [2020年七月9日 20:12 UTC](https://meta.discourse.org/t/configurable-new-default-for-votes-sorting/157292 "2020-07-09T20:12:40Z")

</div>

继续讨论“在特定类别中按日期删除主题”： 我不想回避对主题进行日期范围操作的问题，因此我们提出另一个方案：将“投票”（/latest?order=v…）

---

## [Discourse-saml：SLO 不会取消会话](https://meta.discourse.org/t/discourse-saml-slo-does-not-cancel-session/157294)

<div class="topic-metadata">

**Author:** [@max\_o](https://meta.discourse.org/u/max_o)\
**回覆:** 3\
**Last updated:** [2021年三月17日 07:45 UTC](https://meta.discourse.org/t/discourse-saml-slo-does-not-cancel-session/157294 "2021-03-17T07:45:23Z")

</div>

您好， 我们有以下配置： 官方 Discourse 2.5.0（\[ 3f7658cc6e \]），附带 discourse-saml 插件（提交版本 230a58b）， 以及作为身份提供者的 Keycloak（10.0.2）。 我们的身份提供者已配置为使用 URL h…

---

## [为自定义文章类型筛选可用类别](https://meta.discourse.org/t/filtering-the-available-categories-for-a-custom-post-type/157298)

<div class="topic-metadata">

**Author:** [@Kayla](https://meta.discourse.org/u/Kayla)\
**回覆:** 3\
**Last updated:** [2020年七月13日 22:49 UTC](https://meta.discourse.org/t/filtering-the-available-categories-for-a-custom-post-type/157298 "2020-07-13T22:49:40Z")

</div>

我在尝试让 https://meta.discourse.org/t/wp-discourse-plugin-tips-and-tricks/50757#filtering-the-available-categories-for-a-custom-post-type 发挥作用时遇到了问题，特别是在限制自定义文章类型的可用类别方面……

[上一頁](https://meta.discourse.org/hot.md?page=1193)

[下一頁](https://meta.discourse.org/hot.md?page=1195)
