# Hot

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

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

**Page:** 1313

---

## [实现自定义 jQuery 代码的更好方法？](https://meta.discourse.org/t/a-better-way-to-implement-custom-jquery-code/180056)

<div class="topic-metadata">

**Author:** [@cosdesign](https://meta.discourse.org/u/cosdesign)\
**回覆:** 3\
**Last updated:** [2021年二月18日 00:44 UTC](https://meta.discourse.org/t/a-better-way-to-implement-custom-jquery-code/180056 "2021-02-18T00:44:53Z")

</div>

我的 jQuery 代码出现了一个问题，它并不总是被触发。 我试图在用户滚动超过 70 像素时切换一个类。它工作正常，但并非总是如此。 例如，有时在编辑了……

---

## [如何将模板组件变量渲染为 HTML](https://meta.discourse.org/t/how-to-render-template-component-variables-as-html/180068)

<div class="topic-metadata">

**Author:** [@OlivierLambert](https://meta.discourse.org/u/OlivierLambert)\
**回覆:** 2\
**Last updated:** [2021年二月17日 17:02 UTC](https://meta.discourse.org/t/how-to-render-template-component-variables-as-html/180068 "2021-02-17T17:02:34Z")

</div>

嘿！ 有个小问题。 我有这段代码： \`\`\`html {{#if missions}} \<h2\>{{#if userName}}{{i18n (theme-prefix "…… \`\`\`

---

## [未登录用户/未注册用户显示的消息？](https://meta.discourse.org/t/message-to-display-to-only-users-without-accounts-logged-in/180069)

<div class="topic-metadata">

**Author:** [@Ben10](https://meta.discourse.org/u/Ben10)\
**回覆:** 4\
**Last updated:** [2021年二月17日 17:44 UTC](https://meta.discourse.org/t/message-to-display-to-only-users-without-accounts-logged-in/180069 "2021-02-17T17:44:08Z")

</div>

是否有一种方法可以显示与管理员顶部消息类似的消息，但仅对未登录访问您论坛的用户显示？ （下方是管理员消息的示例）

---

## [SMTP 邮件问题 Net::Timeout](https://meta.discourse.org/t/smtp-email-issue-net-timeout/180080)

<div class="topic-metadata">

**Author:** [@kyekiller](https://meta.discourse.org/u/kyekiller)\
**回覆:** 2\
**Last updated:** [2021年二月18日 05:22 UTC](https://meta.discourse.org/t/smtp-email-issue-net-timeout/180080 "2021-02-18T05:22:35Z")

</div>

您好，我一直在尝试修复我的 SMTP 问题，它无法发送电子邮件，当我运行 ./discourse-doctor 命令时，它会给我一个 Net::Timeout 错误。 提前感谢您的帮助。 app.yml smtp 部分 DISCOURSE\_S……

---

## [Discobot 新用户教程：为预格式化文本添加步骤](https://meta.discourse.org/t/discobot-new-user-tutorial-adding-step-for-preformatted-text/180083)

<div class="topic-metadata">

**Author:** [@tmomas](https://meta.discourse.org/u/tmomas)\
**回覆:** 5\
**Last updated:** [2021年八月15日 11:05 UTC](https://meta.discourse.org/t/discobot-new-user-tutorial-adding-step-for-preformatted-text/180083 "2021-08-15T11:05:08Z")

</div>

Discobot 新用户教程已通过以下文本处理粗体 + 斜体格式以及引用格式： discourse\_narrative\_bot.new\_user\_narrative.formatting.instructions discourse\_narrative\_bot…

---

## [无法使用 Firefox 78 创建账户](https://meta.discourse.org/t/cannot-create-account-using-firefox-78/180096)

<div class="topic-metadata">

**Author:** [@Jamesss](https://meta.discourse.org/u/Jamesss)\
**回覆:** 2\
**Last updated:** [2021年二月18日 00:46 UTC](https://meta.discourse.org/t/cannot-create-account-using-firefox-78/180096 "2021-02-18T00:46:56Z")

</div>

我被告知在这里发布此问题，因为下面引用的网站使用 Discourse。 重现步骤 在 Firefox 浏览器中访问 https://forum.obsidian.md 点击右上角的“注册”按钮 提示……

---

## [打赏计划（类似Vocal Media的那个）](https://meta.discourse.org/t/tipping-program-something-like-the-one-in-vocal-media/180098)

<div class="topic-metadata">

**Author:** [@Tiago\_Amaral](https://meta.discourse.org/u/Tiago_Amaral)\
**回覆:** 3\
**Last updated:** [2021年三月10日 21:43 UTC](https://meta.discourse.org/t/tipping-program-something-like-the-one-in-vocal-media/180098 "2021-03-10T21:43:33Z")

</div>

您想做什么？ 您好，我想知道实现类似 Vocal Media（https://vocal.media/theChain/bitcoin-origins-operations-happenings-objectives-and-offerin…）的功能需要多少费用。

---

## [遇到未知的 COSE 算法。alg: -257](https://meta.discourse.org/t/unknown-cose-algorithm-encountered-alg-257/180104)

<div class="topic-metadata">

**Author:** [@SystemZ](https://meta.discourse.org/u/SystemZ)\
**回覆:** 4\
**Last updated:** [2021年二月18日 11:00 UTC](https://meta.discourse.org/t/unknown-cose-algorithm-encountered-alg-257/180104 "2021-02-18T11:00:16Z")

</div>

您好， 我的一个用户无法使用硬件密钥登录 2FA。 在登录时按下密钥上的按钮后，Windows 10 会要求输入 PIN。 输入 PIN 后，他收到错误消息“用于安全密钥的算法……”。

---

## [如何防止版主查看管理员数据（IP、电子邮件）？](https://meta.discourse.org/t/how-to-prevent-moderators-from-seeing-administrator-data-ip-email/180116)

<div class="topic-metadata">

**Author:** [@Alex\_Tramp](https://meta.discourse.org/u/Alex_Tramp)\
**回覆:** 4\
**Last updated:** [2021年二月17日 23:40 UTC](https://meta.discourse.org/t/how-to-prevent-moderators-from-seeing-administrator-data-ip-email/180116 "2021-02-17T23:40:43Z")

</div>

您好，社区！ 请帮帮我。 如何阻止版主查看管理员数据（IP、电子邮件）？ 而且据我所知，并没有所谓的“超级管理员”。如果我将管理员权限授予其他用户……

---

## [自身免疫性过度干预：反垃圾邮件规则可能显得过于激进的社区标记，阻碍社区发展](https://meta.discourse.org/t/auto-immune-heavy-handedness-anti-spam-rules-can-appear-to-be-overzealous-community-flagging-stymieing-community/180117)

<div class="topic-metadata">

**Author:** [@lightweight](https://meta.discourse.org/u/lightweight)\
**回覆:** 7\
**Last updated:** [2021年二月18日 09:43 UTC](https://meta.discourse.org/t/auto-immune-heavy-handedness-anti-spam-rules-can-appear-to-be-overzealous-community-flagging-stymieing-community/180117 "2021-02-18T09:43:07Z")

</div>

大家好。我运行了多个 Discourse 实例，因此从版主/管理员的角度来看，我对 Discourse 有相当多的经验。最近，我加入了一个新的社区（作为一个全新的用户），该社区运行着一个 Discourse 论坛……

---

## [隐藏子子类别从/categories列表？](https://meta.discourse.org/t/hide-sub-sub-categories-from-categories-listing/180118)

<div class="topic-metadata">

**Author:** [@downey](https://meta.discourse.org/u/downey)\
**回覆:** 1\
**Last updated:** [2021年二月24日 19:41 UTC](https://meta.discourse.org/t/hide-sub-sub-categories-from-categories-listing/180118 "2021-02-24T19:41:36Z")

</div>

我很抱歉，这可能是一个相当晦涩的问题： 是否可以从 /categories 列表中隐藏子子类别？ 换句话说： 在正常情况下，当您查看 /categories 时……

---

## [API响应中的post\_type](https://meta.discourse.org/t/about-post-type-in-api-responses/180123)

<div class="topic-metadata">

**Author:** [@Hugo\_Tadashi](https://meta.discourse.org/u/Hugo_Tadashi)\
**回覆:** 2\
**Last updated:** [2021年二月18日 00:58 UTC](https://meta.discourse.org/t/about-post-type-in-api-responses/180123 "2021-02-18T00:58:51Z")

</div>

https://{defaultHost}/posts.json 端点响应中 post\_type 字段的含义是什么？到目前为止，我发现 1 是普通帖子，3 是版主执行了操作（存档、置顶……）的帖子。

---

## [书签提醒“帖子中的日期”已过](https://meta.discourse.org/t/bookmark-reminder-date-in-post-in-the-past/180128)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**回覆:** 2\
**Last updated:** [2021年二月19日 03:58 UTC](https://meta.discourse.org/t/bookmark-reminder-date-in-post-in-the-past/180128 "2021-02-19T03:58:01Z")

</div>

检测帖子中的日期以建议作为提醒时间是一项很酷的功能，但最好不要在日期已过时提供该选项，而不是提供该选项却导致选择时出现错误……

---

## [2.6.1 活动页面出现 Bug](https://meta.discourse.org/t/bug-with-activity-page-on-2-6-1/180142)

<div class="topic-metadata">

**Author:** [@nahimov](https://meta.discourse.org/u/nahimov)\
**回覆:** 1\
**Last updated:** [2021年二月19日 01:35 UTC](https://meta.discourse.org/t/bug-with-activity-page-on-2-6-1/180142 "2021-02-19T01:35:15Z")

</div>

您好！ 我在论坛 2.6.1 版本的“活动”页面上发现了这个错误。除了页面是空的之外，也没有“已分配”项： 在 2.5.5 版本中一切正常：

---

## [在“\<\>”字符之间添加文本会渲染一个空帖子。（本帖中的示例）](https://meta.discourse.org/t/adding-text-between-characters-renders-an-empty-post-example-in-this-post/180147)

<div class="topic-metadata">

**Author:** [@fzngagan](https://meta.discourse.org/u/fzngagan)\
**回覆:** 7\
**Last updated:** [2021年二月21日 23:34 UTC](https://meta.discourse.org/t/adding-text-between-characters-renders-an-empty-post-example-in-this-post/180147 "2021-02-21T23:34:55Z")

</div>

隐藏文本如下： \<OnlyTwentyCharacters\>

---

## [刷新自定义文本页面时，之前的自定义文本会一直出现](https://meta.discourse.org/t/previous-custom-text-keeps-appearing-when-refreshing-customize-text-page/180153)

<div class="topic-metadata">

**Author:** [@frank.manuel](https://meta.discourse.org/u/frank.manuel)\
**回覆:** 3\
**Last updated:** [2021年二月19日 05:34 UTC](https://meta.discourse.org/t/previous-custom-text-keeps-appearing-when-refreshing-customize-text-page/180153 "2021-02-19T05:34:49Z")

</div>

因此，我手动更新了数据库中的 category.replace\_paragraph，在 translation\_overrides 表中。这是我制作的某个服务器同步功能的一部分。 它在页面上正确显示： 直到我不断刷新……

---

## [Discourse 使用 whmcs 用户登录](https://meta.discourse.org/t/discourse-login-with-whmcs-users/180167)

<div class="topic-metadata">

**Author:** [@ebinvthomas](https://meta.discourse.org/u/ebinvthomas)\
**回覆:** 1\
**Last updated:** [2021年二月18日 15:10 UTC](https://meta.discourse.org/t/discourse-login-with-whmcs-users/180167 "2021-02-18T15:10:33Z")

</div>

你好， 我计划使用 Discourse 为我们公司启用社区论坛。我们目前使用 WHMCS 进行账单管理。我想为我们现有的 WHMCS 客户和未来的客户启用社区。我们该如何启用登录……

---

## [嵌入式主题的图片优化](https://meta.discourse.org/t/image-optimizations-for-embedded-topics/180170)

<div class="topic-metadata">

**Author:** [@sok777](https://meta.discourse.org/u/sok777)\
**回覆:** 8\
**Last updated:** [2021年二月19日 14:34 UTC](https://meta.discourse.org/t/image-optimizations-for-embedded-topics/180170 "2021-02-19T14:34:49Z")

</div>

大家好， 我正在将论坛主题列表嵌入到另一个网站。 效果很好，但是每个主题旁边显示的图片没有优化。 这确实会减慢页面的加载速度。……

---

## [Coub 播放器嵌入不起作用](https://meta.discourse.org/t/coub-player-embedding-doesnt-work/180175)

<div class="topic-metadata">

**Author:** [@RozvM](https://meta.discourse.org/u/RozvM)\
**回覆:** 8\
**Last updated:** [2021年二月22日 17:05 UTC](https://meta.discourse.org/t/coub-player-embedding-doesnt-work/180175 "2021-02-22T17:05:52Z")

</div>

重现步骤： 搜索一个 Coub。 点击/轻触分享按钮。 复制 URL。(https://coub.com/view/\[ID\]) 打开一个 Discourse 社区，并使用最新版本。 将链接粘贴到编辑器中。 发布。 嵌入式视频……

---

## [Discourse groups body中的CSS类](https://meta.discourse.org/t/discourse-groups-css-classes-in-body/180194)

<div class="topic-metadata">

**Author:** [@Ed\_Bobkov](https://meta.discourse.org/u/Ed_Bobkov)\
**回覆:** 2\
**Last updated:** [2021年二月18日 14:19 UTC](https://meta.discourse.org/t/discourse-groups-css-classes-in-body/180194 "2021-02-18T14:19:54Z")

</div>

感谢 @Johani，我找到了 @Falco 制作的这个很棒的主题组件 :pray: 现在用户的所有组都已设置在 body 标签中。我一直在寻找解决方案，但没有找到任何关于此组件的提及。 https://github.com/……

---

## [群组内摘要，限制版主到群组](https://meta.discourse.org/t/digest-inside-a-group-limit-moderator-to-group/180199)

<div class="topic-metadata">

**Author:** [@Thomas\_Rother](https://meta.discourse.org/u/Thomas_Rother)\
**回覆:** 8\
**Last updated:** [2023年三月15日 07:52 UTC](https://meta.discourse.org/t/digest-inside-a-group-limit-moderator-to-group/180199 "2023-03-15T07:52:57Z")

</div>

我们有一个面向封闭用户组的 discourse 2.7.0.beta3 实例。它托管着不同的社区，每个社区都有自己的社会焦点（例如，一个是一个创客空间，另一个是当地自行车交通的压力团体）。E……

---

## [2.7.0.beta4：DiscourseConnect，主题计时器UI改版，登录模态框UI改版，以及更多](https://meta.discourse.org/t/2-7-0-beta4-discourseconnect-topic-timer-ui-revamp-login-modal-ui-revamp-and-more/180213)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**回覆:** 1\
**Last updated:** [2021年二月18日 19:26 UTC](https://meta.discourse.org/t/2-7-0-beta4-discourseconnect-topic-timer-ui-revamp-login-modal-ui-revamp-and-more/180213 "2021-02-18T19:26:57Z")

</div>

2.7.0.beta4 中的新功能 ‘Discourse SSO’ 现已更名为 DiscourseConnect Discourse 一直支持多种身份验证方法，从用户名/密码到与 Google、Facebook、Twitter 等常用服务进行社交登录……

---

## [将 discourse 分类链接添加到 wordpress](https://meta.discourse.org/t/add-discourse-category-link-to-wordpress/180220)

<div class="topic-metadata">

**Author:** [@Yves\_Lauzin](https://meta.discourse.org/u/Yves_Lauzin)\
**回覆:** 3\
**Last updated:** [2021年二月18日 22:29 UTC](https://meta.discourse.org/t/add-discourse-category-link-to-wordpress/180220 "2021-02-18T22:29:50Z")

</div>

您好， 使用 Wp Discourse 插件，是否可以在 WordPress 中添加 Discourse 分类预览？ 我认为 RSS 集成器可以实现此功能，但使用 WP Discourse 插件是否可行？ 有点像这样……

---

## [无法为全新安装创建 web\_only 镜像](https://meta.discourse.org/t/unable-to-create-web-only-image-for-a-fresh-install/180221)

<div class="topic-metadata">

**Author:** [@ann\_eav](https://meta.discourse.org/u/ann_eav)\
**回覆:** 10\
**Last updated:** [2021年二月25日 15:30 UTC](https://meta.discourse.org/t/unable-to-create-web-only-image-for-a-fresh-install/180221 "2021-02-25T15:30:17Z")

</div>

你好 :blush: 我仍在尝试创建我们的 Discourse 工作流。 我有一个全新的 Redis 容器和全新的 Postgres 容器与 Discourse 一起使用。 下一步是构建 web\_only 容器镜像……

---

## [使用谷歌搜索所有讨论？](https://meta.discourse.org/t/searching-all-discourses-with-google/180232)

<div class="topic-metadata">

**Author:** [@bluenote73](https://meta.discourse.org/u/bluenote73)\
**回覆:** 4\
**Last updated:** [2021年二月19日 05:33 UTC](https://meta.discourse.org/t/searching-all-discourses-with-google/180232 "2021-02-19T05:33:31Z")

</div>

您好 我想使用谷歌搜索所有 Discourse 安装。对于其他论坛，有时人们会使用 inurl:forum|viewthread|showthread|viewtopic|showtopic。但 Discourse 的网址非常简洁（/c 和 /t？）所以没有……

---

## [可以搭接 Discourse 认证吗？](https://meta.discourse.org/t/is-it-possible-to-piggyback-discourse-authentication/180235)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**回覆:** 1\
**Last updated:** [2021年二月18日 20:46 UTC](https://meta.discourse.org/t/is-it-possible-to-piggyback-discourse-authentication/180235 "2021-02-18T20:46:36Z")

</div>

我正在开发一个简单的 Express 应用，并计划将其作为 iframe 嵌入到我需要登录的 Discourse 网站的页面中。 这可能是我太天真了，但有没有办法利用用户已经……

---

## [“重新烘焙旧帖子计数”选项有点令人困惑](https://meta.discourse.org/t/rebake-old-posts-count-option-is-a-bit-confusing/180236)

<div class="topic-metadata">

**Author:** [@Alex\_P](https://meta.discourse.org/u/Alex_P)\
**回覆:** 4\
**Last updated:** [2021年二月23日 07:06 UTC](https://meta.discourse.org/t/rebake-old-posts-count-option-is-a-bit-confusing/180236 "2021-02-23T07:06:08Z")

</div>

在管理员设置中有一个“重新烘焙旧帖子计数”选项，其描述如下： 每 15 分钟重新烘焙的旧帖子数量 起初我以为 Discourse 总是会重新烘焙一些旧帖子，但在查看了……

---

## [将个人消息默认从“观看”更改为“跟踪”？](https://meta.discourse.org/t/change-personal-message-from-watching-to-tracking-by-default/180238)

<div class="topic-metadata">

**Author:** [@sok777](https://meta.discourse.org/u/sok777)\
**回覆:** 2\
**Last updated:** [2021年二月18日 21:36 UTC](https://meta.discourse.org/t/change-personal-message-from-watching-to-tracking-by-default/180238 "2021-02-18T21:36:56Z")

</div>

您好， 我有一个私人消息要发给大约30人。由于默认情况下每个人都在关注此消息，因此每个回复都会自动发送电子邮件给所有人。 作为管理员，是否可以更改默认……

---

## [在主题组件中选择深色和浅色](https://meta.discourse.org/t/choosing-between-dark-and-light-colors-in-a-theme-component/180241)

<div class="topic-metadata">

**Author:** [@Lumi](https://meta.discourse.org/u/Lumi)\
**回覆:** 4\
**Last updated:** [2021年二月19日 17:01 UTC](https://meta.discourse.org/t/choosing-between-dark-and-light-colors-in-a-theme-component/180241 "2021-02-19T17:01:48Z")

</div>

我有一个主题组件，为深色和浅色主题提供了不同的颜色。我一直在使用 dark-light-choose 函数在浅色和深色之间进行选择，但在颜色变量更新后它不再起作用……

---

## [手动晋升用户未收到欢迎PM](https://meta.discourse.org/t/manually-promoted-users-not-receiving-the-welcome-pm/180243)

<div class="topic-metadata">

**Author:** [@cosdesign](https://meta.discourse.org/u/cosdesign)\
**回覆:** 1\
**Last updated:** [2021年二月18日 20:52 UTC](https://meta.discourse.org/t/manually-promoted-users-not-receiving-the-welcome-pm/180243 "2021-02-18T20:52:10Z")

</div>

手动晋升后，欢迎私信未发送，存在问题。

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

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