# Latest

**URL:** https://meta.discourse.org/latest.md?ascending=true&page=1538

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

**Page:** 1539

---

## [将 SFDC 社区迁移到 Discourse](https://meta.discourse.org/t/migrating-sfdc-community-to-discourse/326079)

<div class="topic-metadata">

**Author:** [@hmmmnotsure](https://meta.discourse.org/u/hmmmnotsure)\
**回复:** 6\
**最近更新：:** [2024 年9 月 13 日 01:24 UTC](https://meta.discourse.org/t/migrating-sfdc-community-to-discourse/326079 "2024-09-13T01:24:07Z")

</div>

我的团队接到了一个任务，需要将 Salesforce 社区迁移到 Discourse。我找到了许多平台的迁移脚本，但没有找到 SFDC 的。有人能帮忙吗？ 另外，是否可以将 SFDC 社区迁移到 Discourse？

---

## [在向 tags 表添加名为 type\_tag 的字段时，对 BlockedSerializationError 的支持](https://meta.discourse.org/t/support-for-blockedserializationerror-when-i-add-a-field-named-type-tag-to-the-tags-table/326323)

<div class="topic-metadata">

**Author:** [@tudinhtu98](https://meta.discourse.org/u/tudinhtu98)\
**回复:** 0\
**最近更新：:** [2024 年9 月 13 日 08:25 UTC](https://meta.discourse.org/t/support-for-blockedserializationerror-when-i-add-a-field-named-type-tag-to-the-tags-table/326323 "2024-09-13T08:25:47Z")

</div>

我正在使用 Discourse 版本 3.4.0.beta2-dev。在向 tags 表添加名为 type\_tag 的字段后，我遇到了以下错误： ActiveRecordSerializationSafety::BlockedSerializationError in ListController#latest 未指定字段就序列化 ActiveRecord 模型 (Tag) 是不允许的。请使用 Serializer，或将选项传递…

---

## [为社区讨论应用程序实施的会话超时设置](https://meta.discourse.org/t/session-timeout-setting-implemented-for-the-community-discourse-application/326327)

<div class="topic-metadata">

**Author:** [@Jaskaran](https://meta.discourse.org/u/Jaskaran)\
**回复:** 4\
**最近更新：:** [2024 年9 月 13 日 09:35 UTC](https://meta.discourse.org/t/session-timeout-setting-implemented-for-the-community-discourse-application/326327 "2024-09-13T09:35:20Z")

</div>

\\n \\n有人能告诉我社区话语应用程序的理想会话超时设置吗？我们注意到，即使在 12 小时或更长时间后，应用程序浏览器会话仍保持打开状态，而不会注销。\\n \\n谢谢。

---

## [在 Discourse 中禁用指向同一域名的特定链接的客户端路由](https://meta.discourse.org/t/disable-client-side-routing-for-specific-links-pointing-to-the-same-domain-in-discourse/326326)

<div class="topic-metadata">

**Author:** [@nx-jaeger](https://meta.discourse.org/u/nx-jaeger)\
**回复:** 1\
**最近更新：:** [2024 年9 月 13 日 10:01 UTC](https://meta.discourse.org/t/disable-client-side-routing-for-specific-links-pointing-to-the-same-domain-in-discourse/326326 "2024-09-13T10:01:50Z")

</div>

您好， 我正在运行一个 Discourse 实例（https://example.com）和一个 Docusaurus 文档（https://example.com/docs/my-lib）。当我在 Discourse 中链接到文档时，该链接会尝试进行客户端路由，并导致“找不到页面”的错误。但是，如果我手动输入 URL 或在新标签页中打开它，则可以正常工作。 有没有办法阻止 Discourse 对某些子路径进行客户端路由？我目前的解…

---

## [如何为 Typeform 嵌入设置大小？](https://meta.discourse.org/t/how-to-set-a-size-for-typeform-embed/326198)

<div class="topic-metadata">

**Author:** [@putty](https://meta.discourse.org/u/putty)\
**回复:** 1\
**最近更新：:** [2024 年9 月 12 日 14:36 UTC](https://meta.discourse.org/t/how-to-set-a-size-for-typeform-embed/326198 "2024-09-12T14:36:53Z")

</div>

我可以通过简单地输入 URL 来嵌入 Typeform Onebox，但我的表单可以更高一些。忽略“备注”窗口，那是我隐藏问题的简单方法 :smiley: 但是，如果我尝试在 iframe 中嵌入它，嵌入会显示一个通用的 Typeform 页面，而不是我的调查。这种 iframe 处理方式对 Qualtrics 调查效果很好。 关于如何调整嵌入大小，有什么建议吗？

---

## [防止重定向到SSO登录和打开Discourse登录](https://meta.discourse.org/t/prevent-redirecting-to-sso-login-and-open-discourse-login/145233)

<div class="topic-metadata">

**Author:** [@zcuric](https://meta.discourse.org/u/zcuric)\
**回复:** 5\
**最近更新：:** [2024 年9 月 13 日 10:46 UTC](https://meta.discourse.org/t/prevent-redirecting-to-sso-login-and-open-discourse-login/145233 "2024-09-13T10:46:37Z")

</div>

Hi, I have setup with Auth0 and SSO with Auth0 rules. Default use case when you hit discourse.example.org you get redirected to Auth0 login. It there way to open/show the discourse login page or discourse.example.org/…

---

## [个人消息的表格模板](https://meta.discourse.org/t/form-template-for-personal-messages/325631)

<div class="topic-metadata">

**Author:** [@tpetrov](https://meta.discourse.org/u/tpetrov)\
**回复:** 5\
**最近更新：:** [2024 年9 月 13 日 12:51 UTC](https://meta.discourse.org/t/form-template-for-personal-messages/325631 "2024-09-13T12:51:19Z")

</div>

有什么办法能让Introducing Experimental Form Templates - announcements - Discourse Meta也适用于个人消息吗？

---

## [从 Salesforce 迁移到 Discourse](https://meta.discourse.org/t/migration-from-salesforce-to-discourse/326370)

<div class="topic-metadata">

**Author:** [@Claire\_C](https://meta.discourse.org/u/Claire_C)\
**回复:** 1\
**最近更新：:** [2024 年9 月 13 日 14:47 UTC](https://meta.discourse.org/t/migration-from-salesforce-to-discourse/326370 "2024-09-13T14:47:21Z")

</div>

大家好， 我目前正在为我的总监收集尽可能多的信息。我需要了解从 Saleforce 迁移到 Discourse 所需的价格和时间范围，包括所有用户和之前的帖子。目前的论坛大约有 4 年历史，每天有几篇帖子。 如果您能提供任何帮助，我将不胜感激，如果这里不是发帖的正确地方，也请原谅。非常感谢。

---

## [Off-by-one 失去最新版本](https://meta.discourse.org/t/off-by-one-loses-latest-revision/238796)

<div class="topic-metadata">

**Author:** [@hellekin](https://meta.discourse.org/u/hellekin)\
**回复:** 7\
**最近更新：:** [2024 年9 月 13 日 17:49 UTC](https://meta.discourse.org/t/off-by-one-loses-latest-revision/238796 "2024-09-13T17:49:31Z")

</div>

背景 我不太确定是 Discourse Shared Edits 还是 wiki-posts 功能，因为在这篇特定的帖子中都启用了这两个功能，以避免一个编辑者使其他人的更改过时。 所以，一个帖子同时启用了 wiki 和共享编辑功能…… Bug 描述 编辑者 A 进行了修订 55 并按下了“完成”。 编辑者 B 直接进入修订历史记录以查看更改。修订计数显示为 54 / 55，但无法访问修订 55。一旦编辑者 B 进行了更改，它就针对…

---

## [移动标签的默认通知状态会出现错误](https://meta.discourse.org/t/moving-the-default-notification-state-for-a-tag-gives-error/326069)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回复:** 1\
**最近更新：:** [2024 年9 月 13 日 19:02 UTC](https://meta.discourse.org/t/moving-the-default-notification-state-for-a-tag-gives-error/326069 "2024-09-13T19:02:57Z")

</div>

转到群组的“标签默认通知” 将标签添加到“监视” 保存 从“监视”中移除标签 将同一标签添加到“跟踪” 保存 ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR: duplicate key value violates unique constraint \\"idx\_group\_tag\_notification\_defaults\_unique\\" D…

---

## [在 cookie 函数中添加 SameSite 属性？](https://meta.discourse.org/t/add-samesite-attribute-to-cookie-function/286312)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**回复:** 2\
**最近更新：:** [2024 年9 月 13 日 19:23 UTC](https://meta.discourse.org/t/add-samesite-attribute-to-cookie-function/286312 "2024-09-13T19:23:15Z")

</div>

我收到一个警告，提示我的 cookie 没有正确的 SameSite 属性值： 但是，它并未在 discourse/app/assets/javascripts/discourse/app/lib/cookie.js at 39aa70d7cbb356edc4d583348313e3ed264965d0 · discourse/discourse · GitHub 中定义为选项。应该添加它吗？

---

## [为限速白名单设置单一IP](https://meta.discourse.org/t/whitelist-single-ip-for-rate-limiting/260677)

<div class="topic-metadata">

**Author:** [@PeakProsperity](https://meta.discourse.org/u/PeakProsperity)\
**回复:** 1\
**最近更新：:** [2024 年9 月 13 日 19:16 UTC](https://meta.discourse.org/t/whitelist-single-ip-for-rate-limiting/260677 "2024-09-13T19:16:26Z")

</div>

我看到了一些关于这个问题的帖子，但没有一个给出明确的指示。有人能提供关于将单个 IP 地址列入白名单以豁免速率限制（或为其提供自己的更高速率限制）的说明吗？我需要允许我的 WordPress 服务器不被我们的 Discourse 速率限制所阻止。谢谢。

---

## [感谢数据探索器中的直观用户体验](https://meta.discourse.org/t/thanks-for-the-intuitive-ux-in-data-explorer/326398)

<div class="topic-metadata">

**Author:** [@ganncamp](https://meta.discourse.org/u/ganncamp)\
**回复:** 1\
**最近更新：:** [2024 年9 月 13 日 20:59 UTC](https://meta.discourse.org/t/thanks-for-the-intuitive-ux-in-data-explorer/326398 "2024-09-13T20:59:54Z")

</div>

我大约一年前写了一份报告，需要做一些修改。当时我做了一些注释（并进行了合理的命名），但我仍然需要逐步检查它并重现我的思路。 我想知道子查询在哪里被重用了，我双击了名称，怀着一丝希望 UI 能帮我解决。我完全准备好失望了，但你通过突出显示用法帮了我： 谢谢！:star\_struck:

---

## [校对文本的快捷方式](https://meta.discourse.org/t/shortcut-for-proofread-text/326446)

<div class="topic-metadata">

**Author:** [@Moin](https://meta.discourse.org/u/Moin)\
**回复:** 1\
**最近更新：:** [2024 年9 月 13 日 22:47 UTC](https://meta.discourse.org/t/shortcut-for-proofread-text/326446 "2024-09-13T22:47:24Z")

</div>

是否有 ⌘⌥p 的 Windows 版本？

---

## [AI 机器人最大上下文帖子](https://meta.discourse.org/t/ai-bot-max-context-posts/326180)

<div class="topic-metadata">

**Author:** [@tpetrov](https://meta.discourse.org/u/tpetrov)\
**回复:** 3\
**最近更新：:** [2024 年9 月 13 日 23:21 UTC](https://meta.discourse.org/t/ai-bot-max-context-posts/326180 "2024-09-13T23:21:37Z")

</div>

当我设置 Max Context Posts 为某个数字时，当 PM 对话中的帖子达到此数量时，机器人就会停止回复。 这是该设置的预期行为吗？如果是，它是否应该提醒用户已达到阈值，而不是简单地停止回复？

---

## [无法从私有仓库添加主题（因为界面变化了，但说明没有更新）](https://meta.discourse.org/t/cant-add-a-theme-from-private-repo-because-the-interface-changed-but-the-instructioons-didnt/326431)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回复:** 11\
**最近更新：:** [2024 年9 月 14 日 01:50 UTC](https://meta.discourse.org/t/cant-add-a-theme-from-private-repo-because-the-interface-changed-but-the-instructioons-didnt/326431 "2024-09-14T01:50:10Z")

</div>

继续讨论 从私有 Git 存储库安装主题： 是否出现了回归？我没有看到“在私有存储库中”复选框。我尝试了几个站点，甚至安全模式：

---

## [使用父/子标签时自动填充标签下拉菜单](https://meta.discourse.org/t/autopopulating-tag-dropdown-when-using-parent-child-tags-in-topic/326464)

<div class="topic-metadata">

**Author:** [@jenmck](https://meta.discourse.org/u/jenmck)\
**回复:** 0\
**最近更新：:** [2024 年9 月 14 日 01:43 UTC](https://meta.discourse.org/t/autopopulating-tag-dropdown-when-using-parent-child-tags-in-topic/326464 "2024-09-14T01:43:19Z")

</div>

您好， 我设置了一个类别来使用父/子标签组，类似于 Set up structured tagging with tag groups and category tag restrictions 。 一旦用户选择了子标签，我就希望用户能够“回到起点”，并选择一个新的父标签和由此产生的子标签。但是，父标签的主列表不再自动填充（其他标签也不再自动填充），用户只能手动输入标签。我搜索了可能的组件或解决方法，但似乎找不到任何东西。在类别设置…

---

## [更新后出现错误（S3 备份插件）」}](https://meta.discourse.org/t/error-following-updates-s3-backup-plugin/326299)

<div class="topic-metadata">

**Author:** [@wincenworks](https://meta.discourse.org/u/wincenworks)\
**回复:** 6\
**最近更新：:** [2024 年9 月 14 日 02:01 UTC](https://meta.discourse.org/t/error-following-updates-s3-backup-plugin/326299 "2024-09-14T02:01:29Z")

</div>

不久前，我在更新时遇到一个错误，所以我尝试用 git pull 和重建等方法来修复它。 错误仍然存在，用户也一直在报告错误等。这是最近尝试更新 Docker 时出现的错误： Compressing: vendor.fc515a92f838bfb06405ac3186d67213-d190f217c498848c25a4048fe73ad56cbd28decf7b7eddf1b7ea34d79ee1ee6d.js pnpm terse…

---

## [修复已损坏的索引PG16.3（无法从备份还原 - 无法创建唯一索引）](https://meta.discourse.org/t/fixing-a-corrupted-index-pg16-3-unable-to-restore-from-backup-could-not-create-unique-index/326261)

<div class="topic-metadata">

**Author:** [@omarfilip](https://meta.discourse.org/u/omarfilip)\
**回复:** 3\
**最近更新：:** [2024 年9 月 14 日 06:29 UTC](https://meta.discourse.org/t/fixing-a-corrupted-index-pg16-3-unable-to-restore-from-backup-could-not-create-unique-index/326261 "2024-09-14T06:29:47Z")

</div>

我尝试将 Discourse 迁移到新服务器，但在恢复备份时遇到了一个问题： \[2024-09-12 06:57:25\] ERROR: could not create unique index "unique\_post\_links" \[2024-09-12 06:57:25\] DETAIL: Key (topic\_id, post\_id, url)=(2026, 4639, http://www.metronet.com/~mo…

---

## [从私有 Git 仓库安装主题](https://meta.discourse.org/t/installing-a-theme-from-a-private-git-repository/82584)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回复:** 0\
**最近更新：:** [2018 年3 月 9 日 05:56 UTC](https://meta.discourse.org/t/installing-a-theme-from-a-private-git-repository/82584 "2018-03-09T05:56:01Z")

</div>

:bookmark: 本指南介绍了如何从私有的 GitHub 存储库安装 Discourse 主题或主题组件。 :person\_raising\_hand: 所需用户级别：管理员 摘要 本文档涵盖了 pro…

---

## [这种配置是否能成功创建第二个Discourse实例（带代理）？](https://meta.discourse.org/t/will-this-configuration-successfully-create-a-second-discourse-instance-with-proxy/326468)

<div class="topic-metadata">

**Author:** [@joo](https://meta.discourse.org/u/joo)\
**回复:** 2\
**最近更新：:** [2024 年9 月 14 日 10:03 UTC](https://meta.discourse.org/t/will-this-configuration-successfully-create-a-second-discourse-instance-with-proxy/326468 "2024-09-14T10:03:06Z")

</div>

我正在同一台服务器上设置第二个 Discourse 站点，并使用反向代理来管理流量。我对技术方面不太熟悉，因此我正在寻求一些指导，以确保一切都配置正确。下面是我为新容器使用的 app1.yml 文件。 我想知道这个设置是否能成功地让我并行运行两个 Discourse 实例。 配置 (app1.yml)： ## 这是独立的 Discourse Docker 容器模板 ## ## 更改此文件后，您必须重建 ## /var/discour…

---

## [安装已经六个月了](https://meta.discourse.org/t/6-months-since-i-installed/326493)

<div class="topic-metadata">

**Author:** [@eisammy](https://meta.discourse.org/u/eisammy)\
**回复:** 0\
**最近更新：:** [2024 年9 月 14 日 10:45 UTC](https://meta.discourse.org/t/6-months-since-i-installed/326493 "2024-09-14T10:45:21Z")

</div>

我喜欢 Discourse 允许我自定义实例并实现我设想的理念。在最初的 6 个月里，我学到了许多建立社区并维持社区的方法，因此感谢 Discourse 和所有让互联网变得更美好的贡献者。

---

## [从 https:// 转发到 https://www](https://meta.discourse.org/t/forwarding-from-https-to-https-www/326416)

<div class="topic-metadata">

**Author:** [@Taxick](https://meta.discourse.org/u/Taxick)\
**回复:** 15\
**最近更新：:** [2024 年9 月 14 日 11:00 UTC](https://meta.discourse.org/t/forwarding-from-https-to-https-www/326416 "2024-09-14T11:00:03Z")

</div>

您好。 我是 Discourse 新手！我正在我的 Ubuntu 24.04 服务器上托管 Discourse :slight\_smile: 但我需要域名转发的帮助…… 如果我访问这个网站：https:// mysite - 它不起作用…… 如果我访问这个网站：https://www. mysite 它运行正常…… 现在到我的问题。我能否将所有流量从 https:// 转发到 https://www 我希望有人能以对新手友好…

---

## [在 FormKit 文档中添加工作示例的链接](https://meta.discourse.org/t/add-links-to-working-examples-in-formkit-docs/326496)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回复:** 0\
**最近更新：:** [2024 年9 月 14 日 11:32 UTC](https://meta.discourse.org/t/add-links-to-working-examples-in-formkit-docs/326496 "2024-09-14T11:32:57Z")

</div>

不确定该放在哪里…… 继续讨论 Discourse 工具包渲染表单 (FormKit)： 我在手机上无法弄清楚如何操作，所以在这里评论。我认为这是一个很好的讨论平台。 这太棒了。我想看到添加的是使用此功能的示例工作插件和/或主题组件的链接，以便那些需要更多示例上下文的人可以看到它是如何工作的。

---

## [你怎么叫这些组件？](https://meta.discourse.org/t/how-do-you-call-these-components/326488)

<div class="topic-metadata">

**Author:** [@ludwikc](https://meta.discourse.org/u/ludwikc)\
**回复:** 4\
**最近更新：:** [2024 年9 月 14 日 11:57 UTC](https://meta.discourse.org/t/how-do-you-call-these-components/326488 "2024-09-14T11:57:25Z")

</div>

我想实现与 Make 社区类似的组件。 您能告诉我这两个组件分别叫什么吗？ 如果这是显而易见的问题，我深表歉意，因为我对组件和 Discourse 本身都相当陌生。

---

## [主题中单个词的自定义字体](https://meta.discourse.org/t/custom-font-for-single-word-in-a-theme/326527)

<div class="topic-metadata">

**Author:** [@PatrickF](https://meta.discourse.org/u/PatrickF)\
**回复:** 1\
**最近更新：:** [2024 年9 月 14 日 22:04 UTC](https://meta.discourse.org/t/custom-font-for-single-word-in-a-theme/326527 "2024-09-14T22:04:49Z")

</div>

我正在尝试在一个主题组件中以特定字体获取单个单词——这是出于品牌标识的目的。 相关主题（Sublime Theme）有一个组件 discourse-search-banner。 在此主题中，我添加了组件 Blippo-font，并上传了字体文件 blippo-black.woff2。我没有对 CSS/HTML 进行任何更改。 此处的面板显示 $blippo-black: blippo-black.woff2 然后，在 Subli…

---

## [OMG The Discourse AI Helper 真不错](https://meta.discourse.org/t/omg-the-discourse-ai-helper-is-pretty-great/326258)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回复:** 1\
**最近更新：:** [2024 年9 月 14 日 22:18 UTC](https://meta.discourse.org/t/omg-the-discourse-ai-helper-is-pretty-great/326258 "2024-09-14T22:18:41Z")

</div>

一位客户想使用 Discourse 网页水印，但它坏了。所以，我一时兴起，问 AI 是否可以在背景中添加水印，它给了我 CSS，我能够将其粘贴到主题组件的 CSS 中，果然，它在页面上添加了水印。然后我问它是否可以使其重复，它也做到了。然后我问它是否可以使其仅在站点标题匹配“staging”时显示，它给了我代码，我可能可以使其工作，但这需要更多的工作，而不仅仅是简单的复制/粘贴。

---

## [仍然无法收到退信通知](https://meta.discourse.org/t/still-not-able-to-receive-bounce-notifications/326537)

<div class="topic-metadata">

**Author:** [@Andro](https://meta.discourse.org/u/Andro)\
**回复:** 1\
**最近更新：:** [2024 年9 月 15 日 01:16 UTC](https://meta.discourse.org/t/still-not-able-to-receive-bounce-notifications/326537 "2024-09-15T01:16:23Z")

</div>

我正在运行一个本地的 Postfix 服务器。它在 587 端口上提交运行正常。我使用它是因为它的退信率实际上比我尝试过的 Amazon SES 和其他各种商业 SMTP 提供商都要低（信不信由你）。 正如本论坛上的许多建议一样，我使用 mail-receiver 在 25 端口上接收入站邮件。运行正常。但是，使用 VERP 正则表达式的退信无法通过。我无法解决这个问题。 因此，我关闭了该功能，并花费了大量精力安装 Dovecot …

---

## [改善群组成员请求的流程](https://meta.discourse.org/t/better-flow-for-group-membership-requests/64412)

<div class="topic-metadata">

**Author:** [@tgxworld](https://meta.discourse.org/u/tgxworld)\
**回复:** 24\
**最近更新：:** [2024 年9 月 15 日 04:17 UTC](https://meta.discourse.org/t/better-flow-for-group-membership-requests/64412 "2024-09-15T04:17:28Z")

</div>

Continuing the discussion from New members can't request to join a group: Currently, a group membership requests is done via a PM but that requires a group owner to navigate to the group membership page and manually add…

---

## [在帖子末尾添加类别描述或文本](https://meta.discourse.org/t/adding-category-description-or-text-at-end-of-thread/326509)

<div class="topic-metadata">

**Author:** [@kiefferr](https://meta.discourse.org/u/kiefferr)\
**回复:** 7\
**最近更新：:** [2024 年9 月 15 日 05:50 UTC](https://meta.discourse.org/t/adding-category-description-or-text-at-end-of-thread/326509 "2024-09-15T05:50:55Z")

</div>

我们有一个匿名类别，用户需要先进入匿名模式才能发帖。我已在类别描述中添加了说明，但大多数用户仍然不清楚他们需要先进入匿名模式才能看到“回复”按钮。有人能指出一个模板文件或 CSS 选择器技巧，让我可以在单个类别中添加如下内容吗？

[上一页](https://meta.discourse.org/latest.md?ascending=true&page=1537)

[下一页](https://meta.discourse.org/latest.md?ascending=true&page=1539)
