# Hot

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

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

**Page:** 1404

---

## [如何在子目录中安装 discourse 而不是子域？](https://meta.discourse.org/t/how-to-install-discourse-into-subdirectory-instead-of-subdomain/205341)

<div class="topic-metadata">

**Author:** [@Haris\_Mateen](https://meta.discourse.org/u/Haris_Mateen)\
**回覆:** 1\
**Last updated:** [2021年十月6日 11:11 UTC](https://meta.discourse.org/t/how-to-install-discourse-into-subdirectory-instead-of-subdomain/205341 "2021-10-06T11:11:12Z")

</div>

如何将 Discourse 安装到子目录而不是子域？

---

## [版主无法登录我们的论坛](https://meta.discourse.org/t/moderator-cant-log-in-to-our-forums/205343)

<div class="topic-metadata">

**Author:** [@Nareshh\_Raja](https://meta.discourse.org/u/Nareshh_Raja)\
**回覆:** 2\
**Last updated:** [2021年十月6日 13:03 UTC](https://meta.discourse.org/t/moderator-cant-log-in-to-our-forums/205343 "2021-10-06T13:03:08Z")

</div>

在我们的 Discourse 网站（公共网站）上，一些版主无法登录。 当我们分析此问题时，我们能够识别出错误消息，该消息显示：IP 地址已被阻止访问。 在 f…

---

## [如何在 Docker 中运行输出以使用 pups](https://meta.discourse.org/t/how-to-use-pups-run-output-in-docker/205347)

<div class="topic-metadata">

**Author:** [@spirobel](https://meta.discourse.org/u/spirobel)\
**回覆:** 0\
**Last updated:** [2021年十月6日 12:31 UTC](https://meta.discourse.org/t/how-to-use-pups-run-output-in-docker/205347 "2021-10-06T12:31:53Z")

</div>

For a long time I didnt really understand what pups was and I am still a bit confused to be honest. :grinning\_face\_with\_smiling\_eyes: :sweat\_smile: I get that the discourse docker images need to be configured. Instead o…

---

## [是否应该从供应商或 CDN 加载第三方库？](https://meta.discourse.org/t/should-i-load-third-party-libraries-from-vendor-or-cdn/205357)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**回覆:** 4\
**Last updated:** [2023年七月12日 23:00 UTC](https://meta.discourse.org/t/should-i-load-third-party-libraries-from-vendor-or-cdn/205357 "2023-07-12T23:00:25Z")

</div>

我见过有些插件会从 /vendor 下载第三方库并将其加载为本地文件，而另一些则通过 CDN 加载库。 从带宽/速度方面来看，哪种方法更好？

---

## [TopicEmbed.import 的一个 spec 在 Ruby 3 下失败](https://meta.discourse.org/t/one-of-topicembed-import-spec-fails-with-ruby-3/205358)

<div class="topic-metadata">

**Author:** [@yahonda](https://meta.discourse.org/u/yahonda)\
**回覆:** 2\
**Last updated:** [2021年十月10日 13:23 UTC](https://meta.discourse.org/t/one-of-topicembed-import-spec-fails-with-ruby-3/205358 "2021-10-10T13:23:24Z")

</div>

我需要一些关于 Ruby 3 中失败的 TopicEmbed.import spec 的帮助。 重现步骤 cd discourse bundle exec rspec ./spec/models/topic\_embed\_spec.rb:154 预期行为 它应该成功完成。 A…

---

## [图片 URL 损坏（未包含 https: 部分）](https://meta.discourse.org/t/images-urls-are-broken-https-part-not-being-included/205365)

<div class="topic-metadata">

**Author:** [@Brady\_P](https://meta.discourse.org/u/Brady_P)\
**回覆:** 4\
**Last updated:** [2021年十月6日 16:46 UTC](https://meta.discourse.org/t/images-urls-are-broken-https-part-not-being-included/205365 "2021-10-06T16:46:08Z")

</div>

您好，不知何故，我的帖子附件图片网址没有正确返回，“http:”未包含在内，因此 image\_url 字段返回的是： “//mydom… 而不是： https://mydomain/uploads/default/…

---

## [如何让页面之间共享通用内容？](https://meta.discourse.org/t/how-to-have-common-content-shared-between-pages/205372)

<div class="topic-metadata">

**Author:** [@John\_Lehmann](https://meta.discourse.org/u/John_Lehmann)\
**回覆:** 7\
**Last updated:** [2021年十月18日 09:33 UTC](https://meta.discourse.org/t/how-to-have-common-content-shared-between-pages/205372 "2021-10-18T09:33:37Z")

</div>

我很确定这是可能的，但甚至不知道该搜索什么术语。 我们希望将一段内容嵌入到许多不同的主题中。我们特定的用例是将一些关于某种类型 t… 的评论放入其中。

---

## [如何在讨论中找到你自己的所有帖子？](https://meta.discourse.org/t/how-to-find-all-your-own-posts-in-a-discussion/205382)

<div class="topic-metadata">

**Author:** [@ckshen](https://meta.discourse.org/u/ckshen)\
**回覆:** 2\
**Last updated:** [2022年二月13日 03:07 UTC](https://meta.discourse.org/t/how-to-find-all-your-own-posts-in-a-discussion/205382 "2022-02-13T03:07:30Z")

</div>

我们有一个非常受欢迎的讨论，叫做“晚餐吃什么”，每个月都有一个新话题。所有这些话题都带有 #wfd 标签。 两个问题： 一位活跃用户正在寻找他/她自己的 WFD 帖子来 f…

---

## [Discourse Docs Card Filter在设置中没有用于类别的输入字段](https://meta.discourse.org/t/discourse-docs-card-filter-has-no-entry-field-in-settings-for-categories/205398)

<div class="topic-metadata">

**Author:** [@tjesi](https://meta.discourse.org/u/tjesi)\
**回覆:** 2\
**Last updated:** [2021年十二月28日 21:33 UTC](https://meta.discourse.org/t/discourse-docs-card-filter-has-no-entry-field-in-settings-for-categories/205398 "2021-12-28T21:33:44Z")

</div>

我有一个新网站正在设置。我刚添加了 modest 主题、discourse-docs 插件和 discourse docs card filter 组件。在组件页面的示例中，应该有字段供我添加……

---

## [从所有新帖子标题中删除特定短语](https://meta.discourse.org/t/removing-specific-phrase-from-all-new-post-titles/205400)

<div class="topic-metadata">

**Author:** [@aarontaylorharvey](https://meta.discourse.org/u/aarontaylorharvey)\
**回覆:** 4\
**Last updated:** [2022年二月14日 02:29 UTC](https://meta.discourse.org/t/removing-specific-phrase-from-all-new-post-titles/205400 "2022-02-14T02:29:07Z")

</div>

我正在使用来自 Facebook帖子的数据，通过 Zapier 自动化来填充 Discourse 主题标题。我非常希望能够从标题中减去最后一部分字符。这些是 Craigslist 标题，并且是关于……

---

## [Ruby 3 对 mocha gem 的支持](https://meta.discourse.org/t/ruby-3-support-related-to-mocha-gem/205409)

<div class="topic-metadata">

**Author:** [@yahonda](https://meta.discourse.org/u/yahonda)\
**回覆:** 4\
**Last updated:** [2021年十月12日 13:35 UTC](https://meta.discourse.org/t/ruby-3-support-related-to-mocha-gem/205409 "2021-10-12T13:35:11Z")

</div>

我有一个支持 Ruby 3 的新主题。 重现步骤 $ bundle exec rspec ./spec/lib/backup\_restore/database\_restorer\_multisite\_spec.rb:15 使用 Ruby 3.0.2 的实际结果 $ ruby -v ruby 3.0.2p107 (2021-07-07 revis…

---

## [为新类别设置默认组](https://meta.discourse.org/t/setting-a-default-group-for-new-categories/205420)

<div class="topic-metadata">

**Author:** [@Andrea\_Giovacchini](https://meta.discourse.org/u/Andrea_Giovacchini)\
**回覆:** 1\
**Last updated:** [2021年十月7日 08:00 UTC](https://meta.discourse.org/t/setting-a-default-group-for-new-categories/205420 "2021-10-07T08:00:19Z")

</div>

我希望在创建新类别时，它们默认属于一个不同于“所有人”的组。 我有一个本地的 Discourse 设置，在公司内部使用，我想与合作伙伴共享，但我需要他们……

---

## [隐藏邀请中的“电子邮件账户已存在”消息](https://meta.discourse.org/t/hide-email-account-exists-for-invites/205429)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 3\
**Last updated:** [2022年五月25日 06:46 UTC](https://meta.discourse.org/t/hide-email-account-exists-for-invites/205429 "2022-05-25T06:46:34Z")

</div>

Would it be possible to add the invite form to this list too? Currently, if I put an existing account email in the ‘restrict to email’ box in the invite modal it informs me that there is already an account associated…

---

## [iPhone SE 用户菜单中没有“退出登录”](https://meta.discourse.org/t/no-log-out-in-user-menu-on-iphone-se/205431)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**回覆:** 4\
**Last updated:** [2021年十月7日 12:47 UTC](https://meta.discourse.org/t/no-log-out-in-user-menu-on-iphone-se/205431 "2021-10-07T12:47:42Z")

</div>

正如标题所示。虽然我很少使用 iOS……苹果有自己的网站登出方法吗？还是这只是 Safari 成为新的 IE 的又一个例子，不加额外注意就不起作用？

---

## [尝试通过邀请 API 邀请用户时出现 500 内部错误](https://meta.discourse.org/t/getting-an-500-internal-error-on-trying-to-invite-users-via-the-invite-api/205433)

<div class="topic-metadata">

**Author:** [@Heloise\_Andrade](https://meta.discourse.org/u/Heloise_Andrade)\
**回覆:** 2\
**Last updated:** [2021年十月11日 10:32 UTC](https://meta.discourse.org/t/getting-an-500-internal-error-on-trying-to-invite-users-via-the-invite-api/205433 "2021-10-11T10:32:28Z")

</div>

您好， 我一直在尝试通过邀请 API 将用户发送到我的讨论板，但一直遇到 500 内部错误。 有什么建议吗？ { "email": "anitsirc+3@gtechme.com", "skip\_email": false, "custom\_messa"...

---

## [Postgres 错误：subplan "SubPlan 2" 未初始化](https://meta.discourse.org/t/postgres-error-subplan-subplan-2-was-not-initialized/205440)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回覆:** 4\
**Last updated:** [2021年十月7日 12:55 UTC](https://meta.discourse.org/t/postgres-error-subplan-subplan-2-was-not-initialized/205440 "2021-10-07T12:55:53Z")

</div>

我有一个用户说他在“查看随机帖子时”收到 500 错误。查看日志，我只看到这些，似乎只影响该用户。这是一个标准的最新 PG13 安装。我没看到...

---

## [搜索过滤器和提示](https://meta.discourse.org/t/translate-search-filters-and-tips/205451)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 0\
**Last updated:** [2021年十月7日 14:11 UTC](https://meta.discourse.org/t/translate-search-filters-and-tips/205451 "2021-10-07T14:11:16Z")

</div>

你好， 搜索过滤器是否可以翻译？ status:open status:closed status:archived in:pinned in:personal 等等。 例如，通过新的个人消息搜索。它看起来是这样的。…

---

## [您的主题与...弹出窗口为空相似](https://meta.discourse.org/t/your-topic-is-similar-to-popup-is-empty/205452)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 1\
**Last updated:** [2021年十月7日 15:02 UTC](https://meta.discourse.org/t/your-topic-is-similar-to-popup-is-empty/205452 "2021-10-07T15:02:29Z")

</div>

你好， 我刚注意到这个问题。当我添加标题时，控制台会出现以下错误。 谢谢 :slightly\_smiling\_face:

---

## [标签行为并非总是保持一致](https://meta.discourse.org/t/tag-behavior-not-always-consistent/205457)

<div class="topic-metadata">

**Author:** [@cristy](https://meta.discourse.org/u/cristy)\
**回覆:** 0\
**Last updated:** [2021年十月7日 15:11 UTC](https://meta.discourse.org/t/tag-behavior-not-always-consistent/205457 "2021-10-07T15:11:21Z")

</div>

我们期望的行为是，任何新主题都会强制用户点击一个组标签 Business\_Segment，然后选择他们所属的业务部门。但我们实际看到的是，对于任何新的主题请求，都会出现一个……

---

## [默认主页 = 最新（无分类）](https://meta.discourse.org/t/default-home-page-latest-without-categories/205477)

<div class="topic-metadata">

**Author:** [@VaypeNaysh420](https://meta.discourse.org/u/VaypeNaysh420)\
**回覆:** 1\
**Last updated:** [2021年十月7日 17:39 UTC](https://meta.discourse.org/t/default-home-page-latest-without-categories/205477 "2021-10-07T17:39:24Z")

</div>

也许我寻找的是依赖于主题的？我知道用户可以在其偏好设置中选择此项，但作为管理员，如何在不显示分类的情况下将“最新”设置为默认主页，供未登录的用户使用……

---

## [完全禁用喜欢/心形模块？](https://meta.discourse.org/t/completely-disable-like-heart-module/205479)

<div class="topic-metadata">

**Author:** [@VaypeNaysh420](https://meta.discourse.org/u/VaypeNaysh420)\
**回覆:** 4\
**Last updated:** [2021年十月7日 22:23 UTC](https://meta.discourse.org/t/completely-disable-like-heart-module/205479 "2021-10-07T22:23:25Z")

</div>

我需要做的就是禁用心形/点赞系统，在设置 \> 博文菜单中点击“喜欢”旁边的 X 并保存？这似乎会从博文中删除心形，但我不太确定是否还有其他需要做的事情。

---

## [永久删除“常见问题解答/指南”和“服务条款”](https://meta.discourse.org/t/permanently-delete-faq-guidelines-and-terms-of-service/205480)

<div class="topic-metadata">

**Author:** [@VaypeNaysh420](https://meta.discourse.org/u/VaypeNaysh420)\
**回覆:** 2\
**Last updated:** [2021年十月8日 17:48 UTC](https://meta.discourse.org/t/permanently-delete-faq-guidelines-and-terms-of-service/205480 "2021-10-08T17:48:41Z")

</div>

我是否必须以“系统”用户的身份登录（或假冒）而不是在设置期间创建的默认管理员帐户？\\n我该如何删除/移除设置期间添加的默认页面？当然，点击……看起来很傻……

---

## [通过API禁言用户](https://meta.discourse.org/t/silence-user-via-api/205502)

<div class="topic-metadata">

**Author:** [@GioLogist](https://meta.discourse.org/u/GioLogist)\
**回覆:** 4\
**Last updated:** [2021年十月8日 10:21 UTC](https://meta.discourse.org/t/silence-user-via-api/205502 "2021-10-08T10:21:43Z")

</div>

用例： 我们有一个第三方支付平台，用于在用户未付款/未续订时将其“降级”。当发生这种情况时，我们也希望能够在 Discourse 中将他们“降级”。也就是说，我们希望他们能够被……

---

## [“您的主题相似”相关性搜索不支持中日韩字符](https://meta.discourse.org/t/your-topic-is-similar-to-relevance-search-does-not-support-chinese-japanese-korean-characters/205515)

<div class="topic-metadata">

**Author:** [@fishfree](https://meta.discourse.org/u/fishfree)\
**回覆:** 7\
**Last updated:** [2021年十月13日 13:48 UTC](https://meta.discourse.org/t/your-topic-is-similar-to-relevance-search-does-not-support-chinese-japanese-korean-characters/205515 "2021-10-13T13:48:12Z")

</div>

启用 search\_tokenize\_chinese\_japanese\_korean 设置后，我可以搜索出包含 CJK 字符的主题。但“您的主题相似于”区域仍然没有显示结果。

---

## [类别、子类别和编辑错误](https://meta.discourse.org/t/category-subcategory-and-edit-errors/205523)

<div class="topic-metadata">

**Author:** [@Kai\_Kretschmann](https://meta.discourse.org/u/Kai_Kretschmann)\
**回覆:** 1\
**Last updated:** [2021年十月8日 10:59 UTC](https://meta.discourse.org/t/category-subcategory-and-edit-errors/205523 "2021-10-08T10:59:59Z")

</div>

我曾经有一个类别 P，我在其中创建了一个受保护的子类别。 直到这里一切都正常。 现在我变得异想天开，为我的项目创建了一个新的顶级类别，并将其他现有的顶级类别一个接一个地移动...

---

## [用于启用 force\_https 的有效证书测试已损坏，导致其在应开启时处于关闭状态](https://meta.discourse.org/t/test-for-valid-cert-to-enable-force-https-is-broken-leaving-it-off-when-it-should-be-on/205547)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回覆:** 11\
**Last updated:** [2021年十月25日 18:58 UTC](https://meta.discourse.org/t/test-for-valid-cert-to-enable-force-https-is-broken-leaving-it-off-when-it-should-be-on/205547 "2021-10-25T18:58:09Z")

</div>

编辑：将此更改为 bug。\`force\_https\` 在以前启用它的网站上现在已关闭，这会破坏功能。 我花了很多时间调试一个“上传不起作用”的网站。在经历了大量显而易见的问题之后……

---

## [订阅含免费优惠券仍需信用卡号](https://meta.discourse.org/t/subscription-with-free-coupon-still-requires-credit-card-number/205554)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回覆:** 2\
**Last updated:** [2021年十月8日 15:22 UTC](https://meta.discourse.org/t/subscription-with-free-coupon-still-requires-credit-card-number/205554 "2021-10-08T15:22:44Z")

</div>

我已经将一个网站迁移到使用实时信用卡，但仍希望能够为首次试用者提供免费试用方式。我认为免费优惠券可行，但您仍然需要输入信用卡。…

---

## [为会员创建匿名模式按钮](https://meta.discourse.org/t/creating-an-anonymous-mode-button-for-members/205561)

<div class="topic-metadata">

**Author:** [@Richard\_Millington](https://meta.discourse.org/u/Richard_Millington)\
**回覆:** 2\
**Last updated:** [2021年十月10日 19:18 UTC](https://meta.discourse.org/t/creating-an-anonymous-mode-button-for-members/205561 "2021-10-10T19:18:34Z")

</div>

您希望做什么？ 我的客户正在寻找一位开发人员来完成一个简单的项目，即在我们网站主题的“新主题”选项旁边创建一个“匿名模式”组件。 您何时需要完成？ 周一……

---

## [如何在文章页脚添加 Javascript？](https://meta.discourse.org/t/how-to-add-javascript-to-footer-of-posts/205565)

<div class="topic-metadata">

**Author:** [@prestont.hammond](https://meta.discourse.org/u/prestont.hammond)\
**回覆:** 3\
**Last updated:** [2021年十月10日 09:10 UTC](https://meta.discourse.org/t/how-to-add-javascript-to-footer-of-posts/205565 "2021-10-10T09:10:26Z")

</div>

您好。我的网站基于 Discourse，我将在帖子中使用 Schema Markups。有人知道如何在 Discourse 帖子标题中添加 JavaScript，或者是否有任何插件可以帮助我插入它……

---

## [新主题 + 回复：区分临时文本](https://meta.discourse.org/t/new-topic-reply-distinquish-ephemeral-text/205575)

<div class="topic-metadata">

**Author:** [@cristy](https://meta.discourse.org/u/cristy)\
**回覆:** 2\
**Last updated:** [2021年十月11日 11:36 UTC](https://meta.discourse.org/t/new-topic-reply-distinquish-ephemeral-text/205575 "2021-10-11T11:36:50Z")

</div>

新建主题和回复都显示相同的文本“在此键入。使用 Markdown、BBCode 或 HTML 进行格式化。拖放或粘贴图像。” 我们添加了自定义文本，但新建主题和回复显示相同的文本。我们想要不同的……

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

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