# Hot

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

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

**Page:** 1886

---

## [我的（自定义大小的表情符号）突然变得更小（变成正方形）](https://meta.discourse.org/t/my-custom-sized-emojis-have-suddenly-resized-smaller-becoming-square/364978)

<div class="topic-metadata">

**Author:** [@Kartoon](https://meta.discourse.org/u/Kartoon)\
**回覆:** 2\
**Last updated:** [2025年七月21日 14:03 UTC](https://meta.discourse.org/t/my-custom-sized-emojis-have-suddenly-resized-smaller-becoming-square/364978 "2025-07-21T14:03:37Z")

</div>

多年来，我一直使用以下代码让表情符号遵循其上传的大小： div.topic-post img.emoji\[src\*="uploads"\] { /\* All posts \*/ width: auto; height: auto; } 但最近不知何时，它们突然缩小了，不是缩小到默认级别（实际上，如果我检查它们，它们显示的是 20x20，也许是我对比例的把握不好），但明显变小了（我不确定具体是什么时候发生的）。它们在表情符号选择器…

---

## [如何启用语法高亮？](https://meta.discourse.org/t/how-to-enable-syntax-highlighting/332908)

<div class="topic-metadata">

**Author:** [@Yt.w](https://meta.discourse.org/u/Yt.w)\
**回覆:** 4\
**Last updated:** [2024年十月27日 06:08 UTC](https://meta.discourse.org/t/how-to-enable-syntax-highlighting/332908 "2024-10-27T06:08:20Z")

</div>

我的论坛没有配置任何与高亮相关的设置，高亮功能无法正常工作。 我的代码 显示 这是我的设置

---

## [PWA通过webapp://启动时始终加载主页，而非目标路径](https://meta.discourse.org/t/pwa-launched-via-webapp-always-loads-homepage-not-intended-path/375036)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**回覆:** 0\
**Last updated:** [2025年七月21日 08:33 UTC](https://meta.discourse.org/t/pwa-launched-via-webapp-always-loads-homepage-not-intended-path/375036 "2025-07-21T08:33:38Z")

</div>

在 iOS (16.4+) 上，现在可以通过快捷指令或其他应用中的 webapp:// URL 方案打开已安装的 PWA。 示例： webapp://myforum.example.com/t/topic-title/123 这会正确打开 Discourse PWA 外壳……

---

## [从新主题中隐藏类别](https://meta.discourse.org/t/suppress-category-from-new-topics/127773)

<div class="topic-metadata">

**Author:** [@Miroslav\_Suchy1](https://meta.discourse.org/u/Miroslav_Suchy1)\
**回覆:** 7\
**Last updated:** [2024年二月29日 07:35 UTC](https://meta.discourse.org/t/suppress-category-from-new-topics/127773 "2024-02-29T07:35:28Z")

</div>

我们有一个分类，由于嵌入功能（当显示嵌入讨论的页面时会自动创建主题），该分类会生成大量新主题。 https://discussion.fedoraproject.org/c/projects-in-copr 人们 ……

---

## [Stripe、PayPal 和默认安装中的更好设计？](https://meta.discourse.org/t/stripe-paypal-and-better-design-on-default-installation/90761)

<div class="topic-metadata">

**Author:** [@TotalSoft](https://meta.discourse.org/u/TotalSoft)\
**回覆:** 6\
**Last updated:** [2024年三月18日 02:29 UTC](https://meta.discourse.org/t/stripe-paypal-and-better-design-on-default-installation/90761 "2024-03-18T02:29:38Z")

</div>

你好。:earth\_americas: 我想问两件事： 我们能否推出 Stripe 和 PayPal 的官方插件？如果可以的话，这是一个完美的示例：Commerce Subscription Manager / 付费俱乐部会员。 但…

---

## [上传到S3的附件在新服务器上显示404](https://meta.discourse.org/t/attachments-uploaded-to-s3-404-on-a-new-server/331442)

<div class="topic-metadata">

**Author:** [@Eviepayne](https://meta.discourse.org/u/Eviepayne)\
**回覆:** 0\
**Last updated:** [2024年十月17日 20:47 UTC](https://meta.discourse.org/t/attachments-uploaded-to-s3-404-on-a-new-server/331442 "2024-10-17T20:47:35Z")

</div>

更新： 我找到了这个 Attachments are not being saved in S3 但是当我迁移服务器时，这些文件不可用，它们会导致 404 错误。 请参阅下面的“新发现”，我将保留原始帖子，以防它有所帮助。 原始帖子 我正在将一个服务器从一个地方迁移到另一个地方。 已经配置了 S3 和 CDN，并且大多数上传似乎都能正常工作。 在迁移过程中，我注意到一种特定类型的附件未上传到 S3： 我尝试…

---

## [无法发送电子邮件——TLS问题](https://meta.discourse.org/t/cannot-send-email-problem-with-tls/330606)

<div class="topic-metadata">

**Author:** [@laplasz](https://meta.discourse.org/u/laplasz)\
**回覆:** 1\
**Last updated:** [2024年十月12日 19:00 UTC](https://meta.discourse.org/t/cannot-send-email-problem-with-tls/330606 "2024-10-12T19:00:47Z")

</div>

刚使用了 /discourse-doctor，在邮件测试时收到以下错误： 无法发送邮件 Net::ReadTimeout 然后我按照这里的建议设置了 DISCOURSE\_SMTP\_FORCE\_TLS: true：Cannot send email - problem with port 465 - #10 by schungx 但这次我收到了以下错误： TLS 和 STARTTLS 是互斥的 所以，我尝试使用 openssl …

---

## [Google 索引问题（robots.txt）](https://meta.discourse.org/t/google-indexing-issue-robots-txt/148148)

<div class="topic-metadata">

**Author:** [@VoskCoin](https://meta.discourse.org/u/VoskCoin)\
**回覆:** 7\
**Last updated:** [2020年四月18日 03:30 UTC](https://meta.discourse.org/t/google-indexing-issue-robots-txt/148148 "2020-04-18T03:30:11Z")

</div>

Google通知我关于我的论坛出现的问题，有什么解决方案吗？此外，Discourse没有提供站点地图，我找到一个站点地图插件，但我想问的是——站点地图会实时更新吗，还是我需要重新生成？

---

## [OIDC：授权超时](https://meta.discourse.org/t/oidc-authorization-timed-out/165631)

<div class="topic-metadata">

**Author:** [@Martin\_Delille](https://meta.discourse.org/u/Martin_Delille)\
**回覆:** 2\
**Last updated:** [2025年一月3日 13:00 UTC](https://meta.discourse.org/t/oidc-authorization-timed-out/165631 "2025-01-03T13:00:20Z")

</div>

When I connect using the plugin I have the following error: Authorization timed out, or you have switched browsers. Please try again. but if I click on the forum logo, I’m correctly logged in. When looking at the log I …

---

## [我能更改下拉菜单中显示的分类列表吗？](https://meta.discourse.org/t/can-i-alter-the-list-of-categories-displayed-in-the-dropdown/302041)

<div class="topic-metadata">

**Author:** [@Helga\_Razinkova](https://meta.discourse.org/u/Helga_Razinkova)\
**回覆:** 0\
**Last updated:** [2024年四月2日 12:45 UTC](https://meta.discourse.org/t/can-i-alter-the-list-of-categories-displayed-in-the-dropdown/302041 "2024-04-02T12:45:05Z")

</div>

大家好！这是用例。 我们在主页上展示了带有许多子类别的“心愿单”类别，因此类别总列表非常庞大且不方便导航。是否有可能显示……

---

## [/latest 上的头像显示上次看到帖子而非最新帖子](https://meta.discourse.org/t/profile-picture-on-latest-shows-last-seen-post-not-last-post/304830)

<div class="topic-metadata">

**Author:** [@piffy](https://meta.discourse.org/u/piffy)\
**回覆:** 0\
**Last updated:** [2024年四月21日 23:21 UTC](https://meta.discourse.org/t/profile-picture-on-latest-shows-last-seen-post-not-last-post/304830 "2024-04-21T23:21:49Z")

</div>

我收到报告（尽管我没有遇到这种情况），显示在 /latest 页面的个人资料图片是上次看到的帖子的图片，而不是帖子串中的实际最新帖子。 如果……我可以提供更多细节

---

## [如何在\`WebSite\`结构化数据中指定备用名称](https://meta.discourse.org/t/how-to-specify-alternate-names-in-the-website-structured-data/333023)

<div class="topic-metadata">

**Author:** [@xuhdev](https://meta.discourse.org/u/xuhdev)\
**回覆:** 0\
**Last updated:** [2024年十月27日 05:51 UTC](https://meta.discourse.org/t/how-to-specify-alternate-names-in-the-website-structured-data/333023 "2024-10-27T05:51:37Z")

</div>

Google 使用 WebSite 结构化数据来确定搜索结果中显示的网站名称。Discourse 目前确实会生成 WebSite 结构化数据。但我该如何设置 Google 允许的 alternateName 字段呢？

---

## [已经看到帖子出现在上次访问行上方了吗？](https://meta.discourse.org/t/already-seen-posts-appearing-above-last-visit-line/232525)

<div class="topic-metadata">

**Author:** [@adamengst](https://meta.discourse.org/u/adamengst)\
**回覆:** 5\
**Last updated:** [2025年一月9日 07:19 UTC](https://meta.discourse.org/t/already-seen-posts-appearing-above-last-visit-line/232525 "2025-01-09T07:19:22Z")

</div>

我不确定这里发生了什么，但一些用户报告说，他们看到之前已读的主题在“上次访问”线之上显示没有新帖子。他们都说问题是在几周前开始的，这可能与最近一次 Discourse 更新相对应（我不确定如何检查我何时更新了，尽管我确信 Discourse 在某处会跟踪这些信息）。 例如，这位用户说他 20 小时前曾访问该网站发布他的报告，但回来后分享了一张截图，显示了 2 天和 3 天前已读的主题。 有什么想法吗？

---

## [备份/导出/导入偏好设置](https://meta.discourse.org/t/backup-export-import-preferences/254597)

<div class="topic-metadata">

**Author:** [@jidanni](https://meta.discourse.org/u/jidanni)\
**回覆:** 7\
**Last updated:** [2024年八月23日 07:38 UTC](https://meta.discourse.org/t/backup-export-import-preferences/254597 "2024-08-23T07:38:40Z")

</div>

当然，管理员会一直进行备份、导出和导入设置，https://meta.discourse.org/t/export-and-import-site-settings/148184。 但普通用户呢？ 当然，我在站点 A 上使用的偏好设置，我也可能想在站点 B 甚至站点 C 上使用。 另外，如果一个站点出现问题怎么办？我肯定希望有一个我的偏好设置的备份。 而且，应该在标准应用程序中就能找到这样的功能，而不必去寻找一些第三方版本。 嗯…

---

## [在加载帖子时向下滑动会重新加载页面](https://meta.discourse.org/t/swiping-down-while-posts-are-loading-reloads-the-page/357382)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回覆:** 1\
**Last updated:** [2025年三月15日 08:13 UTC](https://meta.discourse.org/t/swiping-down-while-posts-are-loading-reloads-the-page/357382 "2025-03-15T08:13:04Z")

</div>

在移动设备上，至少在 Chrome 浏览器中，向下滑动会重新加载页面，这是符合预期的。 在 Discourse 中，当您位于帖子的底部时，您会向下滑动以显示上面的帖子。当您到达第一个未加载的帖子时，Discourse 会通过无限滚动（双向滚动）开始加载之前的帖子。 问题是，如果您在 Discourse 加载新帖子时向下滑动，Chrome 就会重新加载页面，并将您带回到之前的帖子。 这种情况主要发生在您快速向下滑动时。 …

---

## [用户可以在哪里找到他们被拒绝的主题？](https://meta.discourse.org/t/where-can-a-user-find-their-rejected-topic/314180)

<div class="topic-metadata">

**Author:** [@Mathilde.Dubreuil](https://meta.discourse.org/u/Mathilde.Dubreuil)\
**回覆:** 1\
**Last updated:** [2024年六月28日 15:14 UTC](https://meta.discourse.org/t/where-can-a-user-find-their-rejected-topic/314180 "2024-06-28T15:14:46Z")

</div>

您好， 对于我的新论坛，“修改帖子”选项在版主管理中将非常有用。 但是，我不太清楚用户如何找到他的帖子才能在版主修改后进行审查和修改？用户只会收到站内信，但仅此而已，对吗？找不到更新帖子的位置？ 用户是否必须创建一个新的帖子？ 谢谢

---

## [通过不(重复)对备份进行gzip压缩，减少本地磁盘空间需求](https://meta.discourse.org/t/reduce-local-disk-space-needs-by-not-redundantly-gzipping-backups/245763)

<div class="topic-metadata">

**Author:** [@Ed\_S](https://meta.discourse.org/u/Ed_S)\
**回覆:** 22\
**Last updated:** [2026年九月8日 12:30 UTC](https://meta.discourse.org/t/reduce-local-disk-space-needs-by-not-redundantly-gzipping-backups/245763 "2026-09-08T12:30:54Z")

</div>

备份过程会创建一个 tar 文件，然后对其应用 gzip。tar 文件中有两种内容：一个已压缩的 sql 转储和一个 uploads 的内容（如果需要）。在我的例子中，每个上传文件都已压缩：gz、gzip、gif、jpeg、png、zip。因此，最终的 gzip 压缩只会节省 1% 的空间。 我认为最好是要求更少的可用空间。 2016 年的一个先前主题提到了禁用备份压缩，但当时 sql 转储似乎没有被压缩，这改变了权衡。 添加禁…

---

## [Steam 登录失败](https://meta.discourse.org/t/steam-login-failure/375116)

<div class="topic-metadata">

**Author:** [@captainzephyr](https://meta.discourse.org/u/captainzephyr)\
**回覆:** 1\
**Last updated:** [2025年七月21日 19:48 UTC](https://meta.discourse.org/t/steam-login-failure/375116 "2025-07-21T19:48:51Z")

</div>

刚刚安装了 Discourse，所以如果我没有启用正确的日志记录类型等，敬请谅解。我正在尝试启用 Steam 登录插件，但结果只是“抱歉，授权时出现错误……”。

---

## [为批量用户邀请流程添加警告时停止的选项（并设为默认）](https://meta.discourse.org/t/give-an-option-to-stop-the-bulk-user-invite-process-on-warning-and-make-that-the-default-option/292445)

<div class="topic-metadata">

**Author:** [@jericson](https://meta.discourse.org/u/jericson)\
**回覆:** 0\
**Last updated:** [2024年一月22日 02:41 UTC](https://meta.discourse.org/t/give-an-option-to-stop-the-bulk-user-invite-process-on-warning-and-make-that-the-default-option/292445 "2024-01-22T02:41:39Z")

</div>

我正试图迁移一个目前通过电子邮件协调活动的群组到我的 Discourse 服务器上的一个群组。我决定使用批量邀请功能，我的 CSV 文件看起来像这样： user1@example.com, fam…

---

## [如何将标签显示为分裂的分组](https://meta.discourse.org/t/how-to-show-tags-into-broken-groups/150301)

<div class="topic-metadata">

**Author:** [@hjalali](https://meta.discourse.org/u/hjalali)\
**回覆:** 2\
**Last updated:** [2024年六月29日 17:47 UTC](https://meta.discourse.org/t/how-to-show-tags-into-broken-groups/150301 "2024-06-29T17:47:23Z")

</div>

我创建了两个不同的群组，并在里面放置了不同的标签，但标签页面仍然显示所有内容在“全部标签”下。 我怎样才能将标签按相关群组分类显示？（……

---

## [求助](https://meta.discourse.org/t/how-to-change-discourse-email-settings-after-installation/374076)

<div class="topic-metadata">

**Author:** [@Modfather](https://meta.discourse.org/u/Modfather)\
**回覆:** 1\
**Last updated:** [2025年七月13日 23:09 UTC](https://meta.discourse.org/t/how-to-change-discourse-email-settings-after-installation/374076 "2025-07-13T23:09:39Z")

</div>

好的，请不要批评我，我找人帮我在新的VOD上安装Discourse，遇到了许多问题，但公平地说，这也不是他的错。不过，我们已经安装好了，但我真是傻，从来没意识到要检查他是否检查了邮件……

---

## [基于群组的分类可见性（不影响SEO）](https://meta.discourse.org/t/group-based-category-visibility-without-affecting-seo/357345)

<div class="topic-metadata">

**Author:** [@emonunix](https://meta.discourse.org/u/emonunix)\
**回覆:** 1\
**Last updated:** [2025年三月15日 07:42 UTC](https://meta.discourse.org/t/group-based-category-visibility-without-affecting-seo/357345 "2025-03-15T07:42:39Z")

</div>

:one: 问题陈述 目前，Discourse 不允许基于用户组的严格分类可见性，这会导致一些问题： 用户会在搜索结果、分类下拉菜单和推荐主题中看到不相关的分类。 已静音的分类仍然会出现在搜索和推荐主题中，使得静音对于真正的分类隔离无效。 如果将分类设为私有（仅限特定用户组），Google 将无法索引它们，这会影响 SEO。 :two: 提议的解决方案 引入一个新的分类权限选项： :white\_check\_mark: “加入用户…

---

## [如何将长标题截断为一行显示？](https://meta.discourse.org/t/how-to-truncating-long-titles-for-one-line-display/333304)

<div class="topic-metadata">

**Author:** [@jlcoo](https://meta.discourse.org/u/jlcoo)\
**回覆:** 0\
**Last updated:** [2024年十月29日 03:26 UTC](https://meta.discourse.org/t/how-to-truncating-long-titles-for-one-line-display/333304 "2024-10-29T03:26:15Z")

</div>

例如，这是一个使用两行的较长标题，但我想让它只显示一行，只显示部分标题，你能帮帮我吗？

---

## [在插件中使用 HasCustomFields](https://meta.discourse.org/t/using-hascustomfields-in-a-plugin/176469)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回覆:** 9\
**Last updated:** [2024年四月27日 01:01 UTC](https://meta.discourse.org/t/using-hascustomfields-in-a-plugin/176469 "2024-04-27T01:01:14Z")

</div>

我在一个插件中有一个模型。该模型是 Pfaffmananger::Server，表是 pfaffmanager\_servers。出于某些原因，我想为该模型添加自定义字段（我希望有方法可以扩展服务器数据…）

---

## [自定义“指南”URL的选项（非FAQ）？](https://meta.discourse.org/t/option-for-custom-guidelines-url-not-faq/95038)

<div class="topic-metadata">

**Author:** [@bts](https://meta.discourse.org/u/bts)\
**回覆:** 4\
**Last updated:** [2025年七月15日 16:56 UTC](https://meta.discourse.org/t/option-for-custom-guidelines-url-not-faq/95038 "2025-07-15T16:56:40Z")

</div>

是否可以有一个自定义的“guidelines url”，就像有“tos url”、“privacy policy url”和“faq url”的选项一样？ 之所以这么问，是因为我今天对此感到困惑 :sweat\_smile: 我才意识到我曾…

---

## [设置 Let's Encrypt + 非-www  www](https://meta.discourse.org/t/setup-let-s-encrypt-non-www-www/84840)

<div class="topic-metadata">

**Author:** [@BlackKnob](https://meta.discourse.org/u/BlackKnob)\
**回覆:** 5\
**Last updated:** [2025年二月23日 01:04 UTC](https://meta.discourse.org/t/setup-let-s-encrypt-non-www-www/84840 "2025-02-23T01:04:09Z")

</div>

I finally made it work, and thought to put everything together in case someone needs it. This info is assembled from different topics on this forum. Thanks to @brahn and @techAPJ. This assumes you’ve completed the init…

---

## [让匿名模式按钮不那么显眼，减少被误按的可能性](https://meta.discourse.org/t/make-anonymous-mode-button-less-prominent-less-likely-to-be-pressed-accidentally/99856)

<div class="topic-metadata">

**Author:** [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**回覆:** 4\
**Last updated:** [2025年三月7日 19:50 UTC](https://meta.discourse.org/t/make-anonymous-mode-button-less-prominent-less-likely-to-be-pressed-accidentally/99856 "2025-03-07T19:50:27Z")

</div>

I’m at a workshop in :kenya: where I just trained up a bunch of people on using discourse. One of the things that came up is that one person (who is an active smartphone user) accidentally entered anonymous mode. It was …

---

## [Discourse 上的 Tawk.to](https://meta.discourse.org/t/tawk-to-on-discourse/158284)

<div class="topic-metadata">

**Author:** [@Bonster](https://meta.discourse.org/u/Bonster)\
**回覆:** 6\
**Last updated:** [2024年五月21日 09:43 UTC](https://meta.discourse.org/t/tawk-to-on-discourse/158284 "2024-05-21T09:43:21Z")

</div>

你好， 我一直在尝试将tawk.to聊天功能嵌入到我的discourse中，但似乎无法成功。 我看到有人之前问过这个问题，插入tawk.to的widget JS代码 我已经尝试粘贴……

---

## [Discourse Hub 使用错误无效化 Discord OAuth](https://meta.discourse.org/t/discourse-hub-invalidates-discord-oauth-with-error/309316)

<div class="topic-metadata">

**Author:** [@lawmixeraintalive](https://meta.discourse.org/u/lawmixeraintalive)\
**回覆:** 3\
**Last updated:** [2024年五月24日 17:32 UTC](https://meta.discourse.org/t/discourse-hub-invalidates-discord-oauth-with-error/309316 "2024-05-24T17:32:34Z")

</div>

我只有 Discord OAuth 作为我的验证方法，它在桌面版 Discourse 上运行得很好，但在移动版上却会出错，这很糟糕。 错误： (discord) 身份验证失败！csrf\_detected: OmniAuth::Strategies::OAuth2::CallbackError, csrf\_detected | CSRF 检测到 配置： 重定向：https://forum.orosiuslabs.com/auth/…

---

## [小错误：标记自己帖子仍会收到“您的帖子被社区标记”的提示](https://meta.discourse.org/t/slight-bug-flagging-your-own-post-will-still-get-you-the-your-post-was-flagged-by-the-community-note/309351)

<div class="topic-metadata">

**Author:** [@someuser](https://meta.discourse.org/u/someuser)\
**回覆:** 0\
**Last updated:** [2024年五月24日 22:06 UTC](https://meta.discourse.org/t/slight-bug-flagging-your-own-post-will-still-get-you-the-your-post-was-flagged-by-the-community-note/309351 "2024-05-24T22:06:04Z")

</div>

当你不是管理员且想删除旧帖子时，最好通过“标记”选择“其他原因”，然后输入“请删除此内容，它是重复、过时等。”然后管理员删除帖子，你会...

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

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