# Latest

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

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

**Page:** 394

---

## [每个类别或主题是否可以覆盖社交/开放图像？](https://meta.discourse.org/t/overriding-the-social-open-graph-image-per-category-or-topic/308522)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**回复:** 1\
**最近更新：:** [2024 年9 月 7 日 13:22 UTC](https://meta.discourse.org/t/overriding-the-social-open-graph-image-per-category-or-topic/308522 "2024-09-07T13:22:08Z")

</div>

我很想知道是否有可能针对每个类别或主题更改社交/开放图谱图片。 这是为个人网站——自托管在 Digital Ocean 上。

---

## [教程：解决Cloudflare SSL "无效的SSL证书" 错误](https://meta.discourse.org/t/tutorial-resolving-cloudflare-ssl-invalid-ssl-certificate-error/325361)

<div class="topic-metadata">

**Author:** [@nwnuyhs](https://meta.discourse.org/u/nwnuyhs)\
**回复:** 0\
**最近更新：:** [2024 年9 月 6 日 18:37 UTC](https://meta.discourse.org/t/tutorial-resolving-cloudflare-ssl-invalid-ssl-certificate-error/325361 "2024-09-06T18:37:00Z")

</div>

问题描述 在使用 Cloudflare SSL 保护您的网站时，您可能会遇到以下情况： 访问 example.com 正常 访问 www.example.com 时出现“无效的 SSL 证书”错误 原因分析 此问题通常是由于 Cloudflare SSL 规则配置不正确引起的。 解决方案 要解决此问题，请按照以下步骤更改您的 SSL/TLS 加密模式： 登录您的 Cloudflare 账户 选择您正在处理的域名 转到 SSL…

---

## [带有定价表的订阅 - 未找到客户的响应](https://meta.discourse.org/t/subscriptions-with-pricing-table-customer-not-found-response/323450)

<div class="topic-metadata">

**Author:** [@roscopeco](https://meta.discourse.org/u/roscopeco)\
**回复:** 7\
**最近更新：:** [2024 年9 月 7 日 08:52 UTC](https://meta.discourse.org/t/subscriptions-with-pricing-table-customer-not-found-response/323450 "2024-09-07T08:52:48Z")

</div>

大家好！我遇到了一个问题，已经困扰了我几天，但一直没有成功，所以希望这里有人能帮帮我 :slight\_smile: Discourse 3.4.0.beta1-dev Subscriptions 2.8.1 - f0b4984 Docker 安装在 Linux VM 上 我已经安装并激活了 subscriptions 插件，并且在使用内置定价表时，它 大多数 时候都能正常工作（偶尔用户在订阅后不会被添加到组中，但这可能是另一个问…

---

## ["Hot"筛选在我的组件中返回奇怪的主题列表](https://meta.discourse.org/t/hot-filter-returns-strange-list-of-topics-on-my-component/325407)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**回复:** 2\
**最近更新：:** [2024 年9 月 7 日 08:03 UTC](https://meta.discourse.org/t/hot-filter-returns-strange-list-of-topics-on-my-component/325407 "2024-09-07T08:03:43Z")

</div>

我正在使用 精选列表 来展示精选的主题列表。我可以毫无问题地使用“最新”、“热门”或“未读”等列表过滤器。但是，当我尝试过滤“热门”时，我会得到一个奇怪的选择： 该选择与实际的“热门”列表不匹配： 我不知道为什么这不起作用。过滤器是这样应用的：

---

## [我该如何修复这个显示问题？](https://meta.discourse.org/t/how-do-i-fix-this-display/325388)

<div class="topic-metadata">

**Author:** [@oga](https://meta.discourse.org/u/oga)\
**回复:** 1\
**最近更新：:** [2024 年9 月 7 日 08:25 UTC](https://meta.discourse.org/t/how-do-i-fix-this-display/325388 "2024-09-07T08:25:51Z")

</div>

请看附件的图片。 我们已成功将 Ghost 博客与 Discourse 实例集成，但我不喜欢文章在 Discourse 端呈现的方式。 我希望用图片或其他内容替换“聊天”图标。 如果无法抓取文章的图片，是否有办法替换每篇文章的这些聊天图标？ 文章来源如下： https://ogatutor.com —主博客。 https://teachmeai.ogatutor.com ---- Discourse 社区

---

## [如何加载更多点赞表情符号？](https://meta.discourse.org/t/how-to-load-more-like-emoji/325403)

<div class="topic-metadata">

**Author:** [@nwnuyhs](https://meta.discourse.org/u/nwnuyhs)\
**回复:** 2\
**最近更新：:** [2024 年9 月 7 日 07:03 UTC](https://meta.discourse.org/t/how-to-load-more-like-emoji/325403 "2024-09-07T07:03:05Z")

</div>

像这样：

---

## [出版带有章节的书的最佳方法是什么？](https://meta.discourse.org/t/what-is-the-best-way-to-publish-a-book-with-chapters/324684)

<div class="topic-metadata">

**Author:** [@oga](https://meta.discourse.org/u/oga)\
**回复:** 7\
**最近更新：:** [2024 年9 月 7 日 06:42 UTC](https://meta.discourse.org/t/what-is-the-best-way-to-publish-a-book-with-chapters/324684 "2024-09-07T06:42:03Z")

</div>

有人能推荐一个主题组件或推荐一个发布带有章节的书的最佳方法吗？ 我们想要实现的是：发布一本包含第 1、2、3 章 xxx 的书。 当用户阅读第 1 章时，他们可以继续阅读第 x 章，或者他们甚至可以跳过第 1 章直接跳转到第 2 章或第 x 章。 我们希望可以选择将某些章节设为仅会员区域。

---

## [如何批量导入国家旗帜Emoji？](https://meta.discourse.org/t/how-to-batch-import-country-flag-emojis/325353)

<div class="topic-metadata">

**Author:** [@nwnuyhs](https://meta.discourse.org/u/nwnuyhs)\
**回复:** 5\
**最近更新：:** [2024 年9 月 7 日 06:31 UTC](https://meta.discourse.org/t/how-to-batch-import-country-flag-emojis/325353 "2024-09-07T06:31:33Z")

</div>

我想批量输入世界上许多国家的国旗表情符号，例如：美国国旗表情符号是“:us:”，最终显示效果是 :us: ，中国国旗表情符号是“:cn:”，最终显示效果是 :cn: ，巴勒斯坦是“:palestinian\_territories:”，最终显示效果是 :palestinian\_territories: 但我希望一次性将所有国家的国旗表情符号输入到编辑框中，该如何操作？ 我找到了各种国家国旗的代码：Emoji country flags…

---

## [在重建之前进行 YML 验证？](https://meta.discourse.org/t/yml-validation-prior-to-rebuild/325226)

<div class="topic-metadata">

**Author:** [@TonyG](https://meta.discourse.org/u/TonyG)\
**回复:** 3\
**最近更新：:** [2024 年9 月 7 日 06:28 UTC](https://meta.discourse.org/t/yml-validation-prior-to-rebuild/325226 "2024-09-07T06:28:47Z")

</div>

这是在一个典型的 Docker 安装的私有 VPS 上的自托管 Discourse 安装中进行的。 我又犯了同样的错误： 我等待了两个小时的“完美”更新重建到 v3.4.0.beta2-dev。 然后添加了几行到 app.yml，又等待了两个小时进行另一次重建。 （为什么分开操作？因为如果可能出错，双重打击永远不好。） 然后我在日志中发现了运行时错误，因为我忘记在 app.yml 中添加空格（用于 MaxMind 账户和密钥）…

---

## [将idrive作为S3服务添加](https://meta.discourse.org/t/adding-idrive-as-s3-service/322230)

<div class="topic-metadata">

**Author:** [@Bathinda](https://meta.discourse.org/u/Bathinda)\
**回复:** 7\
**最近更新：:** [2024 年9 月 7 日 06:06 UTC](https://meta.discourse.org/t/adding-idrive-as-s3-service/322230 "2024-09-07T06:06:18Z")

</div>

你的意思是，我只需要在 Disco 管理设置中，用 iDrive S3 提供的值来填写 Aws\_S3 字段所需的值？（因为 disco 管理设置中没有其他 S3 服务的字段）。

---

## [关于开源键值存储系统的讨论保持开放](https://meta.discourse.org/t/keeping-discourse-on-an-open-source-key-value-storage-system/303669)

<div class="topic-metadata">

**Author:** [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**回复:** 4\
**最近更新：:** [2024 年9 月 7 日 02:22 UTC](https://meta.discourse.org/t/keeping-discourse-on-an-open-source-key-value-storage-system/303669 "2024-09-07T02:22:30Z")

</div>

既然 Redis Labs 已决定不再开源 Redis，是否已有计划转向其中一个开源分支，例如 Valkey 或 Redict，以支持官方支持的键值存储，支持 discourse\_docker 部署的默认设置，并最终为现有部署进行 discourse\_docker 迁移？ 我猜只要 discourse\_docker 仍固定在 image/base/install-redis 中的 redis 7.0.7，就有时间考虑，但我希望它不会转…

---

## [如何公开展示徽章？](https://meta.discourse.org/t/how-to-show-badge-publicly/325346)

<div class="topic-metadata">

**Author:** [@Overgrow](https://meta.discourse.org/u/Overgrow)\
**回复:** 4\
**最近更新：:** [2024 年9 月 6 日 23:23 UTC](https://meta.discourse.org/t/how-to-show-badge-publicly/325346 "2024-09-06T23:23:48Z")

</div>

管理员 → 徽章。 请告知如何激活标准徽章（如周年纪念）旁边的复选框？ 由于某种原因，我无法在公共徽章页面上设置“显示徽章”。 徽章 SQL 可编辑设置未启用……

---

## [基础JS前端——嵌入式脚本与页面变更](https://meta.discourse.org/t/basic-js-frontend-embedded-script-and-on-page-change/325359)

<div class="topic-metadata">

**Author:** [@federatedRoss](https://meta.discourse.org/u/federatedRoss)\
**回复:** 1\
**最近更新：:** [2024 年9 月 6 日 18:32 UTC](https://meta.discourse.org/t/basic-js-frontend-embedded-script-and-on-page-change/325359 "2024-09-06T18:32:40Z")

</div>

我只是想通过 JS 在页面加载时触发一些函数来更新和加载广告，但我在论坛上找到的事件似乎根本没有触发： \<script type="text/discourse-plugin" version="0.8.16"\> api.onPageChange(() =\> { updateTopAd(); }); function updateTopAd() { console.lo…

---

## [Chat: 让图片灯箱与核心匹配](https://meta.discourse.org/t/chat-make-image-lightbox-match-core/325307)

<div class="topic-metadata">

**Author:** [@Earnie\_Baird](https://meta.discourse.org/u/Earnie_Baird)\
**回复:** 2\
**最近更新：:** [2024 年9 月 6 日 15:16 UTC](https://meta.discourse.org/t/chat-make-image-lightbox-match-core/325307 "2024-09-06T15:16:41Z")

</div>

我们在社区中拥有出色的聊天体验，但迄今为止报告最多的问题是无法单击图片将其展开/下载。 Discourse 已经在论坛中具备此功能（请参阅下面的屏幕截图示例）。是否可以将此相同功能复制到聊天中上传的图片？ 任何帮助都将不胜感激。

---

## [在成员目录中搜索：仅显示21个结果](https://meta.discourse.org/t/search-in-member-directory-only-21-results/325282)

<div class="topic-metadata">

**Author:** [@Eloïse\_Barrège](https://meta.discourse.org/u/Elo%C3%AFse_Barr%C3%A8ge)\
**回复:** 1\
**最近更新：:** [2024 年9 月 6 日 09:33 UTC](https://meta.discourse.org/t/search-in-member-directory-only-21-results/325282 "2024-09-06T09:33:34Z")

</div>

您好！ 请问如何扩展成员目录中的结果限制？ 它目前限制为 21 个结果。 谢谢！

---

## [队列话题标志在启用可审查索取时似乎无法被领取](https://meta.discourse.org/t/queued-topic-flags-dont-seem-to-be-claimable-while-reviewable-claiming-is-enabled/325300)

<div class="topic-metadata">

**Author:** [@Firepup650](https://meta.discourse.org/u/Firepup650)\
**回复:** 0\
**最近更新：:** [2024 年9 月 6 日 12:25 UTC](https://meta.discourse.org/t/queued-topic-flags-dont-seem-to-be-claimable-while-reviewable-claiming-is-enabled/325300 "2024-09-06T12:25:11Z")

</div>

我刚注意到这个问题，我启用了该设置来保存一些我想稍后回顾的内容，虽然我可以领取排队的帖子标志： 但我无法领取排队的帖子标志： 感觉像个 bug，快速搜索了一下，没有找到关于此问题的现有帖子。

---

## [提及AI人物角色时出现“Job exception: undefined method \`scheduled?' for nil”错误](https://meta.discourse.org/t/job-exception-undefined-method-scheduled-for-nil-error-when-mentioning-ai-persona-in-post/324214)

<div class="topic-metadata">

**Author:** [@MachineScholar](https://meta.discourse.org/u/MachineScholar)\
**回复:** 7\
**最近更新：:** [2024 年9 月 6 日 08:56 UTC](https://meta.discourse.org/t/job-exception-undefined-method-scheduled-for-nil-error-when-mentioning-ai-persona-in-post/324214 "2024-09-06T08:56:51Z")

</div>

在我发帖提到我的 AI 机器人时，它没有任何反应，所以我检查了错误日志，出现了这个错误： Job exception: undefined method \`scheduled?' for nil 我还没有遇到过这种情况，安装中的其他一切都运行正常，我的 API 账户也有余额。我的版本是 3.4.0.beta2-dev (361e954c55) 这是回溯信息： /var/www/discourse/app/jobs/schedu…

---

## [已经出现大约4个小时的502 Bad Gateway错误](https://meta.discourse.org/t/502-bad-gateway-error-for-around-4-hours-now/325277)

<div class="topic-metadata">

**Author:** [@cl0ver\_chomik](https://meta.discourse.org/u/cl0ver_chomik)\
**回复:** 1\
**最近更新：:** [2024 年9 月 6 日 08:48 UTC](https://meta.discourse.org/t/502-bad-gateway-error-for-around-4-hours-now/325277 "2024-09-06T08:48:00Z")

</div>

你好！:wave: 我访问的论坛 (https://forum.creative.gimkit.com) 大约有 4 个小时出现 502 网关错误了。有什么办法可以修复吗？这是一个拥有约 6000 名用户的论坛。

---

## [内置拼写和语法检查器](https://meta.discourse.org/t/built-in-spell-and-grammar-checker/48832)

<div class="topic-metadata">

**Author:** [@Konstantin\_Ladutenko](https://meta.discourse.org/u/Konstantin_Ladutenko)\
**回复:** 9\
**最近更新：:** [2024 年9 月 6 日 07:28 UTC](https://meta.discourse.org/t/built-in-spell-and-grammar-checker/48832 "2024-09-06T07:28:19Z")

</div>

Hi, I recently had an amazing writing experience using TeXstudio with a spell and grammar check done in real time (via Language Tool app installed locally). It is very useful if you are more focused on the subject and …

---

## [社区经理心态——网络研讨会回顾](https://meta.discourse.org/t/community-manager-mindset-webinar-recap/322666)

<div class="topic-metadata">

**Author:** [@Danielle](https://meta.discourse.org/u/Danielle)\
**回复:** 11\
**最近更新：:** [2024 年9 月 6 日 07:23 UTC](https://meta.discourse.org/t/community-manager-mindset-webinar-recap/322666 "2024-09-06T07:23:36Z")

</div>

2024-08-29T04:00:00Z（UTC），我们与 Discourse 客户成功团队共同举办了“社区管理者思维”办公时间会议，会议内容涵盖： 培养作为社区管理者的思维模式。 如何开展社区…

---

## [关于“early hint header”全局设置的问题](https://meta.discourse.org/t/question-about-early-hint-header-global-settings/302977)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回复:** 1\
**最近更新：:** [2024 年9 月 6 日 07:11 UTC](https://meta.discourse.org/t/question-about-early-hint-header-global-settings/302977 "2024-09-06T07:11:22Z")

</div>

你好 :waving\_hand: 当这个 EXPERIMENTAL: preconnect and dns-prefetch resource hints for CDN doma… · discourse/discourse@36cdb14 · GitHub 站点设置可用时，我在我的站点上启用了它。之后，此提交已在此处 DEV: Consolidate experimental 'Link' header implementatio…

---

## [用户 API 密钥：重复的 client\_id 会导致内部服务器错误](https://meta.discourse.org/t/user-api-keys-duplicate-client-id-will-lead-to-internal-server-error/260995)

<div class="topic-metadata">

**Author:** [@Indra](https://meta.discourse.org/u/Indra)\
**回复:** 13\
**最近更新：:** [2024 年9 月 6 日 06:37 UTC](https://meta.discourse.org/t/user-api-keys-duplicate-client-id-will-lead-to-internal-server-error/260995 "2024-09-06T06:37:04Z")

</div>

当使用已被其他用户使用的 client\_id 调用 user-api-key/new 时，论坛将抛出 RecordNotUnique 错误，并在内部服务器错误中静默失败。 ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index\_user\_api\_keys\_on…

---

## [在正则表达式中转义反斜杠](https://meta.discourse.org/t/escaping-a-backslash-in-a-regex/324641)

<div class="topic-metadata">

**Author:** [@thaidb](https://meta.discourse.org/u/thaidb)\
**回复:** 3\
**最近更新：:** [2024 年9 月 6 日 00:54 UTC](https://meta.discourse.org/t/escaping-a-backslash-in-a-regex/324641 "2024-09-06T00:54:36Z")

</div>

我想将字符串标题从“T8/2024”替换为“T9/2024” 来自话题 How to replace a string/character in topic title? - #11 by pfaffman Topic.where("title LIKE '%T8/2024%'").find\_each do |topic| topic.title.gsub!(/T8\\/2024/,"T9/2024") topic.fancy…

---

## [关于"PNPM"的更新通知](https://meta.discourse.org/t/update-notice-for-pnpm/325205)

<div class="topic-metadata">

**Author:** [@Architect](https://meta.discourse.org/u/Architect)\
**回复:** 4\
**最近更新：:** [2024 年9 月 6 日 00:30 UTC](https://meta.discourse.org/t/update-notice-for-pnpm/325205 "2024-09-06T00:30:14Z")

</div>

您好， 最近在更新中注意到此警报： 以前没见过这个，不确定是做什么用的？ 尝试运行命令“Pnpm add -g pnpm”，但该命令未被识别。 在此处查看了参考资料： 这应该与 discourse core 集成吗？

---

## [新 /about 横幅在移动设备上被裁切](https://meta.discourse.org/t/new-about-banner-cut-off-on-mobile/324354)

<div class="topic-metadata">

**Author:** [@HamMan2118](https://meta.discourse.org/u/HamMan2118)\
**回复:** 9\
**最近更新：:** [2024 年9 月 6 日 00:25 UTC](https://meta.discourse.org/t/new-about-banner-cut-off-on-mobile/324354 "2024-09-06T00:25:07Z")

</div>

早上好！ 我注意到，在移动设备（iPhone 13 Pro、Google Chrome，但这应该没有区别）的 /about 页面上 这可能是故意的，而且无法修复，不过，我还是在这里提一下 :slight\_smile:

---

## [添加配置选项以内联显示本地PDF上传](https://meta.discourse.org/t/add-configuration-option-to-serve-local-pdf-uploads-inline/257040)

<div class="topic-metadata">

**Author:** [@thoka](https://meta.discourse.org/u/thoka)\
**回复:** 2\
**最近更新：:** [2024 年9 月 5 日 20:23 UTC](https://meta.discourse.org/t/add-configuration-option-to-serve-local-pdf-uploads-inline/257040 "2024-09-05T20:23:01Z")

</div>

我们收到的通信（通过电子邮件）在很大程度上依赖于 PDF。\\n\\nDiscourse 当前的行为是仅将这些文件作为下载提供。\\n\* Inline PDF Previews 不起作用（由于缺少 content-disposition: inline）\\n\* https://meta.discourse.org/t/instead-of-downloading-pdf-how-to-force-pdf-to-open-view-in-bro…

---

## [在自定义 HTML 侧边栏块中执行 Javascript](https://meta.discourse.org/t/executing-javascript-in-the-custom-html-sidebar-block/325124)

<div class="topic-metadata">

**Author:** [@federatedRoss](https://meta.discourse.org/u/federatedRoss)\
**回复:** 1\
**最近更新：:** [2024 年9 月 5 日 20:10 UTC](https://meta.discourse.org/t/executing-javascript-in-the-custom-html-sidebar-block/325124 "2024-09-05T20:10:55Z")

</div>

我正在使用一个自定义 HTML 块，其内容如下： \<div id="server-01-box"\>\</div\> \<script\> fetch('//example.com/wp-admin/admin-ajax.php?action=aa-server-select&p=server-01') .then(function (response) { return response.tex…

---

## [我如何将我的网站默认设置为所有人/新用户使用明亮模式？](https://meta.discourse.org/t/how-can-i-change-my-site-to-default-to-light-mode-for-everyone-new-people/301604)

<div class="topic-metadata">

**Author:** [@45thj5ej](https://meta.discourse.org/u/45thj5ej)\
**回复:** 3\
**最近更新：:** [2024 年9 月 5 日 19:12 UTC](https://meta.discourse.org/t/how-can-i-change-my-site-to-default-to-light-mode-for-everyone-new-people/301604 "2024-09-05T19:12:51Z")

</div>

我想让我的网站默认使用浅色模式而不是深色模式，但为用户提供深色模式选项。在我当前的这个主题上，它被设置为浅色。 我检查了它的颜色，主背景色确实设置为 #FFFFFF（白色）。“颜色方案可由用户选择”已勾选。我的“默认深色模式颜色方案 ID”设置已设置为我主题的深色版本。我的浏览器已关闭所有深色模式扩展。

---

## [如何在移动设备上为未登录用户关闭暗主题？](https://meta.discourse.org/t/how-to-deactivate-dark-theme-for-non-connected-users-on-mobile/325033)

<div class="topic-metadata">

**Author:** [@patrickemin](https://meta.discourse.org/u/patrickemin)\
**回复:** 18\
**最近更新：:** [2024 年9 月 5 日 19:00 UTC](https://meta.discourse.org/t/how-to-deactivate-dark-theme-for-non-connected-users-on-mobile/325033 "2024-09-05T19:00:33Z")

</div>

您好，我有两个主题：“浅色”和“深色”，每个主题都有一个匹配的颜色方案：“浅色”和“深色”。 未注册的用户在 Android 上浏览我的网站时，默认会看到深色主题，尽管我已将其设置为浅色主题，这是为什么？我该如何更改此行为？ 谢谢

---

## [是否存在一个讲西班牙语的Discourse社区？](https://meta.discourse.org/t/is-there-a-spanish-speaking-discourse-community/324952)

<div class="topic-metadata">

**Author:** [@blncblck](https://meta.discourse.org/u/blncblck)\
**回复:** 1\
**最近更新：:** [2024 年9 月 5 日 18:29 UTC](https://meta.discourse.org/t/is-there-a-spanish-speaking-discourse-community/324952 "2024-09-05T18:29:41Z")

</div>

您好！我正在使用 Discourse 创建我的第一个论坛，我有很多疑问，虽然我能理解英语，但我发现用我的母语来理解和交流要舒适得多。如果能找到使用 Discourse 并说西班牙语的人，对我来说将是巨大的帮助！ 有相关的帖子或论坛吗？感谢您的帮助 :slight\_smile:

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

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