# Latest

**URL:** https://meta.discourse.org/latest.md?page=333

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

**Page:** 334

---

## [一些页面在使用浏览器后退按钮或再次访问不活跃的标签时会显示错误](https://meta.discourse.org/t/some-pages-show-error-when-using-browsers-back-button-or-revisiting-inactive-tab/302361)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 1\
**Last updated:** [2024年十二月10日 17:35 UTC](https://meta.discourse.org/t/some-pages-show-error-when-using-browsers-back-button-or-revisiting-inactive-tab/302361 "2024-12-10T17:35:39Z")

</div>

有时，当我返回之前打开的显示排行榜的标签页时，该标签页会刷新，我会被带到一个 404 错误页面。

---

## [如何在 Jalali（非 Gregorian）中显示所有日期和时间](https://meta.discourse.org/t/how-to-display-all-dates-and-times-in-jalali-not-gregorian/341098)

<div class="topic-metadata">

**Author:** [@serkhelesheyi](https://meta.discourse.org/u/serkhelesheyi)\
**回覆:** 19\
**Last updated:** [2024年十二月10日 16:13 UTC](https://meta.discourse.org/t/how-to-display-all-dates-and-times-in-jalali-not-gregorian/341098 "2024-12-10T16:13:39Z")

</div>

我已在 Ubuntu 上本地安装了 Discourse，不在 Docker 中。如何将论坛中的日期转换为Jalali日期？ 谢谢

---

## [无法合并用户——流程始终未完成](https://meta.discourse.org/t/cannot-merge-users-process-never-finishes/341624)

<div class="topic-metadata">

**Author:** [@Nikki\_Locke](https://meta.discourse.org/u/Nikki_Locke)\
**回覆:** 1\
**Last updated:** [2024年十二月10日 16:05 UTC](https://meta.discourse.org/t/cannot-merge-users-process-never-finishes/341624 "2024-12-10T16:05:13Z")

</div>

我有一个用户发布了超过 49,000 条帖子。我想将该用户合并到另一个用户。每当我尝试合并时，该过程都会花费我的网络客户端可以保持运行的时间（由于最近的暴风雨，我们每天都会停电）。。 您预计需要多长时间？

---

## [使用新f未读主题横幅时，话题信息未更新](https://meta.discourse.org/t/information-about-topic-is-not-updated-when-using-new-unread-topics-banner/303928)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 2\
**Last updated:** [2024年十二月10日 15:23 UTC](https://meta.discourse.org/t/information-about-topic-is-not-updated-when-using-new-unread-topics-banner/303928 "2024-12-10T15:23:10Z")

</div>

我注意到，当我使用新的未读主题横幅时，回复数和活动日期没有更新。 当主题未被置顶且有人回复时，横幅会出现： 然后，当你点击横幅时，回复数和活动日期会更新： 当主题被置顶时，行为有所不同。因为有新的回复，所以横幅会出现： 然后，当你点击横幅时，横幅会消失，但数字没有更新： 你必须刷新网站才能看到更新后的数字：

---

## [按用户搜索/过滤旗帜](https://meta.discourse.org/t/search-filter-flags-by-user/14649)

<div class="topic-metadata">

**Author:** [@cpradio](https://meta.discourse.org/u/cpradio)\
**回覆:** 12\
**Last updated:** [2024年十二月10日 14:42 UTC](https://meta.discourse.org/t/search-filter-flags-by-user/14649 "2024-12-10T14:42:30Z")

</div>

We’ve been playing around with the moderating abilities in our test site and I’ve run into the issue where I want to see how many times a user’s posts has been flagged and what they were for (Inappropriate, Spam, Other). …

---

## [无法正确获取待审查用户列表](https://meta.discourse.org/t/unable-to-correctly-obtain-the-list-of-users-to-be-reviewed/341149)

<div class="topic-metadata">

**Author:** [@B1397KB](https://meta.discourse.org/u/B1397KB)\
**回覆:** 7\
**Last updated:** [2024年十二月10日 14:43 UTC](https://meta.discourse.org/t/unable-to-correctly-obtain-the-list-of-users-to-be-reviewed/341149 "2024-12-10T14:43:20Z")

</div>

恢复备份文件后，网站无法获取新用户注册审核信息。 具体来说，我可以在用户列表中找到等待审核的用户，但在审核界面没有数据。导入备份后出现了这种情况。我的论坛无法正确获取新用户审核信息。我该如何处理？

---

## [每次管理员恢复备份时，总会出现：非工作人员用户的外发电子邮件已被禁用](https://meta.discourse.org/t/every-time-the-administrator-restores-a-backup-this-always-appears-outgoing-email-has-been-disabled-for-non-staff-users/341519)

<div class="topic-metadata">

**Author:** [@qiancsf](https://meta.discourse.org/u/qiancsf)\
**回覆:** 2\
**Last updated:** [2024年十二月10日 14:38 UTC](https://meta.discourse.org/t/every-time-the-administrator-restores-a-backup-this-always-appears-outgoing-email-has-been-disabled-for-non-staff-users/341519 "2024-12-10T14:38:07Z")

</div>

管理员每次恢复备份后，老是出现这个: Outgoing email has been disabled for non-staff users ﻿ （但在备份前已设置为：disable emails：NO）

---

## [无法在主题之间移动帖子](https://meta.discourse.org/t/unable-to-move-posts-between-topics/341497)

<div class="topic-metadata">

**Author:** [@rtyhbfdvsd](https://meta.discourse.org/u/rtyhbfdvsd)\
**回覆:** 2\
**Last updated:** [2024年十二月10日 14:30 UTC](https://meta.discourse.org/t/unable-to-move-posts-between-topics/341497 "2024-12-10T14:30:07Z")

</div>

您好，我正在尝试在帖子之间移动帖子，但一直收到此错误。此错误阻止了整个安装中的任何帖子被移动。如果有人有什么建议，我将非常谨慎。谢谢阅读！ PG::UniqueViolation (ERROR: duplicate key value violates unique constraint "post\_timings\_unique" DETAIL: Key (topic\_id, post\_number, user\_id)=(4175…

---

## [已删除的帖子不再显示为隐藏](https://meta.discourse.org/t/deleted-posts-no-longer-showing-as-hidden/341555)

<div class="topic-metadata">

**Author:** [@MyRedDream](https://meta.discourse.org/u/MyRedDream)\
**回覆:** 1\
**Last updated:** [2024年十二月10日 13:01 UTC](https://meta.discourse.org/t/deleted-posts-no-longer-showing-as-hidden/341555 "2024-12-10T13:01:22Z")

</div>

您好， 我们的线上网站仍在使用 Discourse 3.2，最近删除的帖子已停止显示为隐藏。它们会从帖子中完全消失，导致我无法为其添加用户备注。它们在个人资料视图的 /deleted-posts 中仍然可见，但无法点击进入。自动删除隐藏帖子的设置已设为最大值。有人能帮忙吗？谢谢！

---

## [主题浏览次数可从主题本身查看](https://meta.discourse.org/t/topic-view-count-available-from-topic-itself/254349)

<div class="topic-metadata">

**Author:** [@ganncamp](https://meta.discourse.org/u/ganncamp)\
**回覆:** 3\
**Last updated:** [2024年十二月10日 12:49 UTC](https://meta.discourse.org/t/topic-view-count-available-from-topic-itself/254349 "2024-12-10T12:49:25Z")

</div>

如果我查看主题列表（新建、最新等），可以看到每个主题的浏览次数。 如果能直接在主题内部访问该统计数据，而不是必须退出并从列表中查找主题，那就太好了。 对我来说，这不一定默认可见（例如在主题标题中）是合理的，但可能可以在扳手菜单中找到。

---

## [自定义导航栏选项](https://meta.discourse.org/t/custom-nav-bar-options/340374)

<div class="topic-metadata">

**Author:** [@Joe\_F](https://meta.discourse.org/u/Joe_F)\
**回覆:** 2\
**Last updated:** [2024年十二月10日 12:34 UTC](https://meta.discourse.org/t/custom-nav-bar-options/340374 "2024-12-10T12:34:13Z")

</div>

大家好， 有什么方法可以添加自定义选项吗？ 我想添加自定义名称和链接到外部网站。 谢谢大家 :smiley:

---

## [仅通过模态批量邀请仅允许一个用户（且显示不正确）](https://meta.discourse.org/t/bulk-invite-via-modal-only-allowing-one-user-and-not-displaying-correctly/306587)

<div class="topic-metadata">

**Author:** [@nathank](https://meta.discourse.org/u/nathank)\
**回覆:** 4\
**Last updated:** [2024年十二月10日 12:26 UTC](https://meta.discourse.org/t/bulk-invite-via-modal-only-allowing-one-user-and-not-displaying-correctly/306587 "2024-12-10T12:26:58Z")

</div>

当我尝试使用“内联批量邀请”字段（通过“批量邀请”模态框）将单个用户添加到现有事件时，出现了一些问题。 当我添加用户时，没有视觉确认他们已被选中。但是，我能够为该用户应用所需的状态（呼！）。 如果我选择另一个用户（或多个用户），则仅最后一个选定的用户应用了状态。 每次执行此操作时都会收到确认 PM，这强烈暗示此功能旨在支持多个用户。 这是一个演示： 值得注意的是，.csv 上传似乎工作正常。

---

## [Rake posts:reorder\_posts 出现 \`UniqueViolation\` 错误](https://meta.discourse.org/t/rake-posts-reorder-posts-gives-uniqueviolation-error/254098)

<div class="topic-metadata">

**Author:** [@Julien\_Palard](https://meta.discourse.org/u/Julien_Palard)\
**回覆:** 4\
**Last updated:** [2024年十二月10日 09:57 UTC](https://meta.discourse.org/t/rake-posts-reorder-posts-gives-uniqueviolation-error/254098 "2024-12-10T09:57:50Z")

</div>

上下文：我正在尝试拆分一个帖子。为此，我认为我需要： 在主题中创建一个新帖子。 编辑两个帖子的内容，按我想要的方式。 将我创建的帖子的所有者更改为与原始帖子匹配。 更改我创建的帖子的时间戳，使其与原始帖子匹配（也许增加几秒钟）。 运行 posts:reorder\_posts\[topic\_id\] 将我的回复移到主题中的正确位置。 我尝试的第一件事是调用 posts:reorder\_post，“只是看看”，但它失败了： root@d…

---

## [从全屏注册页面隐藏自定义用户字段](https://meta.discourse.org/t/hiding-custom-user-fields-from-the-fullscreen-signup-page/340618)

<div class="topic-metadata">

**Author:** [@Richie](https://meta.discourse.org/u/Richie)\
**回覆:** 9\
**Last updated:** [2024年十二月10日 08:53 UTC](https://meta.discourse.org/t/hiding-custom-user-fields-from-the-fullscreen-signup-page/340618 "2024-12-10T08:53:37Z")

</div>

大家好。 在我们启用新的 Introducing our new fullscreen signup and login pages （这很棒！）之前，我们发现了一些想要自定义的地方。 在当前基于模态框的注册中，我们使用一些 CSS 来隐藏模态框中的所有自定义用户字段。 .d-modal.create-account div\[class\*="user-field-"\] { display: none; } .create-…

---

## [I want to create a Theme/Theme component as shown in the picture below!](https://meta.discourse.org/t/i-want-to-create-a-theme-theme-component-as-shown-in-the-picture-below/341538)

<div class="topic-metadata">

**Author:** [@qiancsf](https://meta.discourse.org/u/qiancsf)\
**回覆:** 2\
**Last updated:** [2024年十二月10日 08:07 UTC](https://meta.discourse.org/t/i-want-to-create-a-theme-theme-component-as-shown-in-the-picture-below/341538 "2024-12-10T08:07:00Z")

</div>

I want to create a Theme/Theme component as shown in the picture below Can anyone do it 我要想如下图的Theme/Theme component 有人会做吗v

---

## [有办法查看用户过去提交的举报列表吗？](https://meta.discourse.org/t/any-way-to-view-list-of-users-past-submitted-flags/86938)

<div class="topic-metadata">

**Author:** [@Drew\_Warwick](https://meta.discourse.org/u/Drew_Warwick)\
**回覆:** 7\
**Last updated:** [2024年十二月10日 07:19 UTC](https://meta.discourse.org/t/any-way-to-view-list-of-users-past-submitted-flags/86938 "2024-12-10T07:19:42Z")

</div>

The global flag list has a “Flagged By” field, but I’m not seeing a way to filter by that. Is there any way for me to view a list of past flags a given user has submitted?

---

## [OpenRouter 支持 Discourse AI](https://meta.discourse.org/t/openrouter-support-for-discourse-ai/341531)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**回覆:** 0\
**Last updated:** [2024年十二月10日 06:43 UTC](https://meta.discourse.org/t/openrouter-support-for-discourse-ai/341531 "2024-12-10T06:43:40Z")

</div>

我们很高兴地宣布 DiscourseAI 对 OpenRouter 的原生支持。 对于不熟悉的人来说，OpenRouter 提供了一个统一的界面，可以集成来自数十家语言模型提供商的数百种语言模型，包括 Google、OpenAI、Anthropic、Mistral、SambaNova、Together AI、Groq 等。 对于那些因成本尚未涉足人工智能领域的人来说，OpenRouter 提供了广泛的免费模型选择，包括 Gem…

---

## [配置 OpenRouter 语言模型](https://meta.discourse.org/t/configuring-openrouter-language-models/341526)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**回覆:** 0\
**Last updated:** [2024年十二月10日 06:23 UTC](https://meta.discourse.org/t/configuring-openrouter-language-models/341526 "2024-12-10T06:23:35Z")

</div>

:bookmark: 本指南介绍如何为 OpenRouter 配置 API 密钥，以启用需要第三方 LLM 密钥的 Discourse AI 功能。 :person\_raising\_hand: 所需用户级别：管理员 在本指南中，我们将...

---

## [如何在我的论坛中显示详细的主题信息](https://meta.discourse.org/t/how-to-display-detailed-topic-information-in-my-forum/341500)

<div class="topic-metadata">

**Author:** [@willie](https://meta.discourse.org/u/willie)\
**回覆:** 1\
**Last updated:** [2024年十二月10日 02:31 UTC](https://meta.discourse.org/t/how-to-display-detailed-topic-information-in-my-forum/341500 "2024-12-10T02:31:45Z")

</div>

您好，我想知道如何在论坛的主题中添加以下详细信息： “创建者” “最后回复” “回复数” “浏览量” “用户数” “链接数” “评论或点赞主题的用户照片” 这是我想要的效果示例：

---

## [将自定义事件推送到 Google Tag Manager 和 Analytics](https://meta.discourse.org/t/push-custom-events-to-google-tag-manager-and-analytics/181552)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 1\
**Last updated:** [2024年十二月10日 01:03 UTC](https://meta.discourse.org/t/push-custom-events-to-google-tag-manager-and-analytics/181552 "2024-12-10T01:03:49Z")

</div>

接续讨论：将 Google 跟踪代码管理器与 Google Analytics 集成： 将自定义事件推送到 Google 跟踪代码管理器和 Analytics :bookmark: 本指南解释了如何配置您的 Discourse 网站以发送……

---

## [LetsEncrypt 证书未续订](https://meta.discourse.org/t/letsencrypt-certificate-not-renewing/341026)

<div class="topic-metadata">

**Author:** [@Ryan\_Hyer](https://meta.discourse.org/u/Ryan_Hyer)\
**回覆:** 6\
**Last updated:** [2024年十二月9日 21:49 UTC](https://meta.discourse.org/t/letsencrypt-certificate-not-renewing/341026 "2024-12-09T21:49:44Z")

</div>

大家好。我的 LetsEncrypt 证书最近于 4 号过期，所有续订尝试均失败。我阅读了许多关于类似问题的帖子，但那些解决方案（重建容器、运行手动续订命令等）对我都没有用。 按照 指南 的故障排除部分，我在日志中发现了一个错误（./launcher logs app）： \[Fri Dec 6 05:30:05 PM UTC 2024\] Using CA: https://acme-v02.api.letsencrypt.org/…

---

## [我如何使用 Hugging Face 付费推断端点作为 Discourse 自定义的 LLMs](https://meta.discourse.org/t/how-do-i-use-hugging-face-paid-inference-endpoints-as-discourse-custom-llms/341388)

<div class="topic-metadata">

**Author:** [@StevePlex](https://meta.discourse.org/u/StevePlex)\
**回覆:** 2\
**Last updated:** [2024年十二月9日 20:51 UTC](https://meta.discourse.org/t/how-do-i-use-hugging-face-paid-inference-endpoints-as-discourse-custom-llms/341388 "2024-12-09T20:51:15Z")

</div>

我在 Hugging Face Inference Endpoint 服务（本质上是 AWS）上运行了几个开源 LLM 模型。 对于我测试过的所有模型（llama、phi、gemma 等），我都可以从 Discourse LLM 设置页面进行连接，但推理不起作用。这是错误： “尝试联系模型时返回此错误：无法将 JSON 主体反序列化为目标类型：在第 1 行第 163 列缺少 inputs” 我做错了什么！？ 非常感谢。 来自…

---

## [如何为波斯语正确显示 Jalali 日期](https://meta.discourse.org/t/how-to-properly-display-jalali-dates-for-persian-language/62157)

<div class="topic-metadata">

**Author:** [@l3est](https://meta.discourse.org/u/l3est)\
**回覆:** 20\
**Last updated:** [2024年十二月9日 20:43 UTC](https://meta.discourse.org/t/how-to-properly-display-jalali-dates-for-persian-language/62157 "2024-12-09T20:43:07Z")

</div>

I’m a new rails/discourse developer. I’m wondering if someone could tell me about discourse structure. I wanted to edit some view files so I edited discourse/app/views/\[view-folder\]/\[\*.html.erb\] files and nothing change…

---

## [返回类别快捷方式](https://meta.discourse.org/t/return-to-category-shortcut/341442)

<div class="topic-metadata">

**Author:** [@Darin\_Simmons](https://meta.discourse.org/u/Darin_Simmons)\
**回覆:** 2\
**Last updated:** [2024年十二月9日 20:30 UTC](https://meta.discourse.org/t/return-to-category-shortcut/341442 "2024-12-09T20:30:13Z")

</div>

我可能很迟钝，因为我使用了搜索功能，而“您的主题类似于…”并没有显示我想要的内容： 是否有返回帖子所在类别的键盘快捷键？ 例如，某个员工或用户只关心类别 X 中的所有项目，而不关心所有其他类别中的任何内容。他们将如何点击以返回到该类别，而不是返回到新帖子（g, n）或未读帖子（g, u）或所有类别列表（g, c）？我知道浏览器中有后退按钮，但我想问的是 Discourse 内部的功能。 作为版主，我从未真正考虑过这个问题，因为我（…

---

## [防止对帖子回复](https://meta.discourse.org/t/preventing-replies-to-at-post/341422)

<div class="topic-metadata">

**Author:** [@ppcole](https://meta.discourse.org/u/ppcole)\
**回覆:** 2\
**Last updated:** [2024年十二月9日 19:55 UTC](https://meta.discourse.org/t/preventing-replies-to-at-post/341422 "2024-12-09T19:55:59Z")

</div>

你好 有没有办法阻止回复帖子？该帖子仅供参考。 谢谢

---

## [Docker 镜像问题：注册层失败](https://meta.discourse.org/t/docker-image-problem-failed-to-register-layer/341428)

<div class="topic-metadata">

**Author:** [@dashohoxha](https://meta.discourse.org/u/dashohoxha)\
**回覆:** 0\
**Last updated:** [2024年十二月9日 18:49 UTC](https://meta.discourse.org/t/docker-image-problem-failed-to-register-layer/341428 "2024-12-09T18:49:31Z")

</div>

当我尝试 docker pull discourse/base:2.0.20240825-0027 时，我收到此错误： 2.0.20240825-0027: Pulling from discourse/base . . . . . . . . . . . d2fb91f4643c: Pull complete 88fc9778a448: Pull complete 2a19d28a5a17: Extracting \[======…

---

## [Ai 图标用于标题和标签助手，位于类似主题模态框上方](https://meta.discourse.org/t/ai-icon-for-title-and-tag-helper-is-positioned-above-the-similar-topic-modal/341377)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 1\
**Last updated:** [2024年十二月9日 18:03 UTC](https://meta.discourse.org/t/ai-icon-for-title-and-tag-helper-is-positioned-above-the-similar-topic-modal/341377 "2024-12-09T18:03:45Z")

</div>

仅当您折叠预览时才能注意到。 两个 AI 按钮，看起来像是模态的一部分： 关闭模态后，您可以看到按钮属于标题和标签字段，这些字段被模态覆盖了：

---

## [虽然其他用户没有编辑，但仍显示编辑冲突指示器](https://meta.discourse.org/t/edit-conflict-indicator-although-the-other-user-isnt-editing/341375)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回覆:** 2\
**Last updated:** [2024年十二月9日 17:52 UTC](https://meta.discourse.org/t/edit-conflict-indicator-although-the-other-user-isnt-editing/341375 "2024-12-09T17:52:28Z")

</div>

当我尝试编辑各种主题时，我注意到上面出现了编辑冲突指示器： 我认为当一个用户看不到的标签在有可见标签的同时被添加时，就会发生这种情况。 我可以通过以下步骤重现： 使用测试用户创建一个新主题并发布。 使用管理员（或其他有权添加标签的用户）为主题添加至少一个不在可见性受限的标签组中的标签，以及至少一个测试用户看不到的标签。保存更改。 以测试用户的身份，进入你的主题，点击铅笔图标进行编辑，并在正文中添加新的一行。 预期结果：没…

---

## [自动化数据浏览器中的CSV链接在PM中显示404错误](https://meta.discourse.org/t/links-to-csvs-in-automation-data-explorer-pms-are-404s/335796)

<div class="topic-metadata">

**Author:** [@T\_Disco](https://meta.discourse.org/u/T_Disco)\
**回覆:** 5\
**Last updated:** [2024年十二月9日 16:59 UTC](https://meta.discourse.org/t/links-to-csvs-in-automation-data-explorer-pms-are-404s/335796 "2024-12-09T16:59:45Z")

</div>

在数据浏览器中，“允许群组访问此查询”设置为：moderators, admins, staff 在自动化记录中，“将 CSV 文件附加到 PM”已勾选。脚本是“安排一个带有数据浏览器结果的 PM”。 收件人是一名管理员和一名版主 - 两者结果相同。 我尝试了几个数据浏览器查询，“没有帖子的不活跃用户”为例。（CSV 可在数据浏览器页面下载。） 安装的 Discourse 版本是 3.4.0.beta3-dev (d7503a6…

---

## [删除回复的按钮在删除回复后变成删除主题的按钮](https://meta.discourse.org/t/button-to-delete-reply-becomes-one-to-delete-topic-after-deleting-reply/340066)

<div class="topic-metadata">

**Author:** [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**回覆:** 2\
**Last updated:** [2024年十二月9日 14:46 UTC](https://meta.discourse.org/t/button-to-delete-reply-becomes-one-to-delete-topic-after-deleting-reply/340066 "2024-12-09T14:46:52Z")

</div>

删除回复后，已删除帖子上仍然会显示一个垃圾桶按钮（没有 :arrows\_counterclockwise: 按钮）。点击该按钮后，会显示此内容： 这种情况不应该发生；相反，应该显示撤销按钮，以免使用户感到困惑。 这已在 Discourse AI - Web Artifacts 上复现。 我使用的是 Android A14，Chrome 浏览器。

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

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