# Latest

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

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

**Page:** 1031

---

## [discourse\_publish\_format\_html 的错误颜色](https://meta.discourse.org/t/error-color-for-discourse-publish-format-html/187203)

<div class="topic-metadata">

**Author:** [@RichardC](https://meta.discourse.org/u/RichardC)\
**回复:** 8\
**最近更新：:** [2021 年4 月 27 日 03:31 UTC](https://meta.discourse.org/t/error-color-for-discourse-publish-format-html/187203 "2021-04-27T03:31:30Z")

</div>

我最近运行了一系列测试，这些测试涉及在我更改 discourse\_publish 代码片段时点击“更新主题”按钮。 每次，我都会看到绿色的消息：“Discourse 主题已更新！” 之后……

---

## [在2FA强制网站上添加2FA后需要一个行动号召](https://meta.discourse.org/t/need-a-call-to-action-after-adding-2fa-on-a-2fa-required-site/188168)

<div class="topic-metadata">

**Author:** [@supermathie](https://meta.discourse.org/u/supermathie)\
**回复:** 3\
**最近更新：:** [2021 年4 月 27 日 01:53 UTC](https://meta.discourse.org/t/need-a-call-to-action-after-adding-2fa-on-a-2fa-required-site/188168 "2021-04-27T01:53:30Z")

</div>

我刚在一个需要为帐户启用双重身份验证的网站上注册。创建帐户后，我立即被强制进入此屏幕： 很明显，我需要添加至少一个身份验证器才能继续，但是添加……

---

## [类别无障碍性](https://meta.discourse.org/t/a11y-for-categories/187696)

<div class="topic-metadata">

**Author:** [@ivikash](https://meta.discourse.org/u/ivikash)\
**回复:** 3\
**最近更新：:** [2021 年4 月 27 日 01:51 UTC](https://meta.discourse.org/t/a11y-for-categories/187696 "2021-04-27T01:51:01Z")

</div>

您好团队， 您们好吗？ 我想了解如何为类别图片设置替代文本和 aria-labels？ 此致 ~Vikash

---

## [自动升级从 2.6.0.beta5 到 2.7.0.beta3 失败](https://meta.discourse.org/t/automatic-upgrade-from-2-6-0-beta5-to-2-7-0-beta3-failed/177790)

<div class="topic-metadata">

**Author:** [@dictoon](https://meta.discourse.org/u/dictoon)\
**回复:** 8\
**最近更新：:** [2021 年4 月 26 日 19:56 UTC](https://meta.discourse.org/t/automatic-upgrade-from-2-6-0-beta5-to-2-7-0-beta3-failed/177790 "2021-04-26T19:56:03Z")

</div>

您好， 从 2.6.0.beta5 到 2.7.0.beta3 的一键浏览器升级失败，并出现以下错误： 89591216.5834941 正在压缩：browser-update-92cd9b3599f62ca785b6cbf3d8d3afb080d6cd463034e2fccefd5455b0f5fff6.js uglify…

---

## [\`tests/test\_helper\` 出现问题？](https://meta.discourse.org/t/trouble-with-tests-test-helper/188185)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回复:** 0\
**最近更新：:** [2021 年4 月 26 日 18:43 UTC](https://meta.discourse.org/t/trouble-with-tests-test-helper/188185 "2021-04-26T18:43:56Z")

</div>

我不明白这一点，但它看起来像一个错误。我正试图在网站上引导。没有非标准插件。我只是将资产从一个存储桶移到了另一个存储桶，而且一切正常。我正在进行另一次重建……

---

## [Catfish 广告横幅框用于页脚的 AdSense](https://meta.discourse.org/t/catfish-banner-box-for-adsense-on-footer/188187)

<div class="topic-metadata">

**Author:** [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)\
**回复:** 0\
**最近更新：:** [2021 年4 月 26 日 18:56 UTC](https://meta.discourse.org/t/catfish-banner-box-for-adsense-on-footer/188187 "2021-04-26T18:56:27Z")

</div>

您好， 我怎样才能在页脚放置一个粘性的鲶鱼广告横幅框，并带有一个关闭按钮？ 我尝试了一些代码但都没有成功。 感谢任何建议。 下面链接中有一个示例。 还有

---

## [DISCOURSE\_HOSTNAME 环境变量的目的是什么？](https://meta.discourse.org/t/whats-the-purpose-of-discourse-hostname-env/188140)

<div class="topic-metadata">

**Author:** [@Marcin\_J](https://meta.discourse.org/u/Marcin_J)\
**回复:** 6\
**最近更新：:** [2021 年4 月 26 日 18:16 UTC](https://meta.discourse.org/t/whats-the-purpose-of-discourse-hostname-env/188140 "2021-04-26T18:16:05Z")

</div>

您好， 我一直在尝试安装 Discourse。我注意到默认情况下 Docker 容器是用 DISCOURSE\_HOSTNAME 环境变量启动的。我尝试在没有此环境变量的情况下启动容器……

---

## [更新到 2.7.0.beta7 时出错](https://meta.discourse.org/t/error-updating-to-2-7-0-beta7/188169)

<div class="topic-metadata">

**Author:** [@tisawyer](https://meta.discourse.org/u/tisawyer)\
**回复:** 2\
**最近更新：:** [2021 年4 月 26 日 17:53 UTC](https://meta.discourse.org/t/error-updating-to-2-7-0-beta7/188169 "2021-04-26T17:53:09Z")

</div>

2.7.0.beta7 GUI 更新失败，并显示有关重启进程的消息。抱歉，我没有实际文本。该网站现在显示需要升级，但没有可更新的内容。我应该重建 .launcher rebuild app 吗……

---

## [Private Message Send API](https://meta.discourse.org/t/private-message-send-api/27593)

<div class="topic-metadata">

**Author:** [@Stackfish](https://meta.discourse.org/u/Stackfish)\
**回复:** 21\
**最近更新：:** [2021 年4 月 26 日 16:44 UTC](https://meta.discourse.org/t/private-message-send-api/27593 "2021-04-26T16:44:08Z")

</div>

Is it possible to send a private message through the API?

---

## [Discourse not shown in iframe](https://meta.discourse.org/t/discourse-not-shown-in-iframe/26970)

<div class="topic-metadata">

**Author:** [@dreadkopp](https://meta.discourse.org/u/dreadkopp)\
**回复:** 30\
**最近更新：:** [2021 年4 月 26 日 13:54 UTC](https://meta.discourse.org/t/discourse-not-shown-in-iframe/26970 "2021-04-26T13:54:05Z")

</div>

Aloha Communtiy, i am trying to put discourse in an iframe since i don’t have free wildcards at my dyndny hoster. I run my main apache server at port 80 and the docker containing discourse redirects to port 82. the pag…

---

## [Rake uploads:migrate\_from\_s3 失败](https://meta.discourse.org/t/rake-uploads-migrate-from-s3-fails/154171)

<div class="topic-metadata">

**Author:** [@pnoeric](https://meta.discourse.org/u/pnoeric)\
**回复:** 31\
**最近更新：:** [2021 年4 月 24 日 09:51 UTC](https://meta.discourse.org/t/rake-uploads-migrate-from-s3-fails/154171 "2021-04-24T09:51:04Z")

</div>

我按照这里的步骤操作，备份了整个网站，克隆了我的 AWS S3 存储桶，在 Discourse 设置中将存储桶名称从原始存储桶更改为备份存储桶，并在设置中关闭了“上传到 S3”复选框。 所以……

---

## [欢迎图片在下拉框的顶部](https://meta.discourse.org/t/welcome-image-is-on-the-top-of-the-drop-down-box/187770)

<div class="topic-metadata">

**Author:** [@Paul\_King1](https://meta.discourse.org/u/Paul_King1)\
**回复:** 6\
**最近更新：:** [2021 年4 月 26 日 13:43 UTC](https://meta.discourse.org/t/welcome-image-is-on-the-top-of-the-drop-down-box/187770 "2021-04-26T13:43:44Z")

</div>

欢迎图片在下拉框的顶部。 我使用 Google Chrome 时发现了这个问题。

---

## [移动端向下滚动时，帖子编辑器变为全屏](https://meta.discourse.org/t/post-composer-becomes-full-screen-when-scrolling-down-on-mobile/187908)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**回复:** 12\
**最近更新：:** [2021 年4 月 26 日 13:23 UTC](https://meta.discourse.org/t/post-composer-becomes-full-screen-when-scrolling-down-on-mobile/187908 "2021-04-26T13:23:54Z")

</div>

在过去几天里，移动端（至少是最新的 iOS）在撰写帖子时出现了一个 bug，帖子撰写器会意外地全屏显示。 重现步骤： 打开一个主题并开始回复。 输入……

---

## [插入日期/时间更改](https://meta.discourse.org/t/insert-date-time-change/188009)

<div class="topic-metadata">

**Author:** [@Slowhand](https://meta.discourse.org/u/Slowhand)\
**回复:** 3\
**最近更新：:** [2021 年4 月 26 日 13:15 UTC](https://meta.discourse.org/t/insert-date-time-change/188009 "2021-04-26T13:15:00Z")

</div>

Starting yesterday, I believe, the “Insert date/time” has changed. I can no longer click on the “time” and insert the preferred time, now I get a drop-down menu and have to scroll to the correct numbers. This is very…

---

## [将非 Patreon 赞助者添加到赞助者组](https://meta.discourse.org/t/adding-non-patreon-patrons-to-patron-group/96406)

<div class="topic-metadata">

**Author:** [@VerticalVeg](https://meta.discourse.org/u/VerticalVeg)\
**回复:** 3\
**最近更新：:** [2018 年9 月 5 日 12:52 UTC](https://meta.discourse.org/t/adding-non-patreon-patrons-to-patron-group/96406 "2018-09-05T12:52:54Z")

</div>

我最近设置了 Patreon 和 Discourse——尽管我的技术知识非常有限，但用于链接它们的插件似乎运行得很好……谢谢。 同时，也有一些人希望支持我的工作…

---

## [管理面板无法工作](https://meta.discourse.org/t/admin-panel-does-not-work/187910)

<div class="topic-metadata">

**Author:** [@Алексей\_Крукович](https://meta.discourse.org/u/%D0%90%D0%BB%D0%B5%D0%BA%D1%81%D0%B5%D0%B9_%D0%9A%D1%80%D1%83%D0%BA%D0%BE%D0%B2%D0%B8%D1%87)\
**回复:** 3\
**最近更新：:** [2021 年4 月 26 日 11:28 UTC](https://meta.discourse.org/t/admin-panel-does-not-work/187910 "2021-04-26T11:28:28Z")

</div>

您好，我马上道歉，因为我是新手，我将论坛更新到了 2.7.0.beta7，替换了提交的哈希值，然后完成了，现在只有在我未登录时论坛才能正常工作，当我登录时我……

---

## [Popsicle，一个很酷的 Discourse 主题 🍡](https://meta.discourse.org/t/popsicle-a-cool-theme-for-discourse/188074)

<div class="topic-metadata">

**Author:** [@meghna](https://meta.discourse.org/u/meghna)\
**回复:** 0\
**最近更新：:** [2021 年4 月 25 日 17:58 UTC](https://meta.discourse.org/t/popsicle-a-cool-theme-for-discourse/188074 "2021-04-25T17:58:14Z")

</div>

冰棒季来了！:sun\_with\_face: 这个主题展示了酷炫的冰棒色彩和冰淇淋店的氛围。谁不爱冰棒呢？:slightly\_smiling\_face: :ice\_cream: :dango: 主页： 主题页面： 完整……

---

## [根据用户组和/或用户名修改用户卡片](https://meta.discourse.org/t/modified-user-card-base-on-group-and-or-by-username/188077)

<div class="topic-metadata">

**Author:** [@Cam\_Logical](https://meta.discourse.org/u/Cam_Logical)\
**回复:** 0\
**最近更新：:** [2021 年4 月 25 日 19:07 UTC](https://meta.discourse.org/t/modified-user-card-base-on-group-and-or-by-username/188077 "2021-04-25T19:07:29Z")

</div>

我在 CSS 中修改了一些用户卡片，但它影响了所有相关的选择器。那么如何根据组和/或用户名修改用户卡片呢？ 这是我修改的 CSS： .name-username-wrapper { color: #f20079; …

---

## [主题中可以使用条形图和折线图小部件吗？](https://meta.discourse.org/t/bar-line-chart-widgets-in-a-topic/96300)

<div class="topic-metadata">

**Author:** [@keith1](https://meta.discourse.org/u/keith1)\
**回复:** 2\
**最近更新：:** [2021 年4 月 26 日 01:31 UTC](https://meta.discourse.org/t/bar-line-chart-widgets-in-a-topic/96300 "2021-04-26T01:31:58Z")

</div>

我很好奇是否有任何方法可以在主题中直接支持条形图（或任何其他标准图表）？或者是否有任何我不知晓的在线资源可以创建这些图表并将其优雅地嵌入……

---

## [从主类别中隐藏子类别主题](https://meta.discourse.org/t/suppress-sub-category-topics-from-displaying-in-main-category/95789)

<div class="topic-metadata">

**Author:** [@jerdog](https://meta.discourse.org/u/jerdog)\
**回复:** 3\
**最近更新：:** [2021 年4 月 26 日 01:30 UTC](https://meta.discourse.org/t/suppress-sub-category-topics-from-displaying-in-main-category/95789 "2021-04-26T01:30:01Z")

</div>

因此，我们创建了一个包含子类别的类别，所有这些子类别的主题都同时显示在主类别及其子类别中。如何避免这种情况？我是否遗漏了某个设置？

---

## [Discourse 在高负载平均值下不可用](https://meta.discourse.org/t/discourse-unavailable-with-high-load-average/96246)

<div class="topic-metadata">

**Author:** [@JohnDoux](https://meta.discourse.org/u/JohnDoux)\
**回复:** 19\
**最近更新：:** [2018 年9 月 5 日 05:59 UTC](https://meta.discourse.org/t/discourse-unavailable-with-high-load-average/96246 "2018-09-05T05:59:58Z")

</div>

大家好， 过去两年我一直在 Digital Ocean 上运行 Discourse 实例，一切正常。但近两周以来，它变得非常缓慢，大多数时候甚至无法访问。 我已升级 …

---

## [由于CDN导致图片无法显示？](https://meta.discourse.org/t/images-not-displaying-due-to-cdn/96348)

<div class="topic-metadata">

**Author:** [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**回复:** 3\
**最近更新：:** [2021 年4 月 25 日 17:29 UTC](https://meta.discourse.org/t/images-not-displaying-due-to-cdn/96348 "2021-04-25T17:29:30Z")

</div>

我今天遇到了一个奇怪的问题，所有图片都无法显示： 在灯箱中也是如此： 几周以来一切运行正常，但今天早上突然停止了。已有几位用户报告了同样的问题…

---

## [Fakebook，选定标签的背景颜色](https://meta.discourse.org/t/fakebook-selected-tab-background-color/188068)

<div class="topic-metadata">

**Author:** [@daniyal](https://meta.discourse.org/u/daniyal)\
**回复:** 0\
**最近更新：:** [2021 年4 月 25 日 17:08 UTC](https://meta.discourse.org/t/fakebook-selected-tab-background-color/188068 "2021-04-25T17:08:47Z")

</div>

当使用 Fakebook 主题时，邀请面板中选定标签页的文本无法阅读。还有其他人遇到此问题吗？ 我已提交一个关于此问题的拉取请求 https://github.com/discourse/Fakebook/pull/2

---

## [如何在容器中安全地还原我的更改](https://meta.discourse.org/t/how-to-safely-revert-my-changes-in-the-container/188043)

<div class="topic-metadata">

**Author:** [@hosna](https://meta.discourse.org/u/hosna)\
**回复:** 3\
**最近更新：:** [2021 年4 月 25 日 14:38 UTC](https://meta.discourse.org/t/how-to-safely-revert-my-changes-in-the-container/188043 "2021-04-25T14:38:37Z")

</div>

要修复一个问题，我不得不在 discourse 容器内的代码中进行一些手动更改。现在我该如何安全地撤销所有更改？

---

## [设置类别固定排序顺序](https://meta.discourse.org/t/setting-category-fixed-sort-order/188028)

<div class="topic-metadata">

**Author:** [@Danc](https://meta.discourse.org/u/Danc)\
**回复:** 2\
**最近更新：:** [2021 年4 月 25 日 14:25 UTC](https://meta.discourse.org/t/setting-category-fixed-sort-order/188028 "2021-04-25T14:25:23Z")

</div>

您好。我正在尝试弄清楚如何设置 Discourse 分类固定排序顺序。已有关于如何执行此操作的文章，但我无法重现。分类固定排序顺序已被弃用吗？有人可以……

---

## [SMTP 密码在入职流程中设置](https://meta.discourse.org/t/smtp-password-set-during-onboarding-process/186639)

<div class="topic-metadata">

**Author:** [@amanintech](https://meta.discourse.org/u/amanintech)\
**回复:** 3\
**最近更新：:** [2021 年4 月 25 日 12:08 UTC](https://meta.discourse.org/t/smtp-password-set-during-onboarding-process/186639 "2021-04-25T12:08:39Z")

</div>

在入职步骤中，我们需要添加一个 SMTP 密码，我们直接粘贴密码即可。但事实证明，由于密码是以“password”的形式写入的，这会导致身份验证失败，而 SMTP...

---

## [如何在帖子中插入 Amazon iframe](https://meta.discourse.org/t/how-to-insert-amazon-iframe-on-posts/187922)

<div class="topic-metadata">

**Author:** [@mstm](https://meta.discourse.org/u/mstm)\
**回复:** 10\
**最近更新：:** [2021 年4 月 25 日 10:28 UTC](https://meta.discourse.org/t/how-to-insert-amazon-iframe-on-posts/187922 "2021-04-25T10:28:38Z")

</div>

您好，考虑到 onebox 在 .com 以外的亚马逊站点（自 2019 年起的信息）似乎无法正常工作，我想尝试使用 iframe。 要插入的代码是：

---

## [恢复失败的参数应作为单独的字符串提供](https://meta.discourse.org/t/restore-failed-arguments-should-be-provided-as-separate-strings/187050)

<div class="topic-metadata">

**Author:** [@iidbae](https://meta.discourse.org/u/iidbae)\
**回复:** 4\
**最近更新：:** [2021 年4 月 24 日 23:53 UTC](https://meta.discourse.org/t/restore-failed-arguments-should-be-provided-as-separate-strings/187050 "2021-04-24T23:53:45Z")

</div>

我尝试将我的 discourse 从 digitalocean 迁移到 ovh。我遵循了所有官方指南。 唯一不同的是，我使用 rsync 方法迁移了我的备份，因为我手动上传备份时总是失败……

---

## [全站着色组名称？](https://meta.discourse.org/t/coloring-group-names-site-wide/187423)

<div class="topic-metadata">

**Author:** [@ykcorner](https://meta.discourse.org/u/ykcorner)\
**回复:** 1\
**最近更新：:** [2021 年4 月 24 日 21:26 UTC](https://meta.discourse.org/t/coloring-group-names-site-wide/187423 "2021-04-24T21:26:15Z")

</div>

大家好。我有一个快速的问题。我可以使用什么 CSS 来为整个网站上的用户组（例如管理员、员工、VIP 等）着色？整个网站意味着在个人资料、帖子等中。 谢谢大家

---

## [是否有更好的方法从主题组件发出 ajax 请求？](https://meta.discourse.org/t/is-there-a-better-way-to-make-an-ajax-request-from-a-theme-component/186111)

<div class="topic-metadata">

**Author:** [@wilson29thid](https://meta.discourse.org/u/wilson29thid)\
**回复:** 2\
**最近更新：:** [2021 年4 月 24 日 12:48 UTC](https://meta.discourse.org/t/is-there-a-better-way-to-make-an-ajax-request-from-a-theme-component/186111 "2021-04-24T12:48:50Z")

</div>

我构建了一个主题组件，可在查看用户个人资料时进行渲染。它会向另一个网站（我控制的）发出 ajax 请求，以检查 discourse 用户是否在该处拥有帐户（发送 discourse…

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

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