# Latest

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

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

**Page:** 979

---

## [Rake任务中访问post值的异常行为](https://meta.discourse.org/t/unusual-behaviour-accessing-post-values-in-rake-task/201610)

<div class="topic-metadata">

**Author:** [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)\
**回复:** 0\
**最近更新：:** [2021 年8 月 24 日 23:03 UTC](https://meta.discourse.org/t/unusual-behaviour-accessing-post-values-in-rake-task/201610 "2021-08-24T23:03:17Z")

</div>

这可能源于对通过 Ruby（ActiveRecord？）与数据库交互方式的误解，而非 Rails，但我正在运行一个 rake 任务时看到一个不寻常的错误消息。错误消息重复了某些…

---

## [什么是 Post？ (Discourse API 问题)](https://meta.discourse.org/t/whats-a-post-discourse-api-question/201497)

<div class="topic-metadata">

**Author:** [@jcasman](https://meta.discourse.org/u/jcasman)\
**回复:** 7\
**最近更新：:** [2021 年8 月 24 日 22:07 UTC](https://meta.discourse.org/t/whats-a-post-discourse-api-question/201497 "2021-08-24T22:07:58Z")

</div>

我正在尝试准确地衡量和报告我正在使用 Discourse 运行的论坛的活动。我认为我从根本上不理解什么是帖子。 在 API 中，有主题和帖子。例如，如果我想……

---

## [哪些环境变量是必需的？](https://meta.discourse.org/t/which-environment-variables-are-mandatory/201575)

<div class="topic-metadata">

**Author:** [@tom-richter](https://meta.discourse.org/u/tom-richter)\
**回复:** 2\
**最近更新：:** [2021 年8 月 24 日 18:43 UTC](https://meta.discourse.org/t/which-environment-variables-are-mandatory/201575 "2021-08-24T18:43:44Z")

</div>

您好，我想在 render.com 上部署 Discourse：在 Render 上部署 Discourse | Render · Cloud Hosting for Developers。我想知道哪些环境变量是必需的。 我是否需要 SMTP 变量 DISCOURSE\_SMTP\_ADDRESS…

---

## [通过 Google Tag Manager 运行 Hotjar 脚本](https://meta.discourse.org/t/run-a-hotjar-script-via-google-tag-manager/201531)

<div class="topic-metadata">

**Author:** [@BCUK](https://meta.discourse.org/u/BCUK)\
**回复:** 1\
**最近更新：:** [2021 年8 月 24 日 17:14 UTC](https://meta.discourse.org/t/run-a-hotjar-script-via-google-tag-manager/201531 "2021-08-24T17:14:55Z")

</div>

我正尝试在 Discourse 论坛上使用 Google Tag Manager 部署 Hotjar 脚本以显示弹出式调查，这在此前已在多个网站上成功完成。但不知何故，HotJar 验证其标签存在，但……

---

## [在帖子中包含 SVG 图形](https://meta.discourse.org/t/including-svg-graphics-in-posts/101616)

<div class="topic-metadata">

**Author:** [@mehmet](https://meta.discourse.org/u/mehmet)\
**回复:** 6\
**最近更新：:** [2018 年11 月 9 日 16:46 UTC](https://meta.discourse.org/t/including-svg-graphics-in-posts/101616 "2018-11-09T16:46:40Z")

</div>

我有一个主机网站和一个 Discourse 网站；它们都托管在 AWS EC2 实例上。主机网站是一个学校数据仪表板，我想使用 Discourse 网站来讨论这些数据。例如，用户将点击一个…

---

## [我在app.yml配置文件中配置了与SMTP服务相关的项目，但仍然无法正确接收激活邮件](https://meta.discourse.org/t/i-have-configured-items-related-to-smtp-service-in-the-app-yml-configuration-file-but-i-still-cannot-receive-the-activation-email-correctly/201514)

<div class="topic-metadata">

**Author:** [@liuyang](https://meta.discourse.org/u/liuyang)\
**回复:** 9\
**最近更新：:** [2021 年8 月 24 日 15:26 UTC](https://meta.discourse.org/t/i-have-configured-items-related-to-smtp-service-in-the-app-yml-configuration-file-but-i-still-cannot-receive-the-activation-email-correctly/201514 "2021-08-24T15:26:38Z")

</div>

我在app.yml配置文件中配置了与SMTP服务相关的项目，但仍然无法正确接收激活邮件。请提供一些支持。 这是我收集的日志： 渲染布局……

---

## [Redis 锁的超时](https://meta.discourse.org/t/timeouts-of-redis-lock/201520)

<div class="topic-metadata">

**Author:** [@concerto](https://meta.discourse.org/u/concerto)\
**回复:** 1\
**最近更新：:** [2021 年8 月 24 日 12:20 UTC](https://meta.discourse.org/t/timeouts-of-redis-lock/201520 "2021-08-24T12:20:32Z")

</div>

Discourse 使用 DistributedMutex，这是 Redis lock 的一种实现，用于各种事务。看起来此 Redis lock 的实现具有超时机制，使其成为一种“租约”而非“锁定”。 这可能会导致一些问题……

---

## [Discourse Sentry](https://meta.discourse.org/t/discourse-sentry/109187)

<div class="topic-metadata">

**Author:** [@eatcodetravel](https://meta.discourse.org/u/eatcodetravel)\
**回复:** 6\
**最近更新：:** [2021 年8 月 24 日 10:51 UTC](https://meta.discourse.org/t/discourse-sentry/109187 "2021-08-24T10:51:34Z")

</div>

仓库：GitHub - debtcollective/discourse-sentry：用于集成 @getsentry 的 Discourse 插件 此插件在后端和前端集成了 https://sentry.io 错误追踪。我们已在 http://community.debtcoll… 中使用。

---

## [将标签页重定向到自定义网址？](https://meta.discourse.org/t/redirect-a-tag-page-to-a-custom-url/164514)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回复:** 7\
**最近更新：:** [2021 年8 月 24 日 10:51 UTC](https://meta.discourse.org/t/redirect-a-tag-page-to-a-custom-url/164514 "2021-08-24T10:51:18Z")

</div>

您好， 我想将 \`/tag/offer\` 重定向到 \`tags/c/trading-post/18/offer\`。 有办法实现吗？ 我在“自定义”→“固定链接”中尝试过，但没有成功。

---

## [排查收到的电子邮件中遗漏的内容](https://meta.discourse.org/t/troubleshooting-omitted-content-from-incoming-emails/201266)

<div class="topic-metadata">

**Author:** [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)\
**回复:** 2\
**最近更新：:** [2021 年8 月 23 日 21:45 UTC](https://meta.discourse.org/t/troubleshooting-omitted-content-from-incoming-emails/201266 "2021-08-23T21:45:34Z")

</div>

我正在查看一些在导入邮件列表电子邮件后内容被省略的帖子。一些电子邮件将标题/部分用“~~~~~~~~~~~~~~~~”行进行换行，并且该行的第一个出现……

---

## [是否可以为许多 WordPress 文章批量创建主题？也许用 SQL？](https://meta.discourse.org/t/is-it-possible-to-bulk-create-threads-for-many-wordpress-posts-sql-maybe/201210)

<div class="topic-metadata">

**Author:** [@Seal](https://meta.discourse.org/u/Seal)\
**回复:** 6\
**最近更新：:** [2021 年8 月 23 日 21:11 UTC](https://meta.discourse.org/t/is-it-possible-to-bulk-create-threads-for-many-wordpress-posts-sql-maybe/201210 "2021-08-23T21:11:40Z")

</div>

我有一个大约有1000篇旧帖的WP网站。我想为所有帖子批量创建Discourse评论主题。看起来我可以编辑和保存每个帖子，如果设置了……就会创建一个新的评论主题。

---

## [子域名中的 Adsense](https://meta.discourse.org/t/adsense-in-subdomain/124906)

<div class="topic-metadata">

**Author:** [@TowerBR](https://meta.discourse.org/u/TowerBR)\
**回复:** 5\
**最近更新：:** [2021 年8 月 23 日 21:10 UTC](https://meta.discourse.org/t/adsense-in-subdomain/124906 "2021-08-23T21:10:26Z")

</div>

我正在使用 AdSense 插件搭建一个新的社区。 一个基本问题：我的社区位于 community.mysite.com，但 AdSense 不允许注册子域名。我该怎么办？

---

## [关于 Category Groups component 的一些请求](https://meta.discourse.org/t/several-requests-regarding-the-category-groups-component/280323)

<div class="topic-metadata">

**Author:** [@Zup](https://meta.discourse.org/u/Zup)\
**回复:** 0\
**最近更新：:** [2021 年8 月 23 日 19:21 UTC](https://meta.discourse.org/t/several-requests-regarding-the-category-groups-component/280323 "2021-08-23T19:21:12Z")

</div>

非常简洁！ 请求： 如前所述，最好能够在类别页面上直接列出子类别。 能够设置默认折叠状态。 在账户设置中记住用户的折叠状态。 S…

---

## [移动消息时出现奇怪的搜索行为（作为工作人员）](https://meta.discourse.org/t/odd-search-behaviour-when-moving-messages-as-a-staff-member/201261)

<div class="topic-metadata">

**Author:** [@ljpp](https://meta.discourse.org/u/ljpp)\
**回复:** 2\
**最近更新：:** [2021 年8 月 23 日 18:58 UTC](https://meta.discourse.org/t/odd-search-behaviour-when-moving-messages-as-a-staff-member/201261 "2021-08-23T18:58:01Z")

</div>

这是一个奇怪的问题。需要管理员权限，因此我只能在 Tappara.co（一个 CDCK SaaS 实例）上重现。最有可能的是，重现还需要数据库中的相关数据。 描述：移动消息时，se……

---

## [LinkedIn 集成](https://meta.discourse.org/t/linkedin-integration/201464)

<div class="topic-metadata">

**Author:** [@Jim\_Shilts1](https://meta.discourse.org/u/Jim_Shilts1)\
**回复:** 3\
**最近更新：:** [2021 年8 月 23 日 18:08 UTC](https://meta.discourse.org/t/linkedin-integration/201464 "2021-08-23T18:08:04Z")

</div>

有人成功将LinkedIn与Discourse关联起来了吗？我想将我们公司LinkedIn页面上的所有帖子都添加为Discourse中的新主题。 如果不是直接集成，是否可以通过Zapier之类的工具实现？

---

## [Nginx 用于提供静态文件？](https://meta.discourse.org/t/nginx-to-server-static-files/201323)

<div class="topic-metadata">

**Author:** [@valsha](https://meta.discourse.org/u/valsha)\
**回复:** 4\
**最近更新：:** [2021 年8 月 23 日 14:45 UTC](https://meta.discourse.org/t/nginx-to-server-static-files/201323 "2021-08-23T14:45:53Z")

</div>

您好，使用 nginx 提供静态文件是否合理？\\n\\n类似这样：\\n location ~ ^/assets/(?.+)$ {\\n expires 1M;\\n add\_header Cache-Control "max-age=2629746, public";\\n }\\nlocation ~ ^/user\_av…

---

## [用户菜单可通过汉堡包菜单和键盘快捷键隐藏](https://meta.discourse.org/t/user-menu-can-be-hidden-behind-hamburger-menu-using-keyboard-shortcuts/201185)

<div class="topic-metadata">

**Author:** [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)\
**回复:** 0\
**最近更新：:** [2021 年8 月 20 日 20:38 UTC](https://meta.discourse.org/t/user-menu-can-be-hidden-behind-hamburger-menu-using-keyboard-shortcuts/201185 "2021-08-20T20:38:30Z")

</div>

优先级/严重性：非常低 / 非常低 平台：桌面、macOS 11.4、Safari 14.1.1 / Chrome 92.0.4515.159 / Firefox 91.0.1 描述：使用键盘快捷键打开另一个菜单时，之前的菜单不会关闭……

---

## [为文本添加锚点ID](https://meta.discourse.org/t/add-anchor-id-to-text/201393)

<div class="topic-metadata">

**Author:** [@fyodorovich](https://meta.discourse.org/u/fyodorovich)\
**回复:** 4\
**最近更新：:** [2021 年8 月 23 日 07:37 UTC](https://meta.discourse.org/t/add-anchor-id-to-text/201393 "2021-08-23T07:37:56Z")

</div>

这是否成为现实了？ 我可以看到我的 TOS 中到标题的深度链接正常工作。但是，当我尝试创建到内联元素的深度链接（例如 span 或 anchor）时，ID 会从标签中被剥离，使得链接……

---

## [当前讨论是否支持在主题标题中使用“部分匹配搜索”？](https://meta.discourse.org/t/does-the-current-discourse-support-partial-match-search-in-topics-title/101509)

<div class="topic-metadata">

**Author:** [@nujabes](https://meta.discourse.org/u/nujabes)\
**回复:** 2\
**最近更新：:** [2021 年8 月 23 日 06:52 UTC](https://meta.discourse.org/t/does-the-current-discourse-support-partial-match-search-in-topics-title/101509 "2021-08-23T06:52:19Z")

</div>

它在我的 Discourse 上不起作用。 例如，我的 Discourse 标题是“approximately”。 当我搜索“approx”时，建议的搜索结果会显示出来。 当我搜索“mately”时，建议的搜索结果…

---

## [仅允许特定群组发送私信](https://meta.discourse.org/t/restrict-pm-sending-to-only-specific-group/201369)

<div class="topic-metadata">

**Author:** [@OverseersMight](https://meta.discourse.org/u/OverseersMight)\
**回复:** 1\
**最近更新：:** [2021 年8 月 23 日 00:26 UTC](https://meta.discourse.org/t/restrict-pm-sending-to-only-specific-group/201369 "2021-08-23T00:26:36Z")

</div>

我想让用户只能向特定群组发送私人消息。我们必须遵守严格的青少年保护协议，因此我们不能让青少年互相发送消息。我想让它们……

---

## [Change user's email without verification](https://meta.discourse.org/t/change-users-email-without-verification/66602)

<div class="topic-metadata">

**Author:** [@carlokok](https://meta.discourse.org/u/carlokok)\
**回复:** 10\
**最近更新：:** [2021 年8 月 22 日 23:50 UTC](https://meta.discourse.org/t/change-users-email-without-verification/66602 "2021-08-22T23:50:55Z")

</div>

Maybe I’m missing something obvious, but I cannot find it. As an admin, can I change someone’s email address without them having to verify it?

---

## [停止使用 Amazon S3 进行上传](https://meta.discourse.org/t/stop-using-amazon-s3-for-uploads/107286)

<div class="topic-metadata">

**Author:** [@discourseuser100](https://meta.discourse.org/u/discourseuser100)\
**回复:** 51\
**最近更新：:** [2021 年8 月 22 日 19:19 UTC](https://meta.discourse.org/t/stop-using-amazon-s3-for-uploads/107286 "2021-08-22T19:19:40Z")

</div>

我想停止使用 Amazon S3 进行上传。 我尚未执行过此类 rake 任务，因此希望在在实时环境中运行之前先进行检查。 我的计划是使用实时服务器的克隆来测试 rake 任务 uploads:mi…

---

## [将提及从用户名更改为姓名？](https://meta.discourse.org/t/change-mention-from-username-to-a-name/201310)

<div class="topic-metadata">

**Author:** [@OverseersMight](https://meta.discourse.org/u/OverseersMight)\
**回复:** 4\
**最近更新：:** [2021 年8 月 22 日 21:07 UTC](https://meta.discourse.org/t/change-mention-from-username-to-a-name/201310 "2021-08-22T21:07:21Z")

</div>

我该如何将提及的显示方式从“@usernamefieldhere”更改为“@fullnamefieldhere”？ 例如，如果我的名字是 John Doe，那么 @OverseersMight 将会显示为 @ John Doe。 抱歉提及了 John……

---

## [使主题日期成为完整日期](https://meta.discourse.org/t/make-topic-dates-be-full-dates/201342)

<div class="topic-metadata">

**Author:** [@OverseersMight](https://meta.discourse.org/u/OverseersMight)\
**回复:** 2\
**最近更新：:** [2021 年8 月 22 日 18:40 UTC](https://meta.discourse.org/t/make-topic-dates-be-full-dates/201342 "2021-08-22T18:40:35Z")

</div>

我该如何将显示的日期更改为完整日期，例如：2015 年的帖子中的 August '15 会变成 August 7th, 2015。 找不到此设置。

---

## [从不同服务器反向代理到 Discourse 时出现过多重重定向](https://meta.discourse.org/t/too-many-redirects-when-reverse-proxying-to-discourse-from-a-different-server/101590)

<div class="topic-metadata">

**Author:** [@jaesung2061](https://meta.discourse.org/u/jaesung2061)\
**回复:** 0\
**最近更新：:** [2018 年11 月 8 日 05:27 UTC](https://meta.discourse.org/t/too-many-redirects-when-reverse-proxying-to-discourse-from-a-different-server/101590 "2018-11-08T05:27:46Z")

</div>

我在域名 discuss.example.com 上设置了 Discourse，并尝试让另一台机器上的 realsite.com/discuss 将请求代理到 discuss.example.com/discuss。我已经配置好了子目录...

---

## [有没有到新主题页面的直接链接？](https://meta.discourse.org/t/any-direct-url-to-new-topic-page/101602)

<div class="topic-metadata">

**Author:** [@jidetheblogger](https://meta.discourse.org/u/jidetheblogger)\
**回复:** 2\
**最近更新：:** [2018 年11 月 8 日 12:00 UTC](https://meta.discourse.org/t/any-direct-url-to-new-topic-page/101602 "2018-11-08T12:00:38Z")

</div>

Just wondering if there could be any direct link to the “new topic” page. If you are logged in, you can post new topic else you will be required to sign in. Does anything of such exits in discourse?

---

## [提醒未回复者](https://meta.discourse.org/t/nudging-non-responders/192635)

<div class="topic-metadata">

**Author:** [@Paari\_Vendhan](https://meta.discourse.org/u/Paari_Vendhan)\
**回复:** 7\
**最近更新：:** [2021 年8 月 22 日 04:00 UTC](https://meta.discourse.org/t/nudging-non-responders/192635 "2021-08-22T04:00:49Z")

</div>

您好 我们的团队刚开始使用 discourse 论坛进行日常讨论。因此，出现的情况是，主题创建者随意标记他人，但当需要回应时，由于标记过多（或任何其他纪律原因……

---

## [如何在单个主题页面上执行 JavaScript 代码？](https://meta.discourse.org/t/how-to-fire-a-javascript-code-in-only-one-topic-page/201272)

<div class="topic-metadata">

**Author:** [@gassim](https://meta.discourse.org/u/gassim)\
**回复:** 1\
**最近更新：:** [2021 年8 月 21 日 16:32 UTC](https://meta.discourse.org/t/how-to-fire-a-javascript-code-in-only-one-topic-page/201272 "2021-08-21T16:32:30Z")

</div>

嘿！我真的很希望你能帮我解决这个问题，拜托了！\\n\\n有没有办法编辑主题头部组件，以便当用户点击“欢迎”主题时，会触发一段 JavaScript 代码，但一旦他们离开……

---

## [认证失败时如何重定向到其他网址](https://meta.discourse.org/t/how-to-redirect-to-another-url-when-auth-failed/201264)

<div class="topic-metadata">

**Author:** [@cxlearndiscourse](https://meta.discourse.org/u/cxlearndiscourse)\
**回复:** 1\
**最近更新：:** [2023 年8 月 19 日 09:58 UTC](https://meta.discourse.org/t/how-to-redirect-to-another-url-when-auth-failed/201264 "2023-08-19T09:58:55Z")

</div>

\*\*希思罗机场关闭\*\*: 航班中断预计将持续数日，\*伦敦\*机场管理方表示

---

## [DigitalOcean：计算机的端口 443 似乎无法访问](https://meta.discourse.org/t/digitalocean-port-443-of-computer-does-not-appear-to-be-accessible/201253)

<div class="topic-metadata">

**Author:** [@tenzan](https://meta.discourse.org/u/tenzan)\
**回复:** 2\
**最近更新：:** [2021 年8 月 21 日 14:07 UTC](https://meta.discourse.org/t/digitalocean-port-443-of-computer-does-not-appear-to-be-accessible/201253 "2021-08-21T14:07:26Z")

</div>

您好， 我看到有很多关于同一问题的帖子，但它们都没有帮助。 我已通过 DigitalOcean 的 Marketplace 安装了 Discourse。 我遇到了这个错误 正在检查您的域名 . . . 警告：com 的 443 端口……

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

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