# Latest

**URL:** https://meta.discourse.org/latest.md?page=696&period=day

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

**Page:** 697

---

## [当 accept 请求头中的 text/html 不是第一个时出现 HTTP 404](https://meta.discourse.org/t/http-404-when-text-html-is-not-first-in-accept-request-header/255164)

<div class="topic-metadata">

**Author:** [@tgm](https://meta.discourse.org/u/tgm)\
**回复:** 4\
**最近更新：:** [2023 年3 月 31 日 00:19 UTC](https://meta.discourse.org/t/http-404-when-text-html-is-not-first-in-accept-request-header/255164 "2023-03-31T00:19:14Z")

</div>

发送到 Discourse 服务器的 accept 请求头中的 MIME 类型顺序似乎很重要： curl -i -H 'Accept: text/plain, text/html' https://meta.discourse.org HTTP/2 404 ... curl -i -H 'Accept: text/h…

---

## [我的 phpBB 迁移之旅 (postgresql)](https://meta.discourse.org/t/my-phpbb-migration-journey-postgresql/259374)

<div class="topic-metadata">

**Author:** [@shyguy](https://meta.discourse.org/u/shyguy)\
**回复:** 23\
**最近更新：:** [2023 年3 月 30 日 22:28 UTC](https://meta.discourse.org/t/my-phpbb-migration-journey-postgresql/259374 "2023-03-30T22:28:46Z")

</div>

我正在分享我从 phpBB3 迁移到 discourse 的过程中的发现。 解决方案包括： postgres 源数据库 表情符号 对导入器的调整（修复引用错误，改进 bbcode 支持（包括 youtube），…）

---

## [头像暂时导致用户卡片出错 (Replit Ask)](https://meta.discourse.org/t/profile-picture-temporarly-broke-usercard-replit-ask/260025)

<div class="topic-metadata">

**Author:** [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)\
**回复:** 2\
**最近更新：:** [2023 年3 月 30 日 21:19 UTC](https://meta.discourse.org/t/profile-picture-temporarly-broke-usercard-replit-ask/260025 "2023-03-30T21:19:14Z")

</div>

你好。所以今天，我在 Replit Ask 上的用户卡随机坏了。这也归因于我的用户个人资料已更改。

---

## [在引文前后强制换行](https://meta.discourse.org/t/force-a-linebreak-before-and-after-a-quote/270376)

<div class="topic-metadata">

**Author:** [@kiefferr](https://meta.discourse.org/u/kiefferr)\
**回复:** 5\
**最近更新：:** [2023 年3 月 30 日 21:12 UTC](https://meta.discourse.org/t/force-a-linebreak-before-and-after-a-quote/270376 "2023-03-30T21:12:06Z")

</div>

在过去几年里，有没有人找到一种简单的解决方案来在引文前后强制换行？

---

## [为亮色和暗色设置不同的背景图](https://meta.discourse.org/t/setting-a-different-background-image-for-light-and-dark/273660)

<div class="topic-metadata">

**Author:** [@profcaju](https://meta.discourse.org/u/profcaju)\
**回复:** 3\
**最近更新：:** [2023 年8 月 2 日 14:34 UTC](https://meta.discourse.org/t/setting-a-different-background-image-for-light-and-dark/273660 "2023-08-02T14:34:48Z")

</div>

是否有 CSS 可以让用户在选择深色模式时设置不同的背景图片？

---

## [Discourse因证书过期而失败，重建应用程序后Discourse无法工作](https://meta.discourse.org/t/discourse-failing-due-to-expired-certificates-rebuilt-app-now-discourse-not-working/258614)

<div class="topic-metadata">

**Author:** [@Danran](https://meta.discourse.org/u/Danran)\
**回复:** 16\
**最近更新：:** [2023 年3 月 30 日 16:53 UTC](https://meta.discourse.org/t/discourse-failing-due-to-expired-certificates-rebuilt-app-now-discourse-not-working/258614 "2023-03-30T16:53:52Z")

</div>

我在 Ubuntu Server 22.04 上运行 Discourse。我的 Discourse 证书因未知原因神奇地过期了。我使用默认的 Docker 安装方法安装了 Discourse，并使用了所有默认设置。之后……

---

## [Ad-Manager DFD 和 Google AdSense 自动广告](https://meta.discourse.org/t/ad-manager-dfd-and-google-adsense-auto-ads/259993)

<div class="topic-metadata">

**Author:** [@Jose\_C\_Gomez](https://meta.discourse.org/u/Jose_C_Gomez)\
**回复:** 0\
**最近更新：:** [2023 年3 月 30 日 15:41 UTC](https://meta.discourse.org/t/ad-manager-dfd-and-google-adsense-auto-ads/259993 "2023-03-30T15:41:13Z")

</div>

所以我正在使用 Google Ad Manager 在网站上销售单独的广告，进展缓慢，基本上只售出了 1 到 2 个特定广告。 我还在 Ad Manager 中用 AdSense 填补未售出的广告位，所有这些都在工作……

---

## [注册错误：PG::UniqueViolation (错误：重复键值违反唯一约束](https://meta.discourse.org/t/signup-error-pg-uniqueviolation-error-duplicate-key-value-violates-unique-constraint/172572)

<div class="topic-metadata">

**Author:** [@Ed\_Bobkov](https://meta.discourse.org/u/Ed_Bobkov)\
**回复:** 5\
**最近更新：:** [2023 年3 月 30 日 15:27 UTC](https://meta.discourse.org/t/signup-error-pg-uniqueviolation-error-duplicate-key-value-violates-unique-constraint/172572 "2023-03-30T15:27:48Z")

</div>

你好！网站没有进行任何更改。 新用户开始报告此错误： PG::UniqueViolation (ERROR: duplicate key value violates unique constraint "idx\_category\_users\_category\_id\_user\_id" DETAIL: Key (ca…

---

## [为什么历来注册人数会减少？](https://meta.discourse.org/t/why-would-the-number-of-all-time-sign-ups-ever-decrease/259962)

<div class="topic-metadata">

**Author:** [@rogerdean](https://meta.discourse.org/u/rogerdean)\
**回复:** 6\
**最近更新：:** [2023 年3 月 30 日 14:06 UTC](https://meta.discourse.org/t/why-would-the-number-of-all-time-sign-ups-ever-decrease/259962 "2023-03-30T14:06:03Z")

</div>

大家好。仅本周我就遇到过好几次这种情况，正如“关于”页面所报告的那样。这是什么原因？ 提前感谢。

---

## [禁用新主题](https://meta.discourse.org/t/disable-new-topic/168548)

<div class="topic-metadata">

**Author:** [@CamilleBeau](https://meta.discourse.org/u/CamilleBeau)\
**回复:** 3\
**最近更新：:** [2023 年3 月 30 日 14:05 UTC](https://meta.discourse.org/t/disable-new-topic/168548 "2023-03-30T14:05:42Z")

</div>

我们希望完全移除用户创建新主题的功能。有什么方法可以做到吗？

---

## [推迟一个仅有一篇帖子的话题是否应标记为新的？](https://meta.discourse.org/t/should-deferring-a-topic-with-one-post-mark-is-as-new/125439)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**回复:** 9\
**最近更新：:** [2023 年3 月 30 日 13:55 UTC](https://meta.discourse.org/t/should-deferring-a-topic-with-one-post-mark-is-as-new/125439 "2023-03-30T13:55:16Z")

</div>

我阅读了一个新话题，想明天早上再重新查看。我选择了推迟选项，期望它也能将该话题重新标记为新的，因为它只有一篇帖子，但并未发生这种情况。我想话题重……

---

## [SES 邮件配置在外发地址上失败](https://meta.discourse.org/t/ses-mail-configuration-fails-on-outgoing-address/259535)

<div class="topic-metadata">

**Author:** [@Sean\_McInnes](https://meta.discourse.org/u/Sean_McInnes)\
**回复:** 1\
**最近更新：:** [2023 年3 月 30 日 13:17 UTC](https://meta.discourse.org/t/ses-mail-configuration-fails-on-outgoing-address/259535 "2023-03-30T13:17:07Z")

</div>

我之前设置并使用了SES，但不得不更改域名，在新设置中，我不知何故错过了在哪里强制将传出电子邮件地址始终设为我想要的地址！因此，SES拒绝发送……

---

## [当新用户注册时如何获得电子邮件通知](https://meta.discourse.org/t/how-to-get-an-email-notification-when-a-new-user-signs-up/182742)

<div class="topic-metadata">

**Author:** [@Integromat](https://meta.discourse.org/u/Integromat)\
**回复:** 1\
**最近更新：:** [2023 年3 月 30 日 12:49 UTC](https://meta.discourse.org/t/how-to-get-an-email-notification-when-a-new-user-signs-up/182742 "2023-03-30T12:49:04Z")

</div>

大家好！ 欢迎来到本教程，学习如何使用 Integromat 设置自动化工作流，以便在每次有新用户注册您的 Discourse 社区时自动收到电子邮件通知……

---

## [在“即将举行的活动”页面上显示活动的完整标题](https://meta.discourse.org/t/display-the-full-title-of-an-event-on-the-upcoming-events-page/259971)

<div class="topic-metadata">

**Author:** [@simon\_tomes](https://meta.discourse.org/u/simon_tomes)\
**回复:** 0\
**最近更新：:** [2023 年3 月 30 日 11:09 UTC](https://meta.discourse.org/t/display-the-full-title-of-an-event-on-the-upcoming-events-page/259971 "2023-03-30T11:09:10Z")

</div>

除了 @nathankershaw 在其主题中分享的建议：改进“即将举行的活动”页面 “即将举行的活动”日历视图如果显示完整的主题标题，会更具吸引力。请注意……

---

## [回复最多的类别未正确排序](https://meta.discourse.org/t/most-replied-categories-not-sorted-correctly/259863)

<div class="topic-metadata">

**Author:** [@VSCPlays](https://meta.discourse.org/u/VSCPlays)\
**回复:** 2\
**最近更新：:** [2023 年3 月 30 日 11:01 UTC](https://meta.discourse.org/t/most-replied-categories-not-sorted-correctly/259863 "2023-03-30T11:01:33Z")

</div>

回复最多的为 community resources，而第二多的为 #help-and-feedback:scripting-support，并且第二多的排在最上面，第一多的排在第二多的下面。 这个问题开始于 2023-03-29T08:15:00Z (UTC) G…

---

## [是否有办法为插件的 settings.yml 指定最小值和最大值？](https://meta.discourse.org/t/is-there-a-way-to-specify-a-min-and-max-for-settings-yml-for-a-plugin/259676)

<div class="topic-metadata">

**Author:** [@bstgmr02](https://meta.discourse.org/u/bstgmr02)\
**回复:** 7\
**最近更新：:** [2023 年3 月 30 日 10:31 UTC](https://meta.discourse.org/t/is-there-a-way-to-specify-a-min-and-max-for-settings-yml-for-a-plugin/259676 "2023-03-30T10:31:04Z")

</div>

// 运行 Discourse 开发环境 // 我有以下内容： min\_score: default: 0.01 client: true min: 0.0001 但是管理员可以一直将其覆盖为负值，是否有解决方法…

---

## [警告：Discourse 需要 1GB 内存](https://meta.discourse.org/t/warning-discourse-requires-1gb-ram/148607)

<div class="topic-metadata">

**Author:** [@vove](https://meta.discourse.org/u/vove)\
**回复:** 6\
**最近更新：:** [2023 年3 月 30 日 07:05 UTC](https://meta.discourse.org/t/warning-discourse-requires-1gb-ram/148607 "2023-03-30T07:05:51Z")

</div>

大家好！ 我一直在尝试安装 Discourse，但到目前为止尚未成功。 我有一台配备 1 GB 内存和 2 GB 交换文件的 VPS。每当我运行 ./discourse-setup 时，都会出现以下错误。（我已经进行了几次干净的安装……

---

## [无效或意外的令牌（在 browser-detect...）](https://meta.discourse.org/t/invalid-or-unexpected-token-at-browser-detect/259919)

<div class="topic-metadata">

**Author:** [@V102918](https://meta.discourse.org/u/V102918)\
**回复:** 4\
**最近更新：:** [2023 年3 月 30 日 01:15 UTC](https://meta.discourse.org/t/invalid-or-unexpected-token-at-browser-detect/259919 "2023-03-30T01:15:04Z")

</div>

大家好， 我收到一些 JS 错误，提示无效或意外的令牌，所有这些都来自以 .gz.js 结尾的文件。 我查看了这里的这个帖子：Stackpath（前身为 MaxCDN）- 无效或意外的令牌，其中建议……

---

## [Discourse Hub 中的 Discourse Meta 徽标不正确](https://meta.discourse.org/t/discourse-meta-logo-incorrect-in-discourse-hub/259924)

<div class="topic-metadata">

**Author:** [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)\
**回复:** 1\
**最近更新：:** [2023 年3 月 30 日 01:12 UTC](https://meta.discourse.org/t/discourse-meta-logo-incorrect-in-discourse-hub/259924 "2023-03-30T01:12:06Z")

</div>

贡献 \> 网站反馈 因为奇怪的讨论元标志。它在背景上是白色的，并且比应该的小。为什么会这样？ a

---

## [下载帖子已解决](https://meta.discourse.org/t/download-posts-resolved/259906)

<div class="topic-metadata">

**Author:** [@Luiz\_men](https://meta.discourse.org/u/Luiz_men)\
**回复:** 1\
**最近更新：:** [2023 年3 月 29 日 22:52 UTC](https://meta.discourse.org/t/download-posts-resolved/259906 "2023-03-29T22:52:43Z")

</div>

您好！ 我想知道是否有可能以PDF或其他类似格式下载社区中所有标记为已解决的帖子。 谢谢！

---

## [Sourcemap敏感文件泄露](https://meta.discourse.org/t/sourcemap-sensitive-files-leaked/259900)

<div class="topic-metadata">

**Author:** [@Rob\_Tsai](https://meta.discourse.org/u/Rob_Tsai)\
**回复:** 5\
**最近更新：:** [2023 年3 月 29 日 20:32 UTC](https://meta.discourse.org/t/sourcemap-sensitive-files-leaked/259900 "2023-03-29T20:32:27Z")

</div>

您好，我们收到了关于我们 Discourse 站点的 HackenProof 赏金。我们已升级到 v3.10.beta3 +155，但在发布说明中没有看到任何与我们收到的赏金报告相关的内容。这是新东西还是……

---

## [有没有办法强制将标签添加到特定类别的主题中，而无需用户添加？](https://meta.discourse.org/t/is-there-a-way-to-force-a-tag-into-a-topic-in-a-specific-category-without-the-user-having-to-add-it/259770)

<div class="topic-metadata">

**Author:** [@MikeNolan](https://meta.discourse.org/u/MikeNolan)\
**回复:** 7\
**最近更新：:** [2023 年3 月 29 日 19:26 UTC](https://meta.discourse.org/t/is-there-a-way-to-force-a-tag-into-a-topic-in-a-specific-category-without-the-user-having-to-add-it/259770 "2023-03-29T19:26:24Z")

</div>

尽管我可能还有两周时间才能启动我的第一个Discourse站点（这是我运行了30年的邮件列表的替代品），但我已经在考虑另一个可能的项目，那就是迁移……

---

## [用作邮件列表替代品](https://meta.discourse.org/t/use-as-a-mailing-list-replacement/127381)

<div class="topic-metadata">

**Author:** [@xav](https://meta.discourse.org/u/xav)\
**回复:** 2\
**最近更新：:** [2023 年3 月 29 日 18:47 UTC](https://meta.discourse.org/t/use-as-a-mailing-list-replacement/127381 "2023-03-29T18:47:23Z")

</div>

您好， 我们正尝试从基于邮件列表的组织模式进行迁移。第一步（已完成）是将邮件列表镜像以建立档案，现在我们希望暂时保持混合模式，其中一些用户主要使用 di…

---

## [X-Discourse-Event 标头值](https://meta.discourse.org/t/x-discourse-event-webhook-header-values/259774)

<div class="topic-metadata">

**Author:** [@Martin\_Lim](https://meta.discourse.org/u/Martin_Lim)\
**回复:** 3\
**最近更新：:** [2023 年3 月 29 日 16:59 UTC](https://meta.discourse.org/t/x-discourse-event-webhook-header-values/259774 "2023-03-29T16:59:15Z")

</div>

在哪里可以找到 X-Discourse-Event 钩子头的所有可能值？

---

## [卸载 Discourse - 需要帮助](https://meta.discourse.org/t/uninstalling-discourse-need-help/259869)

<div class="topic-metadata">

**Author:** [@Timothee\_scheufler](https://meta.discourse.org/u/Timothee_scheufler)\
**回复:** 4\
**最近更新：:** [2023 年3 月 29 日 17:09 UTC](https://meta.discourse.org/t/uninstalling-discourse-need-help/259869 "2023-03-29T17:09:59Z")

</div>

你好， 我之前在我的vps上运行了一个Discourse实例，运行得很好。现在我不再需要Discourse了，想卸载它，为我想运行的另一个应用程序腾出空间。我尝试了某个帖子中的命令……

---

## [更新失败：未初始化的常量 Chat::ChatBaseController (NameError)](https://meta.discourse.org/t/failed-update-uninitialized-constant-chat-chatbasecontroller-nameerror/259874)

<div class="topic-metadata">

**Author:** [@elopio](https://meta.discourse.org/u/elopio)\
**回复:** 0\
**最近更新：:** [2023 年3 月 29 日 16:31 UTC](https://meta.discourse.org/t/failed-update-uninitialized-constant-chat-chatbasecontroller-nameerror/259874 "2023-03-29T16:31:10Z")

</div>

你好 :slight\_smile: 我的 discourse 站点宕机了。我尝试进行手动升级，现在升级失败，错误信息如下： I, \[2023-03-28T16:47:24.340761 #1\] INFO -- : \> rails r "SiteSetting.notification\_email='bunqueer@jaqueresp..."…

---

## [自动备份到S3未发生 - 备份运行但除非通过Admin UI手动执行，否则不会上传](https://meta.discourse.org/t/automatic-backup-to-s3-not-happening-backup-runs-but-doesnt-upload-unless-performed-manually-via-admin-ui/259735)

<div class="topic-metadata">

**Author:** [@stevejr](https://meta.discourse.org/u/stevejr)\
**回复:** 4\
**最近更新：:** [2023 年3 月 29 日 15:11 UTC](https://meta.discourse.org/t/automatic-backup-to-s3-not-happening-backup-runs-but-doesnt-upload-unless-performed-manually-via-admin-ui/259735 "2023-03-29T15:11:01Z")

</div>

您好， 我在 EKS 集群中部署了 Discourse，并使用 IAM 角色用于服务账户来访问两个 S3 存储桶——一个用于资产，一个用于备份。标志 s3\_use\_iam\_profile 设置为 true。 我的设置 a…

---

## [将删除样式应用到引用中](https://meta.discourse.org/t/carry-deletion-style-into-the-quote/259858)

<div class="topic-metadata">

**Author:** [@jidanni](https://meta.discourse.org/u/jidanni)\
**回复:** 1\
**最近更新：:** [2023 年3 月 29 日 14:43 UTC](https://meta.discourse.org/t/carry-deletion-style-into-the-quote/259858 "2023-03-29T14:43:01Z")

</div>

这是用户（我）发布的帖子， 这是它被引用后的样子： 您会注意到删除掉了删除文字的波浪线样式。 它应该继续到引用的材料中……

---

## [允许用户配置自己的推送通知时间窗口](https://meta.discourse.org/t/let-users-configure-their-own-push-notification-time-window/259778)

<div class="topic-metadata">

**Author:** [@dfabulich](https://meta.discourse.org/u/dfabulich)\
**回复:** 3\
**最近更新：:** [2023 年3 月 29 日 13:29 UTC](https://meta.discourse.org/t/let-users-configure-their-own-push-notification-time-window/259778 "2023-03-29T13:29:42Z")

</div>

push\_notification\_time\_window 是一个全站设置；它默认为 10 分钟。 等待（n）分钟后发送推送通知。有助于防止向活跃的在线用户发送推送通知。 我认为…

---

## [移动视图加载的HTML与桌面不同](https://meta.discourse.org/t/mobile-view-loading-different-html-as-compared-to-desktop/259844)

<div class="topic-metadata">

**Author:** [@Parul](https://meta.discourse.org/u/Parul)\
**回复:** 1\
**最近更新：:** [2023 年3 月 29 日 13:08 UTC](https://meta.discourse.org/t/mobile-view-loading-different-html-as-compared-to-desktop/259844 "2023-03-29T13:08:37Z")

</div>

我已注册 Discourse 的试用帐户并创建了一个自定义主题。 它在桌面上运行正常，但在移动设备上不工作，并且加载的 HTML 完全不同。 左侧是移动视图，右侧是……

[上一页](https://meta.discourse.org/latest.md?page=695&period=day)

[下一页](https://meta.discourse.org/latest.md?page=697&period=day)
