# Hot

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

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

**Page:** 1328

---

## [SSO停止工作 🤔](https://meta.discourse.org/t/sso-stopped-working/183813)

<div class="topic-metadata">

**Author:** [@OlivierLambert](https://meta.discourse.org/u/OlivierLambert)\
**回覆:** 2\
**Last updated:** [2021年三月22日 18:29 UTC](https://meta.discourse.org/t/sso-stopped-working/183813 "2021-03-22T18:29:32Z")

</div>

各位！ 我正在处理我PHP后端中的SSO身份验证。我首先向我的SSO URL（https://forum.latranchee.com/session/sso）发送一个curl请求，以便获取SSO Payload和SIG，然后继续创建……

---

## [备份上传到 s3 失败，日志在哪里？](https://meta.discourse.org/t/backup-failing-to-upload-to-s3-where-are-logs/183815)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回覆:** 2\
**Last updated:** [2021年三月22日 18:22 UTC](https://meta.discourse.org/t/backup-failing-to-upload-to-s3-where-are-logs/183815 "2021-03-22T18:22:03Z")

</div>

我有一个网站正在将 20GB 的备份推送到 Wasabi S3。它能正常工作。大多数时候。 但有时上传到 S3 会失败，并保留本地的 .tar.gz 文件。然后最终磁盘会被填满，我就会面临磁盘已满的困境……

---

## [是否有办法将新用户首次发帖的通知发送给版主？](https://meta.discourse.org/t/is-there-an-way-to-have-notifications-for-an-new-users-1st-post-sent-to-an-moderator/183824)

<div class="topic-metadata">

**Author:** [@Joe\_Blasi](https://meta.discourse.org/u/Joe_Blasi)\
**回覆:** 1\
**Last updated:** [2021年三月20日 00:34 UTC](https://meta.discourse.org/t/is-there-an-way-to-have-notifications-for-an-new-users-1st-post-sent-to-an-moderator/183824 "2021-03-20T00:34:11Z")

</div>

是否有办法将新用户首次发帖的通知发送给版主？

---

## [在特定主题中创建 RSS 轮询帖子](https://meta.discourse.org/t/make-rss-polling-post-in-a-specific-topic/183830)

<div class="topic-metadata">

**Author:** [@CaptainZac](https://meta.discourse.org/u/CaptainZac)\
**回覆:** 4\
**Last updated:** [2021年五月31日 14:10 UTC](https://meta.discourse.org/t/make-rss-polling-post-in-a-specific-topic/183830 "2021-05-31T14:10:47Z")

</div>

我现在不知道这是否可能，但我使用了 RSS 轮询插件，并且有一个 RSS 源。但是，我希望该源发布到特定主题，而不是类别。是否可以将帖子发布到主题中，并且……

---

## [禁用关于没有 S3 CDN 的管理员通知？](https://meta.discourse.org/t/disable-admin-notification-about-not-having-a-cdn-for-s3/183837)

<div class="topic-metadata">

**Author:** [@seeminglee](https://meta.discourse.org/u/seeminglee)\
**回覆:** 0\
**Last updated:** [2021年三月20日 03:10 UTC](https://meta.discourse.org/t/disable-admin-notification-about-not-having-a-cdn-for-s3/183837 "2021-03-20T03:10:22Z")

</div>

是否可以禁用有关未设置 S3 对象 CDN 的管理员通知？我使用 Linode S3，它们在没有单独 CDN 的情况下不会产生额外费用。我会考虑使用 CDN，但……

---

## [LDAP 与 OpenID Connect SSO 和 Keycloak](https://meta.discourse.org/t/ldap-with-openid-connect-sso-with-keycloak/183838)

<div class="topic-metadata">

**Author:** [@SantoshKM](https://meta.discourse.org/u/SantoshKM)\
**回覆:** 2\
**Last updated:** [2021年三月20日 13:31 UTC](https://meta.discourse.org/t/ldap-with-openid-connect-sso-with-keycloak/183838 "2021-03-20T13:31:43Z")

</div>

尊敬的各位： 我对这方面还不太熟悉。 在我目前的设置中，我们不使用本地登录，并已安装LDAP插件以从Active Directory获取身份验证，目前有50个用户在使用。 现在由于合规原因……

---

## [开发环境备份不工作](https://meta.discourse.org/t/backup-not-working-on-development-environment/183849)

<div class="topic-metadata">

**Author:** [@jakelunniss](https://meta.discourse.org/u/jakelunniss)\
**回覆:** 5\
**Last updated:** [2021年三月21日 21:28 UTC](https://meta.discourse.org/t/backup-not-working-on-development-environment/183849 "2021-03-21T21:28:57Z")

</div>

您好， 我终于成功导入了 bbpress 的帖子！太棒了！ 不幸的是，我现在无法创建开发实例的备份文件导入到生产环境。 在导入之前，我创建了一个备份，然后……

---

## [哪个图片是Link Image](https://meta.discourse.org/t/which-image-is-link-image/183850)

<div class="topic-metadata">

**Author:** [@rahulMasal](https://meta.discourse.org/u/rahulMasal)\
**回覆:** 2\
**Last updated:** [2021年三月23日 10:08 UTC](https://meta.discourse.org/t/which-image-is-link-image/183850 "2021-03-23T10:08:00Z")

</div>

尊敬的团队， 当我与他人分享我的论坛链接时，图标显示不正确。 例如： 那么如何更改此链接图片呢？

---

## [图片灯箱从一开始就无法正常工作](https://meta.discourse.org/t/image-lightbox-not-working-from-start/183852)

<div class="topic-metadata">

**Author:** [@rahulMasal](https://meta.discourse.org/u/rahulMasal)\
**回覆:** 1\
**Last updated:** [2022年三月28日 22:55 UTC](https://meta.discourse.org/t/image-lightbox-not-working-from-start/183852 "2022-03-28T22:55:20Z")

</div>

我看到这个论坛上的一些图片有一个图片灯箱，你可以点击图片缩略图来查看原始图片。管理员设置中有启用此功能的选项吗？因为我们的论坛似乎不起作用……

---

## [如何在类别图标主题组件中添加自定义图标，因为我们现在无法将文件上传到 TC](https://meta.discourse.org/t/how-to-add-customs-icon-with-category-icons-theme-components-now-that-we-cant-upload-files-into-tc/183853)

<div class="topic-metadata">

**Author:** [@oca](https://meta.discourse.org/u/oca)\
**回覆:** 2\
**Last updated:** [2021年三月21日 10:29 UTC](https://meta.discourse.org/t/how-to-add-customs-icon-with-category-icons-theme-components-now-that-we-cant-upload-files-into-tc/183853 "2021-03-21T10:29:33Z")

</div>

我已更新了（令人惊叹的，这应该在核心中）主题组件，该组件为类别添加了图标，并且像往常一样，包含我所有自定义 SVG 的文件已被删除，但这次我无法重新上传。 现在，用户界面显示： F……

---

## [限制每年帖子数量](https://meta.discourse.org/t/limit-number-of-posts-per-year/183869)

<div class="topic-metadata">

**Author:** [@golfman](https://meta.discourse.org/u/golfman)\
**回覆:** 4\
**Last updated:** [2021年三月21日 14:13 UTC](https://meta.discourse.org/t/limit-number-of-posts-per-year/183869 "2021-03-21T14:13:02Z")

</div>

大家好，我想知道是否可以限制用户每月或每年可以发送的帖子/消息数量。我的意图是有一个高级用户选项，允许他们发布/发送消息……

---

## [忽略 admin 后端的 theme，还是给 \<html\> 添加 classname？](https://meta.discourse.org/t/ignore-theme-for-admin-backend-or-add-classname-to-html/183877)

<div class="topic-metadata">

**Author:** [@joel](https://meta.discourse.org/u/joel)\
**回覆:** 1\
**Last updated:** [2021年三月20日 16:28 UTC](https://meta.discourse.org/t/ignore-theme-for-admin-backend-or-add-classname-to-html/183877 "2021-03-20T16:28:59Z")

</div>

继续讨论“管理员后端不同主题？”：目前不为管理员 UI 设置主题的推荐解决方法是： Discourse 支持 SCSS，这意味着您只需要添加 body:not(.admin-inte……

---

## [志愿者活动 - 非层级协作的简单设置](https://meta.discourse.org/t/volunteer-activities-a-simple-setup-for-non-hierarchical-collaboration/183885)

<div class="topic-metadata">

**Author:** [@manuel](https://meta.discourse.org/u/manuel)\
**回覆:** 0\
**Last updated:** [2021年三月20日 17:37 UTC](https://meta.discourse.org/t/volunteer-activities-a-simple-setup-for-non-hierarchical-collaboration/183885 "2021-03-20T17:37:34Z")

</div>

这是为部署 Discourse 作为志愿者项目协作中心而设计的草图，这些项目应以非层级和“do-ocratic”（按需管理）的方式运作。主要目标是提供对以下内容的良好概述……

---

## [Discourse\_docker：启动器引导失败（包含解决方法）](https://meta.discourse.org/t/discourse-docker-launcher-boostrap-fails-workaround-included/183897)

<div class="topic-metadata">

**Author:** [@m.abi](https://meta.discourse.org/u/m.abi)\
**回覆:** 8\
**Last updated:** [2021年三月23日 08:00 UTC](https://meta.discourse.org/t/discourse-docker-launcher-boostrap-fails-workaround-included/183897 "2021-03-23T08:00:35Z")

</div>

引导一个新的容器镜像失败。几天前它还能正常工作，“什么都没改”，今天就失败了。日志： \[0:02:27\] 仍在处理： \[0:02:27\] v8 \_\_\_\_\_\_\_\_ 正在运行 'vpython third\_party/depot\_tools/update\_depot\_tool……

---

## [“详细信息已启用”选项是什么？](https://meta.discourse.org/t/what-is-the-details-enabled-option/183923)

<div class="topic-metadata">

**Author:** [@Vin](https://meta.discourse.org/u/Vin)\
**回覆:** 5\
**Last updated:** [2021年三月30日 20:52 UTC](https://meta.discourse.org/t/what-is-the-details-enabled-option/183923 "2021-03-30T20:52:40Z")

</div>

你好！ 管理员设置中有一个选项，但我不知道它是什么。 它有什么作用？我到处都找过了，但什么也没找到。

---

## [将 SSO 用户“推送”到 Discourse？](https://meta.discourse.org/t/push-sso-users-to-discourse/183949)

<div class="topic-metadata">

**Author:** [@mrkurt](https://meta.discourse.org/u/mrkurt)\
**回覆:** 4\
**Last updated:** [2021年三月23日 18:06 UTC](https://meta.discourse.org/t/push-sso-users-to-discourse/183949 "2021-03-23T18:06:33Z")

</div>

我们希望从后端服务以编程方式为用户创建新主题。是否可以在不经过登录流程的情况下将 SSO 用户推送到 Discourse？

---

## [以编程方式管理用户](https://meta.discourse.org/t/manage-users-programmatically/183958)

<div class="topic-metadata">

**Author:** [@Samir\_Faci](https://meta.discourse.org/u/Samir_Faci)\
**回覆:** 1\
**Last updated:** [2021年三月22日 01:00 UTC](https://meta.discourse.org/t/manage-users-programmatically/183958 "2021-03-22T01:00:47Z")

</div>

我正在寻找一种以编程方式创建/删除用户以及特别是撤销用户管理员权限的方法。 我希望有一个 Ansible 模块，但即使没有，是否可以使用 Discourse API 来实现，例如……

---

## [审核中的帖子的图片未显示](https://meta.discourse.org/t/images-of-posts-under-review-not-displaying/183959)

<div class="topic-metadata">

**Author:** [@ralphlasry](https://meta.discourse.org/u/ralphlasry)\
**回覆:** 5\
**Last updated:** [2022年二月10日 22:02 UTC](https://meta.discourse.org/t/images-of-posts-under-review-not-displaying/183959 "2022-02-10T22:02:15Z")

</div>

我正在 Digital Ocean 服务器上运行 discourse 2.7.0.beta5 (2GB)。 所有主题和回复都需要在论坛上发布前进行审批/审核。 所有图片都上传到 AWS S3。 当我在审核页面时，很多...

---

## [在哪里设置安装后钩子](https://meta.discourse.org/t/where-to-set-post-install-hook/183965)

<div class="topic-metadata">

**Author:** [@Daniel\_Hosler](https://meta.discourse.org/u/Daniel_Hosler)\
**回覆:** 0\
**Last updated:** [2021年三月21日 20:27 UTC](https://meta.discourse.org/t/where-to-set-post-install-hook/183965 "2021-03-21T20:27:17Z")

</div>

您好， 我正在 LXC 容器中运行 discourse，这要求我运行 chmod -R go+w /var/www/discourse/tmp/cache 才能使 rails 正确启动。有什么地方可以放置此命令，以便在……之后执行

---

## [批量存档群组PM不起作用](https://meta.discourse.org/t/bulk-archive-of-group-pms-doesnt-work/183972)

<div class="topic-metadata">

**Author:** [@Dannii](https://meta.discourse.org/u/Dannii)\
**回覆:** 5\
**Last updated:** [2021年三月23日 16:05 UTC](https://meta.discourse.org/t/bulk-archive-of-group-pms-doesnt-work/183972 "2021-03-23T16:05:28Z")

</div>

自最近对 PMs UI 进行更新以实现更多批量操作以来，批量归档不起作用。我收到一条通知，称“查看 2 个新主题或已更新主题”，但当我点击它时，所有消息仍然存在。 没有错误……

---

## [有什么好方法能让表格更好看吗？](https://meta.discourse.org/t/is-there-a-good-way-to-make-the-table-more-beautiful/183980)

<div class="topic-metadata">

**Author:** [@xiasummer](https://meta.discourse.org/u/xiasummer)\
**回覆:** 1\
**Last updated:** [2021年三月22日 02:48 UTC](https://meta.discourse.org/t/is-there-a-good-way-to-make-the-table-more-beautiful/183980 "2021-03-22T02:48:42Z")

</div>

大家好， 我同时使用了 discourse 和 showdoc。 我认为 showdoc 的表格非常漂亮，但 discourse 的表格不那么“清晰”。 showdoc 表格有一个蓝色的表头，如下所示 但在 Discourse 中，我……

---

## [利用 \`bumped\_at\` 实现类似 Reddit 的排序](https://meta.discourse.org/t/ab-using-bumped-at-to-achieve-reddit-like-sorting/184003)

<div class="topic-metadata">

**Author:** [@hyd504](https://meta.discourse.org/u/hyd504)\
**回覆:** 6\
**Last updated:** [2021年三月23日 21:16 UTC](https://meta.discourse.org/t/ab-using-bumped-at-to-achieve-reddit-like-sorting/184003 "2021-03-23T21:16:15Z")

</div>

我正在 Discourse 上运行一个新闻/政治讨论论坛。我遇到的问题是，Discourse 自带的默认排序方式对我的用例来说完全是一团糟，因为话题的发布时间非常重要。对于……

---

## [移动设备上的 ERR\_CONTENT\_LENGTH\_MISMATCH](https://meta.discourse.org/t/err-content-length-mismatch-on-mobile/184024)

<div class="topic-metadata">

**Author:** [@Jaroslaw](https://meta.discourse.org/u/Jaroslaw)\
**回覆:** 0\
**Last updated:** [2021年三月22日 12:11 UTC](https://meta.discourse.org/t/err-content-length-mismatch-on-mobile/184024 "2021-03-22T12:11:39Z")

</div>

有人在尝试从移动设备（模拟器）连接到 discourse 时遇到 ERR\_CONTENT\_LENGTH\_MISMATCH 吗？ 我在 Windows 10 机器上安装了带 Ubuntu 的 WSL2 和 discourse 论坛。当我尝试访问时，一切正常……

---

## [尝试保存类别顺序时出现 502 错误](https://meta.discourse.org/t/502-error-when-trying-to-save-the-categories-order/184031)

<div class="topic-metadata">

**Author:** [@Ed\_Bobkov](https://meta.discourse.org/u/Ed_Bobkov)\
**回覆:** 7\
**Last updated:** [2021年三月25日 16:26 UTC](https://meta.discourse.org/t/502-error-when-trying-to-save-the-categories-order/184031 "2021-03-25T16:26:09Z")

</div>

您好！我有很多类别（大约 2000 个）。现在我需要更改 1 个类别的顺序。“Reorder Categories”标准功能在 1 分钟后会因 502 错误而失败。如何解决这个问题？谢谢！

---

## [绝对主题计数而非相对主题计数](https://meta.discourse.org/t/absolute-topic-count-instead-of-relative-topic-count/184036)

<div class="topic-metadata">

**Author:** [@TvanSon](https://meta.discourse.org/u/TvanSon)\
**回覆:** 1\
**Last updated:** [2021年三月23日 09:23 UTC](https://meta.discourse.org/t/absolute-topic-count-instead-of-relative-topic-count/184036 "2021-03-23T09:23:05Z")

</div>

您好， 我们对论坛类别页面进行了一些编辑。合并了一些类别，并删除了一些。 现在，以前我们所有的类别都显示了该类别内帖子的总绝对数量。编辑后……

---

## [为什么一些用户在给版主的系统消息中被标记](https://meta.discourse.org/t/why-were-some-users-tagged-in-system-message-to-moderators/184040)

<div class="topic-metadata">

**Author:** [@bentley-atlassian](https://meta.discourse.org/u/bentley-atlassian)\
**回覆:** 1\
**Last updated:** [2021年三月23日 01:02 UTC](https://meta.discourse.org/t/why-were-some-users-tagged-in-system-message-to-moderators/184040 "2021-03-23T01:02:37Z")

</div>

:wave: 我们收到一条来自系统的消息，发往版主收件箱，内容是关于需要审核的项目。消息主题是“1 个项目需要审核”，内容包括： 项目已提交超过 48 小时……

---

## [如何阻止某个信任等级的用户上传任何媒体，包括头像？](https://meta.discourse.org/t/how-to-keep-a-trust-level-from-uploading-any-media-including-profile-pictures/184049)

<div class="topic-metadata">

**Author:** [@Jennifer\_Abrams](https://meta.discourse.org/u/Jennifer_Abrams)\
**回覆:** 4\
**Last updated:** [2021年三月29日 21:04 UTC](https://meta.discourse.org/t/how-to-keep-a-trust-level-from-uploading-any-media-including-profile-pictures/184049 "2021-03-29T21:04:05Z")

</div>

有一种方法可以防止信任级别上传图片/媒体，但这似乎不适用于个人资料图片。 如何使其适用于所有上传形式，包括个人资料图片？

---

## [更改 @System 个人资料图片](https://meta.discourse.org/t/change-system-profile-picture/184050)

<div class="topic-metadata">

**Author:** [@CaptainZac](https://meta.discourse.org/u/CaptainZac)\
**回覆:** 3\
**Last updated:** [2021年三月22日 15:18 UTC](https://meta.discourse.org/t/change-system-profile-picture/184050 "2021-03-22T15:18:06Z")

</div>

我如何更改论坛上“@system”的个人资料图片？我刚升级到 beta 5，它不允许我更改照片。由于照片缩放得太厉害，看起来不太对。谢谢！

---

## [创建自定义 API](https://meta.discourse.org/t/create-custom-apis/184054)

<div class="topic-metadata">

**Author:** [@Ravi\_Teja\_Varma](https://meta.discourse.org/u/Ravi_Teja_Varma)\
**回覆:** 7\
**Last updated:** [2021年四月1日 12:00 UTC](https://meta.discourse.org/t/create-custom-apis/184054 "2021-04-01T12:00:47Z")

</div>

在 Discourse 论坛上创建自定义 API 的最佳方法是什么？ 例如：我想创建一个 GET 请求，该请求返回 users.count、topics.count、categories.count。 如何将此 API 添加到论坛中？

---

## [创建新主题的复杂URL导致服务器端错误](https://meta.discourse.org/t/complex-url-for-creating-new-topics-results-in-server-side-error/184067)

<div class="topic-metadata">

**Author:** [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**回覆:** 5\
**Last updated:** [2021年三月24日 11:29 UTC](https://meta.discourse.org/t/complex-url-for-creating-new-topics-results-in-server-side-error/184067 "2021-03-24T11:29:25Z")

</div>

以前我们可以这样做： https://forum.com/new-topic?category=cat-name&tags=tag1,tag2 但是，当您有多个标签时，它不再起作用，所以我猜这个错误是在最近的版本中引入的……

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

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