# Latest

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

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

**Page:** 1209

---

## [Google Analytics 被 CSP 策略阻止](https://meta.discourse.org/t/google-analytics-is-blocked-by-csp-policy/143098)

<div class="topic-metadata">

**Author:** [@petepan23](https://meta.discourse.org/u/petepan23)\
**回复:** 5\
**最近更新：:** [2020 年3 月 2 日 19:55 UTC](https://meta.discourse.org/t/google-analytics-is-blocked-by-csp-policy/143098 "2020-03-02T19:55:48Z")

</div>

您好， 我尝试设置 Google Analytics，但未成功。 以下是我所做的操作： Google Analytics 通用跟踪代码：我的分析 ID Google Analytics 通用域名：mysite.com（不含 www） 内容安全策略脚本源：我添加了“htt…

---

## [WordPress 全局登出不会登出 Discourse](https://meta.discourse.org/t/wordpress-log-out-everywhere-doesnt-log-out-discourse/155827)

<div class="topic-metadata">

**Author:** [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**回复:** 5\
**最近更新：:** [2020 年6 月 24 日 19:19 UTC](https://meta.discourse.org/t/wordpress-log-out-everywhere-doesnt-log-out-discourse/155827 "2020-06-24T19:19:37Z")

</div>

WordPress 在此处通过 WP-Discourse 插件配置为单点登录（SSO）提供商。在某些极端情况下，我们需要注销用户，以确保其群组分配等信息的一致性。 当用户无法获取 w…

---

## [将 WordPress（作为 Discourse SSO 提供商）从 Siteground 迁移到 Lightsail](https://meta.discourse.org/t/migrate-wordpress-as-discourse-sso-provider-from-siteground-to-lightsail/155814)

<div class="topic-metadata">

**Author:** [@jord8on](https://meta.discourse.org/u/jord8on)\
**回复:** 3\
**最近更新：:** [2020 年6 月 24 日 19:04 UTC](https://meta.discourse.org/t/migrate-wordpress-as-discourse-sso-provider-from-siteground-to-lightsail/155814 "2020-06-24T19:04:39Z")

</div>

我们在使用 Siteground 的托管 WordPress 服务时已达到某些限制，希望将我们的 WordPress 安装迁移到 Amazon Lightsail。 以下是关于我们当前设置的一些要点： 我们正运行 WordPress Mana…

---

## [Discourse 版本 2.5](https://meta.discourse.org/t/discourse-version-2-5/125302)

<div class="topic-metadata">

**Author:** [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**回复:** 3\
**最近更新：:** [2020 年6 月 24 日 18:15 UTC](https://meta.discourse.org/t/discourse-version-2-5/125302 "2020-06-24T18:15:15Z")

</div>

焦点 :white\_check\_mark: 彻底改造了书签系统，包括“书签描述”、“提醒”功能，并重新设计了书签列表页面。@martin :white\_check\_mark: https://meta.discourse.org/t/automatically-delete-repl…

---

## [Discourse 2.6.0.beta1 发布说明](https://meta.discourse.org/t/discourse-2-6-0-beta1-release-notes/155837)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**回复:** 0\
**最近更新：:** [2020 年6 月 24 日 18:07 UTC](https://meta.discourse.org/t/discourse-2-6-0-beta1-release-notes/155837 "2020-06-24T18:07:01Z")

</div>

Discourse 2.5.0 发布！ 我们已完成 2.5.0 开发周期并发布了最终版本。请查看我们的博客文章，以及所有 2.5.0.betaX 发布说明主题以获取详细信息。 2.6.0.beta1 不包含 …

---

## [Discourse 2.5 发布！](https://meta.discourse.org/t/discourse-2-5-released/155844)

<div class="topic-metadata">

**Author:** [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**回复:** 0\
**最近更新：:** [2020 年6 月 24 日 18:06 UTC](https://meta.discourse.org/t/discourse-2-5-released/155844 "2020-06-24T18:06:10Z")

</div>

最初发布于： https://blog.discourse.org/2020/06/discourse-2-5-released/ 今天我们发布 Discourse 2.5，基于今年 2 月发布的 Discourse 2.4。对于 2.0 之后的版本，我们选择了一套新的代号，b…

---

## [如何设置 SMTP](https://meta.discourse.org/t/how-do-you-setup-smtp/155751)

<div class="topic-metadata">

**Author:** [@taco](https://meta.discourse.org/u/taco)\
**回复:** 5\
**最近更新：:** [2020 年6 月 24 日 17:37 UTC](https://meta.discourse.org/t/how-do-you-setup-smtp/155751 "2020-06-24T17:37:50Z")

</div>

嘿， 在使用 Mailgun 之类的服务来配置我的 Discourse 论坛时，我感到非常困惑。是否有相关的优质教程，或者其他类似的服务推荐？我尝试了 https://sendgrid.com，但它要求我提供 ……

---

## [将备份恢复到新服务器后，所有内部链接均失效](https://meta.discourse.org/t/all-internal-links-broken-after-restoring-backup-to-new-server/155829)

<div class="topic-metadata">

**Author:** [@meriksson](https://meta.discourse.org/u/meriksson)\
**回复:** 2\
**最近更新：:** [2020 年6 月 24 日 15:54 UTC](https://meta.discourse.org/t/all-internal-links-broken-after-restoring-backup-to-new-server/155829 "2020-06-24T15:54:55Z")

</div>

我最近将论坛从一个服务器迁移到了另一个服务器。几天后，我发现所有内部链接都已更改，现在无法访问。 我不完全确定，但以下是我认为发生的情况： 论坛 li…

---

## [在主题显示页面加载时获取主题 ID](https://meta.discourse.org/t/get-topic-id-when-the-topic-show-page-loads/155620)

<div class="topic-metadata">

**Author:** [@JQ331](https://meta.discourse.org/u/JQ331)\
**回复:** 21\
**最近更新：:** [2020 年6 月 24 日 14:38 UTC](https://meta.discourse.org/t/get-topic-id-when-the-topic-show-page-loads/155620 "2020-06-24T14:38:11Z")

</div>

在我的主题中，当加载主题显示页面时，我需要获取该主题的 ID（如果可能，也包括名称，但 ID 就足够了）。 然后，我在主题中使用这些信息来调用 API 以获取信息…

---

## [功能建议：实时推送最新帖子（仅限版主）](https://meta.discourse.org/t/feature-suggestion-latest-posts-in-realtime-in-true-push-mode-for-moderators-only/104868)

<div class="topic-metadata">

**Author:** [@ramonamorea](https://meta.discourse.org/u/ramonamorea)\
**回复:** 5\
**最近更新：:** [2020 年6 月 24 日 14:21 UTC](https://meta.discourse.org/t/feature-suggestion-latest-posts-in-realtime-in-true-push-mode-for-moderators-only/104868 "2020-06-24T14:21:48Z")

</div>

您好， 我想建议一项新功能： 一个让论坛版主能够实时查看最新帖子的页面，采用真正的推送模式（类似于 Twitterfall 或 Facebook 风格）。 为什么？作为一名版主，我发现这相当节省时间…

---

## [\[付费\] Kajabi 与 Discourse 集成](https://meta.discourse.org/t/paid-kajabi-discourse-integration/153860)

<div class="topic-metadata">

**Author:** [@rlinken](https://meta.discourse.org/u/rlinken)\
**回复:** 6\
**最近更新：:** [2020 年6 月 24 日 14:21 UTC](https://meta.discourse.org/t/paid-kajabi-discourse-integration/153860 "2020-06-24T14:21:20Z")

</div>

你好！ 我是 Kajabi 的长期用户，但我使用该工具（它是一个会员平台）时面临的最大问题之一是缺乏社区/论坛功能。 我也尝试过 Facebook 群组“方案”，并测试了其他…

---

## [宽图是否延伸至搜索图标？](https://meta.discourse.org/t/wide-image-extending-until-search-icon/155767)

<div class="topic-metadata">

**Author:** [@Wall-E](https://meta.discourse.org/u/Wall-E)\
**回复:** 3\
**最近更新：:** [2020 年6 月 24 日 14:12 UTC](https://meta.discourse.org/t/wide-image-extending-until-search-icon/155767 "2020-06-24T14:12:13Z")

</div>

参考此截图： 是否可以让宽图覆盖整个区域，一直延伸到右上角的搜索图标，而不是局限于这个非常狭窄的区域，停在“最新”按钮上方？

---

## [禁用实时通知？](https://meta.discourse.org/t/disable-live-notifications/155663)

<div class="topic-metadata">

**Author:** [@RalfJung](https://meta.discourse.org/u/RalfJung)\
**回复:** 7\
**最近更新：:** [2020 年6 月 24 日 13:33 UTC](https://meta.discourse.org/t/disable-live-notifications/155663 "2020-06-24T13:33:21Z")

</div>

有没有办法正确禁用实时通知？对于某些论坛，我不希望出现新帖子的弹窗。但每次我进入论坛时，顶部都会显示： 当有人回复您时，您是否希望接收实时通知？

---

## [允许的文件类型 .ACMI](https://meta.discourse.org/t/allowable-file-types-acmi/155801)

<div class="topic-metadata">

**Author:** [@Discoursecurious](https://meta.discourse.org/u/Discoursecurious)\
**回复:** 6\
**最近更新：:** [2020 年6 月 24 日 12:50 UTC](https://meta.discourse.org/t/allowable-file-types-acmi/155801 "2020-06-24T12:50:59Z")

</div>

嗨，我运营一个关于飞行模拟的论坛。 有一个程序可以记录飞行轨迹以便进行评估！ 它将信息存储在 .acmi 文件中。 还记得《壮志凌云》中他们研究自己的战斗场景吗？ https://www.tacview.net/documenta…

---

## [帮我排查 Discourse SSO 问题](https://meta.discourse.org/t/help-me-troubleshoot-my-discourse-sso/155639)

<div class="topic-metadata">

**Author:** [@sda](https://meta.discourse.org/u/sda)\
**回复:** 10\
**最近更新：:** [2020 年6 月 22 日 11:45 UTC](https://meta.discourse.org/t/help-me-troubleshoot-my-discourse-sso/155639 "2020-06-22T11:45:37Z")

</div>

您好，我希望得到一些指导。我的单点登录（SSO）本周停止工作，我本以为昨天已经修复了所有问题（我发誓它当时是正常工作的：slight\_smile：注意：我查看了昨天和今天的“新用户”列表……

---

## [discourse\_docker 仓库中的 Vagrantfile 是否适用于生产环境？](https://meta.discourse.org/t/vagrantfile-in-discourse-docker-repo-for-production/151356)

<div class="topic-metadata">

**Author:** [@pihentagy](https://meta.discourse.org/u/pihentagy)\
**回复:** 3\
**最近更新：:** [2020 年6 月 24 日 10:57 UTC](https://meta.discourse.org/t/vagrantfile-in-discourse-docker-repo-for-production/151356 "2020-06-24T10:57:29Z")

</div>

https://github.com/discourse/discourse\_docker/blob/master/Vagrantfile 文件是否用于生产环境？ 如果是，如何访问内部的 Discourse 安装？（默认映射到 192.168.33.11） O…

---

## [Postgres 和 Docker 之间占用的磁盘空间](https://meta.discourse.org/t/disk-space-taken-between-postgres-and-docker/82160)

<div class="topic-metadata">

**Author:** [@Iceman](https://meta.discourse.org/u/Iceman)\
**回复:** 5\
**最近更新：:** [2018 年3 月 4 日 20:48 UTC](https://meta.discourse.org/t/disk-space-taken-between-postgres-and-docker/82160 "2018-03-04T20:48:25Z")

</div>

大家好！ 我有个关于磁盘空间的问题，希望有人能帮我解答，因为我在 Linux 系统管理方面经验不足。 我的服务器（40GB）空间快用完了，我通常会检查 ver…

---

## [如何在 Discourse 中设置 Letter Avatar 服务 URL](https://meta.discourse.org/t/how-to-set-letter-avatar-service-url-in-discourse/155781)

<div class="topic-metadata">

**Author:** [@Divyaanand\_Sinha](https://meta.discourse.org/u/Divyaanand_Sinha)\
**回复:** 1\
**最近更新：:** [2020 年6 月 24 日 10:02 UTC](https://meta.discourse.org/t/how-to-set-letter-avatar-service-url-in-discourse/155781 "2020-06-24T10:02:38Z")

</div>

我运行了一个 Discourse 实例和一个独立的 Letter Avatar 实例。我想知道如何在 Discourse 实例中设置 letter-avatar-service 的 URL，以便 Discourse 可以使用它来加载头像。

---

## [在启用 CDN 的多站点中遇到奇怪的 CSP 问题](https://meta.discourse.org/t/weird-csp-issues-with-cdn-enabled-on-multisite/153296)

<div class="topic-metadata">

**Author:** [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**回复:** 3\
**最近更新：:** [2020 年6 月 24 日 08:08 UTC](https://meta.discourse.org/t/weird-csp-issues-with-cdn-enabled-on-multisite/153296 "2020-06-24T08:08:12Z")

</div>

因此，这是对我今早之前报告的冒险经历的延续，该问题已通过向 CSP src 添加 CDN 链接得以解决。自那以后，我遇到了各种奇怪的问题。现在，一切似乎都稳定下来了……

---

## [将标签从一个标签组移动到另一个的最简单方法是什么？](https://meta.discourse.org/t/easiest-way-to-move-tags-from-one-tag-group-to-another/155710)

<div class="topic-metadata">

**Author:** [@Perry\_Eising](https://meta.discourse.org/u/Perry_Eising)\
**回复:** 1\
**最近更新：:** [2020 年6 月 24 日 04:17 UTC](https://meta.discourse.org/t/easiest-way-to-move-tags-from-one-tag-group-to-another/155710 "2020-06-24T04:17:51Z")

</div>

标题已说明一切——我有一些标签属于某个组，希望将它们移动到另一个组。最简单的方法是什么？

---

## [Webhooks - 触发标签过滤器支持标签组](https://meta.discourse.org/t/webhooks-tag-groups-support-for-the-triggered-tags-filter/155705)

<div class="topic-metadata">

**Author:** [@loginerror](https://meta.discourse.org/u/loginerror)\
**回复:** 1\
**最近更新：:** [2020 年6 月 24 日 04:16 UTC](https://meta.discourse.org/t/webhooks-tag-groups-support-for-the-triggered-tags-filter/155705 "2020-06-24T04:16:44Z")

</div>

这是一个非常简单的功能建议。如果“触发标签”字段能够支持整个标签组，而不是单独的标签，那就太好了。 这里的逻辑是，如果用户希望创建一个依赖 Webhook 的自动化流程……

---

## [插件开发工作流](https://meta.discourse.org/t/plugin-development-workflow/155722)

<div class="topic-metadata">

**Author:** [@codechef](https://meta.discourse.org/u/codechef)\
**回复:** 2\
**最近更新：:** [2020 年6 月 24 日 04:14 UTC](https://meta.discourse.org/t/plugin-development-workflow/155722 "2020-06-24T04:14:59Z")

</div>

您是如何设置插件开发工作流的？ 我正在本地 Docker 开发环境中尝试进行一些插件开发。我运行了 d/boot\_dev --init，并且可以运行我的插件。问题在于，当我对插件进行更改时……

---

## [链接点击徽章](https://meta.discourse.org/t/link-click-badges/155750)

<div class="topic-metadata">

**Author:** [@gar1t](https://meta.discourse.org/u/gar1t)\
**回复:** 3\
**最近更新：:** [2020 年6 月 24 日 04:13 UTC](https://meta.discourse.org/t/link-click-badges/155750 "2020-06-24T04:13:47Z")

</div>

页面上链接旁边的递增计数有什么理由？我并不是在质疑。这看起来很奇怪，但很有趣。为什么要跟踪这个？由于我不熟悉这种做法，我发现自己分心了……

---

## [Twitch 自动嵌入失效](https://meta.discourse.org/t/twitch-auto-embed-broken/155473)

<div class="topic-metadata">

**Author:** [@Grandy](https://meta.discourse.org/u/Grandy)\
**回复:** 4\
**最近更新：:** [2020 年6 月 24 日 03:39 UTC](https://meta.discourse.org/t/twitch-auto-embed-broken/155473 "2020-06-24T03:39:12Z")

</div>

这来自我在 Discourse 论坛上发布的一个 Twitch 视频链接的自动嵌入。我查看了其他 Discourse 实例，也看到了同样的问题，所以可能我不是唯一一个遇到这种情况的人。 浏览器控制台报错…

---

## [双 Discourse API 系统的用途](https://meta.discourse.org/t/the-purpose-of-the-2-discourse-api-systems/155253)

<div class="topic-metadata">

**Author:** [@JQ331](https://meta.discourse.org/u/JQ331)\
**回复:** 5\
**最近更新：:** [2020 年6 月 24 日 00:39 UTC](https://meta.discourse.org/t/the-purpose-of-the-2-discourse-api-systems/155253 "2020-06-24T00:39:22Z")

</div>

我希望澄清两个 Discourse API 认证系统何时运行以及用于何种目的。 （来自此处）。这是我目前最好的理解： 管理 API，有时也称为 JSON API，可以使用…

---

## [将Discourse连接到Memberstack？](https://meta.discourse.org/t/connecting-discourse-to-memberstack/155734)

<div class="topic-metadata">

**Author:** [@Ariel\_Bissett](https://meta.discourse.org/u/Ariel_Bissett)\
**回复:** 1\
**最近更新：:** [2020 年6 月 24 日 00:12 UTC](https://meta.discourse.org/t/connecting-discourse-to-memberstack/155734 "2020-06-24T00:12:09Z")

</div>

我们正在用 webflow 设计我们的网站，我们喜欢 discourse 作为讨论区，但我们想添加来自 memberstack 的自定义用户资料！连接两个（discourse 资料 + memberstack 资料）最好的方法是什么……

---

## [容器内的 certbot 是否会影响容器外的新 certbot？](https://meta.discourse.org/t/is-it-possible-the-certbot-inside-the-container-can-affect-new-certbot-outside-it/155745)

<div class="topic-metadata">

**Author:** [@JKBaseer](https://meta.discourse.org/u/JKBaseer)\
**回复:** 0\
**最近更新：:** [2020 年6 月 23 日 23:00 UTC](https://meta.discourse.org/t/is-it-possible-the-certbot-inside-the-container-can-affect-new-certbot-outside-it/155745 "2020-06-23T23:00:28Z")

</div>

以下内容可能会非常令人困惑，因为我在 Ubuntu/Let's Encrypt 论坛上花了一整晚才弄清楚，但突然意识到这可能是 Discourse 的 Docker 问题。我可以提供任何具体信息，但让我先分享我所知道的……

---

## [能否将子类别的\*默认类别视图\*设置为“无”？](https://meta.discourse.org/t/is-it-possible-to-make-the-default-category-view-none-for-subcategories/151718)

<div class="topic-metadata">

**Author:** [@nathank](https://meta.discourse.org/u/nathank)\
**回复:** 5\
**最近更新：:** [2020 年6 月 23 日 22:30 UTC](https://meta.discourse.org/t/is-it-possible-to-make-the-default-category-view-none-for-subcategories/151718 "2020-06-23T22:30:52Z")

</div>

我指的是通过汉堡菜单、/categories 页面或自动生成的链接点击某个分类时。 目前你得到的是：https://meta.discourse.org/c/support/6 我希望它是：https://meta…

---

## [\# 快捷键在某些浏览器中行为异常](https://meta.discourse.org/t/the-shortcut-behaves-wrong-in-some-browsers/155531)

<div class="topic-metadata">

**Author:** [@helmi](https://meta.discourse.org/u/helmi)\
**回复:** 4\
**最近更新：:** [2020 年6 月 23 日 22:27 UTC](https://meta.discourse.org/t/the-shortcut-behaves-wrong-in-some-browsers/155531 "2020-06-23T22:27:23Z")

</div>

在帖子中按 # 键会弹出窗口，让您输入要跳转的帖子编号。 在某些浏览器中（仅在 macOS 10.15.5 上的 Safari 13.1.1 中看到此问题），# 字符会被直接填入表单字段中……

---

## [如何在\<head\>标签中插入Google Admobe代码](https://meta.discourse.org/t/how-to-insert-google-admobe-code-to-head-tag/155691)

<div class="topic-metadata">

**Author:** [@sharkdeng](https://meta.discourse.org/u/sharkdeng)\
**回复:** 8\
**最近更新：:** [2020 年6 月 23 日 20:43 UTC](https://meta.discourse.org/t/how-to-insert-google-admobe-code-to-head-tag/155691 "2020-06-23T20:43:14Z")

</div>

您好，我想将 Google AdMob 添加到我的网站 edu3d.co。 它需要将一段代码插入到 \`\` 标签中。 该如何操作？ 谢谢！

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

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