# Latest

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

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

**Page:** 871

---

## [寻求故障排除帮助](https://meta.discourse.org/t/troubleshooting-help-wanted/223338)

<div class="topic-metadata">

**Author:** [@Amanda](https://meta.discourse.org/u/Amanda)\
**回复:** 3\
**最近更新：:** [2022 年4 月 5 日 12:58 UTC](https://meta.discourse.org/t/troubleshooting-help-wanted/223338 "2022-04-05T12:58:43Z")

</div>

希望与您取得联系，以解决通过 Digital Ocean 托管的 Discourse 网站出现故障的根本原因。您能否提供帮助？谢谢！

---

## [自定义大图摘要邮件](https://meta.discourse.org/t/customize-summary-email-for-large-images/169967)

<div class="topic-metadata">

**Author:** [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**回复:** 4\
**最近更新：:** [2022 年3 月 29 日 06:16 UTC](https://meta.discourse.org/t/customize-summary-email-for-large-images/169967 "2022-03-29T06:16:58Z")

</div>

您希望如何处理？{"translation":"您希望如何处理？ 要使摘要电子邮件中的图片变大，理想情况下宽度约为 500-600 像素，并显示在摘录文本的上方（或下方也可以），如下所示：大，理想情况下宽度约为 500-600 像素，并显示在摘录文本的上方（或下方也可以），如下所示： 您何时需要完成？ 不着急 您希望……"}

---

## [管理员无法编辑消息：您没有创建投票的权限](https://meta.discourse.org/t/cant-edit-a-message-as-an-admin-you-dont-have-permissions-to-create-a-poll/223334)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回复:** 3\
**最近更新：:** [2022 年4 月 5 日 12:09 UTC](https://meta.discourse.org/t/cant-edit-a-message-as-an-admin-you-dont-have-permissions-to-create-a-poll/223334 "2022-04-05T12:09:17Z")

</div>

在我导入的论坛上，我遇到了一个帖子问题： 在此主题中，远程图片下载不知何故无法工作。 而且我无法编辑该帖子： 有什么想法吗？

---

## [Patreon 创作者的访问令牌和刷新令牌值不正确](https://meta.discourse.org/t/patreon-creators-access-and-refresh-token-values-are-incorrect/139148)

<div class="topic-metadata">

**Author:** [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)\
**回复:** 5\
**最近更新：:** [2022 年4 月 5 日 02:21 UTC](https://meta.discourse.org/t/patreon-creators-access-and-refresh-token-values-are-incorrect/139148 "2022-04-05T02:21:43Z")

</div>

我们的 Patreon 插件已正常运行数月，但现在我在管理面板中收到消息：“Patreon 创作者的访问令牌和刷新令牌值不正确”。此前也曾发生过类似情况，我们已按照说明操作……

---

## [安装 Discourse 的初步步骤](https://meta.discourse.org/t/first-steps-on-installing-discourse/110372)

<div class="topic-metadata">

**Author:** [@verilog15](https://meta.discourse.org/u/verilog15)\
**回复:** 2\
**最近更新：:** [2019 年2 月 28 日 19:09 UTC](https://meta.discourse.org/t/first-steps-on-installing-discourse/110372 "2019-02-28T19:09:33Z")

</div>

我是一名开发者，但对“论坛/社区”领域不太熟悉。我想全面了解它。 我决定创建一个论坛，其标签为“数学、计算机科学和物理”（其实并不重要）。 我发…

---

## [聊天中被提及时出现“双重”通知](https://meta.discourse.org/t/double-notification-when-mentioned-in-chat/223146)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回复:** 3\
**最近更新：:** [2022 年4 月 5 日 02:53 UTC](https://meta.discourse.org/t/double-notification-when-mentioned-in-chat/223146 "2022-04-05T02:53:38Z")

</div>

我注意到你们在聊天中添加了@提及的通知。 但是，这些“双重通知”真的有用吗？ 我宁愿只有聊天图标通知。 触发此通知的提及：

---

## [如何在帖子下方添加引用链接？](https://meta.discourse.org/t/how-to-add-quote-link-below-the-posts/223190)

<div class="topic-metadata">

**Author:** [@asugar](https://meta.discourse.org/u/asugar)\
**回复:** 7\
**最近更新：:** [2022 年4 月 5 日 01:42 UTC](https://meta.discourse.org/t/how-to-add-quote-link-below-the-posts/223190 "2022-04-05T01:42:32Z")

</div>

如何在“回复”之前添加带有文本“引用”的链接？

---

## [当 watch/replace 时 HTML 从内容中被剥离，但在直接写入时不会](https://meta.discourse.org/t/html-stripped-from-content-when-watch-replace-but-not-when-written-directly/223125)

<div class="topic-metadata">

**Author:** [@Jagster](https://meta.discourse.org/u/Jagster)\
**回复:** 6\
**最近更新：:** [2022 年4 月 4 日 23:47 UTC](https://meta.discourse.org/t/html-stripped-from-content-when-watch-replace-but-not-when-written-directly/223125 "2022-04-04T23:47:26Z")

</div>

我不知道这是否是一个真正的bug。但Discourse的表现不太一致，所以？基本上这也可以是一个功能/支持/帮助请求，以便版主/管理员知道该怎么做:wink: 更容易打开我之前做的事情……

---

## [优化 Discourse 服务器性能](https://meta.discourse.org/t/tuning-a-discourse-server-for-performance/94927)

<div class="topic-metadata">

**Author:** [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**回复:** 11\
**最近更新：:** [2022 年4 月 4 日 22:43 UTC](https://meta.discourse.org/t/tuning-a-discourse-server-for-performance/94927 "2022-04-04T22:43:56Z")

</div>

是否有指南（或本论坛中的主题）提供关于优化托管 Discourse 站点的服务器性能的技巧？ 我运行了 ./Discourse-set，它将四分之一的内存（设置为 4096MB）分配出去，并添加了 8 个唯一...

---

## [寻找 add\_api\_key\_scope 的用法示例](https://meta.discourse.org/t/looking-for-usage-examples-of-add-api-key-scope/198939)

<div class="topic-metadata">

**Author:** [@Hooksmith](https://meta.discourse.org/u/Hooksmith)\
**回复:** 0\
**最近更新：:** [2021 年8 月 2 日 20:30 UTC](https://meta.discourse.org/t/looking-for-usage-examples-of-add-api-key-scope/198939 "2021-08-02T20:30:53Z")

</div>

大家好， 我正在尝试使用 Plugin::Instance 上的这个方法 discourse/instance.rb at 06c60b017c86ddab489fd3d30c951c10b5c4d281 · ayampenyetan/discourse · GitHub 我尝试搜索这个方法的现有用法……

---

## [用户创建时，如果用户名是整数，API返回500](https://meta.discourse.org/t/api-500-on-user-creation-if-username-is-integer/222281)

<div class="topic-metadata">

**Author:** [@Seluj78](https://meta.discourse.org/u/Seluj78)\
**回复:** 3\
**最近更新：:** [2022 年4 月 4 日 21:23 UTC](https://meta.discourse.org/t/api-500-on-user-creation-if-username-is-integer/222281 "2022-04-04T21:23:01Z")

</div>

您好， 我们在使用 discourse API 时遇到了一些问题，问题在于当用户名是整数时 API 会返回 500。如果将其转换为字符串，它就可以正常工作…… 我将在我的这边修复这个问题，并且……

---

## [在新标签页中打开外部链接时出现问题](https://meta.discourse.org/t/issue-opening-external-links-in-new-tab/222732)

<div class="topic-metadata">

**Author:** [@santiyounger](https://meta.discourse.org/u/santiyounger)\
**回复:** 3\
**最近更新：:** [2022 年4 月 4 日 21:01 UTC](https://meta.discourse.org/t/issue-opening-external-links-in-new-tab/222732 "2022-04-04T21:01:32Z")

</div>

我也非常需要这个。希望在我社区中的任何超链接都能在新标签页中打开？ 有什么解决方案吗？我很乐意使用插件或变通方法 谢谢 编辑： 我在管理设置中找到了这个…

---

## [帖子回复和主题回复有什么区别](https://meta.discourse.org/t/what-is-difference-between-post-reply-and-topic-reply/223194)

<div class="topic-metadata">

**Author:** [@asugar](https://meta.discourse.org/u/asugar)\
**回复:** 15\
**最近更新：:** [2022 年4 月 4 日 20:30 UTC](https://meta.discourse.org/t/what-is-difference-between-post-reply-and-topic-reply/223194 "2022-04-04T20:30:05Z")

</div>

我弄不清楚“帖子回复”和“主题回复”有什么区别？

---

## [安装Spoiler插件时出现问题](https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113)

<div class="topic-metadata">

**Author:** [@Niik](https://meta.discourse.org/u/Niik)\
**回复:** 7\
**最近更新：:** [2022 年4 月 4 日 20:12 UTC](https://meta.discourse.org/t/problems-installing-spoiler-plugin/223113 "2022-04-04T20:12:26Z")

</div>

@techAPJ 嘿，感谢插件。 我在 DigitalOcean 的一个液滴中有 discourse，并且我严格按照你的说明操作。 （附加了 YAML 文件，没有 - sudo -E …）但当我重建时，它只是给了我一个……

---

## [我可以在用户界面设置中禁用选择默认主页吗？](https://meta.discourse.org/t/can-i-disable-choosing-a-default-homepage-in-users-interface-settings/223120)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**回复:** 6\
**最近更新：:** [2022 年4 月 4 日 19:47 UTC](https://meta.discourse.org/t/can-i-disable-choosing-a-default-homepage-in-users-interface-settings/223120 "2022-04-04T19:47:53Z")

</div>

我做了一个主题，不希望用户能够单独更改默认主页： 有没有办法禁用此选项？我们能否为所有已更改的用户重新定义默认主页……

---

## [\[付费\] 修改视频上传主题以显示主题缩略图](https://meta.discourse.org/t/paid-modifying-video-upload-theme-to-display-topic-thumbnails/223197)

<div class="topic-metadata">

**Author:** [@Eliot\_Mack](https://meta.discourse.org/u/Eliot_Mack)\
**回复:** 0\
**最近更新：:** [2022 年4 月 4 日 19:11 UTC](https://meta.discourse.org/t/paid-modifying-video-upload-theme-to-display-topic-thumbnails/223197 "2022-04-04T19:11:23Z")

</div>

我正在使用 Discourse 视频上传插件（其中提到了 YouTube 和 Vimeo）。 我希望它能自动从创建的 Vimeo 链接中提取缩略图（我们只使用 Vimeo），并且……

---

## [Login/register page background image](https://meta.discourse.org/t/login-register-page-background-image/49323)

<div class="topic-metadata">

**Author:** [@kuyashi](https://meta.discourse.org/u/kuyashi)\
**回复:** 1\
**最近更新：:** [2016 年8 月 27 日 20:33 UTC](https://meta.discourse.org/t/login-register-page-background-image/49323 "2016-08-27T20:33:14Z")

</div>

I’d like to be able to add a background image/color to the /login and /signup pages (when authentication required setting is enabled). There is a lot of unused white-space which, adding image would at least help tone do…

---

## [如何打印或导出非常长的主题](https://meta.discourse.org/t/how-to-print-or-export-very-long-topics/223138)

<div class="topic-metadata">

**Author:** [@Kemplen](https://meta.discourse.org/u/Kemplen)\
**回复:** 7\
**最近更新：:** [2022 年4 月 4 日 17:44 UTC](https://meta.discourse.org/t/how-to-print-or-export-very-long-topics/223138 "2022-04-04T17:44:32Z")

</div>

在我的 Discourse 论坛中，我有一些非常长的帖子，但我找不到任何方法可以打印它们或将它们导出为其他格式（例如 Microsoft Word）。以下是我尝试过但未成功的方法： 从…打印

---

## [我们可以聊聊SEO吗？](https://meta.discourse.org/t/can-we-have-a-conversation-about-seo/223178)

<div class="topic-metadata">

**Author:** [@stance455](https://meta.discourse.org/u/stance455)\
**回复:** 2\
**最近更新：:** [2022 年4 月 4 日 17:22 UTC](https://meta.discourse.org/t/can-we-have-a-conversation-about-seo/223178 "2022-04-04T17:22:56Z")

</div>

我最近意识到 Discourse 为 Googlebot 提供了一个完全不同的网站版本。 …而且理所当然，我刚试着看看谷歌是否能渲染该网站的 JS 版本——显然不能（屏幕截图……

---

## [树状结构中的回复](https://meta.discourse.org/t/replies-in-tree-structure/223124)

<div class="topic-metadata">

**Author:** [@asugar](https://meta.discourse.org/u/asugar)\
**回复:** 9\
**最近更新：:** [2022 年4 月 4 日 16:36 UTC](https://meta.discourse.org/t/replies-in-tree-structure/223124 "2022-04-04T16:36:25Z")

</div>

我希望主题的回复能够像其他论坛脚本一样以树状结构组织。我做了一些搜索，但找不到任何解决方案，而且我还意识到 Discourse 从未以这种方式开发……

---

## [使用 REST API 上传时文件损坏](https://meta.discourse.org/t/files-become-corrupt-when-trying-to-upload-using-rest-api/223181)

<div class="topic-metadata">

**Author:** [@Devarsh\_Mavani](https://meta.discourse.org/u/Devarsh_Mavani)\
**回复:** 0\
**最近更新：:** [2022 年4 月 4 日 16:36 UTC](https://meta.discourse.org/t/files-become-corrupt-when-trying-to-upload-using-rest-api/223181 "2022-04-04T16:36:18Z")

</div>

我已在本地设置了 discourse。我正在尝试使用 rest api 上传文件。 这是来自 postman 的 http 标头和信息 POST /uploads.json HTTP/1.1 Host: localhost:4200 Api-Key: 3772adba123b1db43f4d3644382b97a5ba9b6……

---

## [Webhook：是否在传输信息中包含 X-Discourse-Event？](https://meta.discourse.org/t/webhook-include-x-discourse-event-in-transmitted-info/222660)

<div class="topic-metadata">

**Author:** [@Cédric\_DANIEL](https://meta.discourse.org/u/C%C3%A9dric_DANIEL)\
**回复:** 0\
**最近更新：:** [2022 年3 月 31 日 09:13 UTC](https://meta.discourse.org/t/webhook-include-x-discourse-event-in-transmitted-info/222660 "2022-03-31T09:13:05Z")

</div>

您好， 在 webhook 发送的数据中，是否可以检索“X-Discourse”类型的信息？ X-Discourse-Event-Id: ... X-Discourse-Event-Type: ... X-Discourse-Event: ... 最后一个 X-Discourse-Event …

---

## [有插件能让我的论坛变成商店吗？](https://meta.discourse.org/t/is-there-a-plugin-to-make-my-forum-a-shop/223123)

<div class="topic-metadata">

**Author:** [@wubenmm2](https://meta.discourse.org/u/wubenmm2)\
**回复:** 3\
**最近更新：:** [2022 年4 月 4 日 14:45 UTC](https://meta.discourse.org/t/is-there-a-plugin-to-make-my-forum-a-shop/223123 "2022-04-04T14:45:17Z")

</div>

有没有插件能让我的论坛变成商店？我想让用户讨论产品。

---

## [有办法自定义Slack的转录模板以移除格式化为引用吗？](https://meta.discourse.org/t/is-there-a-way-of-customizing-the-slack-transcript-template-to-remove-the-formatting-as-quote/222145)

<div class="topic-metadata">

**Author:** [@Anna\_Geller](https://meta.discourse.org/u/Anna_Geller)\
**回复:** 5\
**最近更新：:** [2022 年4 月 4 日 14:03 UTC](https://meta.discourse.org/t/is-there-a-way-of-customizing-the-slack-transcript-template-to-remove-the-formatting-as-quote/222145 "2022-04-04T14:03:19Z")

</div>

当使用（非常棒的！）插件从 Slack 创建到 Discourse 的记录时，默认情况下对话会创建为“引用”： 我更喜欢记录在没有引用时的外观和感觉： …

---

## [\[有偿工作\] 允许搜索引擎抓取生产的 JS 版本](https://meta.discourse.org/t/paid-work-allow-search-engines-to-crawl-the-production-js-version/222933)

<div class="topic-metadata">

**Author:** [@stance455](https://meta.discourse.org/u/stance455)\
**回复:** 5\
**最近更新：:** [2022 年4 月 4 日 14:02 UTC](https://meta.discourse.org/t/paid-work-allow-search-engines-to-crawl-the-production-js-version/222933 "2022-04-04T14:02:54Z")

</div>

您希望做什么？ 目前，Discourse 向 Googlebot 和其他爬虫提供非 JS 版本的网站。\[相关\] 我希望能够打开/关闭它 所以，本质上，我希望搜索引擎爬虫……

---

## [如何使用 Discourse API 根据文本查询获取相似主题](https://meta.discourse.org/t/how-can-i-get-similar-topics-based-on-text-query-using-discourse-api/222668)

<div class="topic-metadata">

**Author:** [@Devarsh\_Mavani](https://meta.discourse.org/u/Devarsh_Mavani)\
**回复:** 2\
**最近更新：:** [2022 年4 月 4 日 13:52 UTC](https://meta.discourse.org/t/how-can-i-get-similar-topics-based-on-text-query-using-discourse-api/222668 "2022-04-04T13:52:08Z")

</div>

有什么办法可以根据查询获得类似的主题吗？ 我尝试过使用 /search.json 但它只返回主题标题，而不返回原始正文和其他信息，就像我们在网页上看到的那样。 我搜索了文档但找不到……

---

## [备份是否存储主题、帖子、回复等？](https://meta.discourse.org/t/does-backup-store-topic-post-reply-etc/223090)

<div class="topic-metadata">

**Author:** [@igotquestion](https://meta.discourse.org/u/igotquestion)\
**回复:** 2\
**最近更新：:** [2022 年4 月 4 日 10:37 UTC](https://meta.discourse.org/t/does-backup-store-topic-post-reply-etc/223090 "2022-04-04T10:37:08Z")

</div>

我设置了备份，并且 .tar.gz 文件列在备份选项卡中。 .tar.gz 文件是否包含所有主题、帖子、回复、用户数据？还是只包含站点设置？ 我使用 ec2 配置了 discourse。如果 ec2 损坏，我能 100% 恢复到以前的状态吗？

---

## [管理员面板/主题编辑页面上的小型UI错误](https://meta.discourse.org/t/minor-ui-bug-on-admin-panel-themes-editing-pages/223118)

<div class="topic-metadata">

**Author:** [@Richie](https://meta.discourse.org/u/Richie)\
**回复:** 0\
**最近更新：:** [2022 年4 月 4 日 10:32 UTC](https://meta.discourse.org/t/minor-ui-bug-on-admin-panel-themes-editing-pages/223118 "2022-04-04T10:32:27Z")

</div>

我目前在 2.9.0.beta3 ( 98f3349c31 ) 上仅落后最新提交 7 个提交。 当通过管理员控制面板自定义主题时，出现了一个新错误（我几乎可以肯定上个月它以前不是这样的），即我……

---

## [用于调试API的配方和工具](https://meta.discourse.org/t/recipes-and-tools-for-debugging-the-api/222904)

<div class="topic-metadata">

**Author:** [@maiki](https://meta.discourse.org/u/maiki)\
**回复:** 4\
**最近更新：:** [2022 年4 月 4 日 07:54 UTC](https://meta.discourse.org/t/recipes-and-tools-for-debugging-the-api/222904 "2022-04-04T07:54:02Z")

</div>

各位！ 我正在查看用户创建时的 API 500 错误，如果用户名是整数，并且只能通过 curl 来复现。我正在查阅文档，看看是否有有用的输出来帮助弄清楚……

---

## [非 JS 版本提供给 Googlebot 的所有超链接均为黑色链接](https://meta.discourse.org/t/all-hyperlinks-are-black-in-non-js-version-served-to-googlebot/222856)

<div class="topic-metadata">

**Author:** [@stance455](https://meta.discourse.org/u/stance455)\
**回复:** 1\
**最近更新：:** [2022 年4 月 4 日 05:44 UTC](https://meta.discourse.org/t/all-hyperlinks-are-black-in-non-js-version-served-to-googlebot/222856 "2022-04-04T05:44:39Z")

</div>

起初，我以为这是故意的，但现在看来这是一个最近出现的bug https://webcache.googleusercontent.com/search?q=cache:BQivkuDuVHgJ:https://meta.discourse.org/+&cd=1&hl=en&ct=clnk&gl=il 所有超文本标记语言……

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

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