# Latest

**URL:** https://meta.discourse.org/latest.md?page=1309&state=tracking%EF%BC%89%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%BF%98%E6%83%B3%E5%85%B3%E6%B3%A8%E5%AE%83%E7%9A%84%E8%AF%9D%EF%BC%8C%E4%B9%9F%E5%80%BC%E5%BE%97%E6%9F%A5%E7%9C%8B%E4%B8%80%E4%B8%8B%E3%80%82

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

**Page:** 1310

---

## [如何在 AWS 上部署](https://meta.discourse.org/t/how-to-deploy-on-aws/134879)

<div class="topic-metadata">

**Author:** [@ParthParmar](https://meta.discourse.org/u/ParthParmar)\
**回覆:** 3\
**Last updated:** [2019年十二月3日 02:17 UTC](https://meta.discourse.org/t/how-to-deploy-on-aws/134879 "2019-12-03T02:17:56Z")

</div>

如何在亚马逊云服务（AWS）上安装 Discourse

---

## [隐藏“几个月后”通知](https://meta.discourse.org/t/hiding-x-months-later-notices/134930)

<div class="topic-metadata">

**Author:** [@calebs](https://meta.discourse.org/u/calebs)\
**回覆:** 4\
**Last updated:** [2019年十二月3日 00:56 UTC](https://meta.discourse.org/t/hiding-x-months-later-notices/134930 "2019-12-03T00:56:06Z")

</div>

最近有很多新成员加入了我们的 Discourse。其中一些成员在回复非常旧的帖子。我的问题是，是否有可能隐藏新回复上方显示的“X 个月后”提示？

---

## [Dotnetnuke SSO 模块](https://meta.discourse.org/t/dotnetnuke-sso-module/134914)

<div class="topic-metadata">

**Author:** [@vincentp](https://meta.discourse.org/u/vincentp)\
**回覆:** 0\
**Last updated:** [2019年十二月2日 22:06 UTC](https://meta.discourse.org/t/dotnetnuke-sso-module/134914 "2019-12-02T22:06:04Z")

</div>

大家好， 我已将我的 Dotnet Nuke SSO 模块的源代码发布出来。 该代码基于一年前我在某处找到的一些代码修改而成（具体来源已记不清，但当时的许可是“随意使用”）——原始代码如下…

---

## [所有员工都能看到所有待处理的邀请吗？](https://meta.discourse.org/t/can-all-staff-see-all-pending-invites/134878)

<div class="topic-metadata">

**Author:** [@rdprickett](https://meta.discourse.org/u/rdprickett)\
**回覆:** 3\
**Last updated:** [2019年十二月2日 18:11 UTC](https://meta.discourse.org/t/can-all-staff-see-all-pending-invites/134878 "2019-12-02T18:11:24Z")

</div>

我们有几位管理员负责管理我们的 Discourse 论坛。但是，当我们查看被邀请的用户（即被邀请加入论坛的用户，而不仅仅是被邀请参与某个话题的用户）时，每位管理员只能看到自己发送的邀请。这是...

---

## [删除账户后](https://meta.discourse.org/t/after-delete-account/134884)

<div class="topic-metadata">

**Author:** [@NotAnonymous](https://meta.discourse.org/u/NotAnonymous)\
**回覆:** 1\
**Last updated:** [2019年十二月2日 17:04 UTC](https://meta.discourse.org/t/after-delete-account/134884 "2019-12-02T17:04:55Z")

</div>

我正在寻找一个类似于 after\_create\_account 的钩子，但用于用户删除账户之后。我们有一个自定义的身份验证插件，它会在创建新账户时将一些信息存储到数据库表中。当用户删除账户时……

---

## [更改用户名创建规则](https://meta.discourse.org/t/change-the-username-creation-rule/134882)

<div class="topic-metadata">

**Author:** [@Vincent\_Verdeil](https://meta.discourse.org/u/Vincent_Verdeil)\
**回覆:** 1\
**Last updated:** [2019年十二月2日 16:51 UTC](https://meta.discourse.org/t/change-the-username-creation-rule/134882 "2019-12-02T16:51:28Z")

</div>

您好， 我们的用户通过单点登录（SSO）创建，其默认用户名遵循以下规则：firstname.name。 我希望默认用户名格式为 Firstname\_Name，请问有办法实现吗？

---

## [“最近使用的设备”部分受“canCheckEmails”保护，这似乎出乎意料](https://meta.discourse.org/t/recently-used-devices-section-is-guarded-by-cancheckemails-which-seems-unexpected/134871)

<div class="topic-metadata">

**Author:** [@Hooksmith](https://meta.discourse.org/u/Hooksmith)\
**回覆:** 1\
**Last updated:** [2019年十二月2日 15:54 UTC](https://meta.discourse.org/t/recently-used-devices-section-is-guarded-by-cancheckemails-which-seems-unexpected/134871 "2019-12-02T15:54:16Z")

</div>

如所见： 首选项 \> 账户中此部分的可见性： 似乎受用户能否检查其自身邮件的条件保护。作为一名插件开发者，这对我来说是意想不到的行为，因为...

---

## [无需 iframe 的亚马逊联盟广告](https://meta.discourse.org/t/amazon-affiliate-ads-without-iframe/134765)

<div class="topic-metadata">

**Author:** [@aaronpk](https://meta.discourse.org/u/aaronpk)\
**回覆:** 1\
**Last updated:** [2019年十二月2日 15:33 UTC](https://meta.discourse.org/t/amazon-affiliate-ads-without-iframe/134765 "2019-12-02T15:33:55Z")

</div>

看来亚马逊不再提供其广告用的 iframe 代码了。我现在只能选择复制 JavaScript 代码。 是否有计划更新广告插件以支持新的 JavaScript 广告？

---

## [在主题中创建指向特定标题的链接](https://meta.discourse.org/t/creating-links-to-a-particular-header-in-a-topic/134870)

<div class="topic-metadata">

**Author:** [@craigconstantine](https://meta.discourse.org/u/craigconstantine)\
**回覆:** 1\
**Last updated:** [2019年十二月2日 15:07 UTC](https://meta.discourse.org/t/creating-links-to-a-particular-header-in-a-topic/134870 "2019-12-02T15:07:49Z")

</div>

我在这里看到过一个关于如何操作的帖子，但现在找不到了…… ... 然后像 /t/foo-topic/42#whatever 这样的链接就能让浏览器视图跳转到该标题处。

---

## [Freeze first row](https://meta.discourse.org/t/freeze-first-row/72649)

<div class="topic-metadata">

**Author:** [@communitygal](https://meta.discourse.org/u/communitygal)\
**回覆:** 4\
**Last updated:** [2017年十月23日 23:03 UTC](https://meta.discourse.org/t/freeze-first-row/72649 "2017-10-23T23:03:44Z")

</div>

hi all, Is it possible to freeze the first row and prevent it from disappearing upon scroll? We would like to keep this piece sticky as users scroll through community threads. Thanks, Emma

---

## [您需要申请会员资格——但我已经是会员了](https://meta.discourse.org/t/you-need-to-request-membership-but-im-already-a-member/128502)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 3\
**Last updated:** [2019年十二月2日 14:19 UTC](https://meta.discourse.org/t/you-need-to-request-membership-but-im-already-a-member/128502 "2019-12-02T14:19:52Z")

</div>

当我尝试访问此主题 https://meta.discourse.org/t/google-adsense-plugin/11763 时，由于我们正在逐步淘汰“非官方”Adsense 插件，我收到了以下错误消息： 然而，我是该插件作者……

---

## [升级从 2.3.2 到 2.3.6 失败，原因是 discourse assign 插件](https://meta.discourse.org/t/failed-upgrade-from-2-3-2-to-2-3-6-due-to-discourse-assign-plugin/134841)

<div class="topic-metadata">

**Author:** [@nahimov](https://meta.discourse.org/u/nahimov)\
**回覆:** 5\
**Last updated:** [2019年十二月2日 14:02 UTC](https://meta.discourse.org/t/failed-upgrade-from-2-3-2-to-2-3-6-due-to-discourse-assign-plugin/134841 "2019-12-02T14:02:48Z")

</div>

当我尝试从 2.3.2 升级到 2.3.6 时，出现以下错误： I, \[2019-12-02T07:43:47.773465 #1\] INFO -- : \> cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' rake aborted! ArgumentError: Unknown mig…

---

## [插件部分无法正常工作](https://meta.discourse.org/t/plugins-section-not-working-properly/134713)

<div class="topic-metadata">

**Author:** [@christian\_01](https://meta.discourse.org/u/christian_01)\
**回覆:** 6\
**Last updated:** [2019年十二月2日 13:34 UTC](https://meta.discourse.org/t/plugins-section-not-working-properly/134713 "2019-12-02T13:34:58Z")

</div>

不确定这里出了什么问题，但我的插件部分无法正常工作。点击标签页时，没有任何设置打开，只显示空白！我已经尝试重建了三次。 有什么建议吗？

---

## [Windows 上 localhost 加载缓慢](https://meta.discourse.org/t/slow-loading-on-localhost-on-windows/134842)

<div class="topic-metadata">

**Author:** [@ParthParmar](https://meta.discourse.org/u/ParthParmar)\
**回覆:** 3\
**Last updated:** [2019年十二月2日 08:01 UTC](https://meta.discourse.org/t/slow-loading-on-localhost-on-windows/134842 "2019-12-02T08:01:47Z")

</div>

我已在 Windows 的 localhost 上安装了 Discourse，但问题是加载速度非常非常慢。

---

## [编辑帖子将其置顶至最新列表](https://meta.discourse.org/t/editing-pops-topic-to-top-of-latest/134831)

<div class="topic-metadata">

**Author:** [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)\
**回覆:** 5\
**Last updated:** [2019年十二月2日 07:40 UTC](https://meta.discourse.org/t/editing-pops-topic-to-top-of-latest/134831 "2019-12-02T07:40:34Z")

</div>

在我的论坛上，对主题中任何帖子的编辑都会将该主题顶至“最新”列表的顶部，这有时会造成混淆。但当 @codinghorror（不可避免地 :slight\_smile:）在 meta.discourse.org 上编辑我的帖子时，并不会将其顶起…

---

## [查看TL4（Leader）用户的活动](https://meta.discourse.org/t/seeing-activity-of-tl4-leader-users/134799)

<div class="topic-metadata">

**Author:** [@martinmodrak](https://meta.discourse.org/u/martinmodrak)\
**回覆:** 0\
**Last updated:** [2019年十二月1日 14:08 UTC](https://meta.discourse.org/t/seeing-activity-of-tl4-leader-users/134799 "2019-12-01T14:08:07Z")

</div>

你好， 我是 Discourse 网站的版主。我希望能够查看 TL4 用户（非版主）对帖子进行的编辑、标记等操作列表。在 admin/dashboard/moderation 页面中，我看到了相关统计数据，但仅适用于版主……

---

## [对于长主题实例，缺乏分页如何影响体验？](https://meta.discourse.org/t/for-those-instances-with-long-topics-how-has-lack-of-pagination-affected-the-experience/134687)

<div class="topic-metadata">

**Author:** [@polarathene](https://meta.discourse.org/u/polarathene)\
**回覆:** 5\
**Last updated:** [2019年十一月30日 16:03 UTC](https://meta.discourse.org/t/for-those-instances-with-long-topics-how-has-lack-of-pagination-affected-the-experience/134687 "2019-11-30T16:03:04Z")

</div>

目前正在使用基于旧版 PHP 分页的论坛，并正在评估 Discourse。我记得之前有强烈反对支持分页主题（以及类似 Reddit 的嵌套讨论线程）的立场。我希望能……

---

## [使用第三方（自定义）逻辑进行身份验证](https://meta.discourse.org/t/authentication-using-3rd-party-custom-logic/131367)

<div class="topic-metadata">

**Author:** [@Jose\_C\_Gomez](https://meta.discourse.org/u/Jose_C_Gomez)\
**回覆:** 1\
**Last updated:** [2019年十一月30日 16:01 UTC](https://meta.discourse.org/t/authentication-using-3rd-party-custom-logic/131367 "2019-11-30T16:01:27Z")

</div>

我正在尝试编写一个插件，允许您使用一些“自定义”逻辑登录 Discourse。不需要用户名和密码，可能是您生成的 PIN 码或一次性令牌。我愿意编写相关逻辑等，但我…

---

## [SSO 登录页面未显示](https://meta.discourse.org/t/sso-login-page-not-showing-up/132261)

<div class="topic-metadata">

**Author:** [@cgcs](https://meta.discourse.org/u/cgcs)\
**回覆:** 4\
**Last updated:** [2019年十一月30日 15:53 UTC](https://meta.discourse.org/t/sso-login-page-not-showing-up/132261 "2019-11-30T15:53:39Z")

</div>

我遵循了官方 SSO 线程，但似乎无法让通用登录页面显示出来。 当我仅启用 OAuth 时，它正常工作。我使用“使用 Auth0 登录”按钮成功登录，没有任何问题。但当我启用 SSO 后，它重定向…

---

## [修复用户在添加链接时选择的多余空格](https://meta.discourse.org/t/fix-extra-spaces-a-user-selects-when-adding-a-link/133568)

<div class="topic-metadata">

**Author:** [@Cardinalflyer](https://meta.discourse.org/u/Cardinalflyer)\
**回覆:** 5\
**Last updated:** [2019年十一月30日 14:46 UTC](https://meta.discourse.org/t/fix-extra-spaces-a-user-selects-when-adding-a-link/133568 "2019-11-30T14:46:24Z")

</div>

这里有个小细节我老是遇到：在帖子编辑中添加文本链接时，如果选区包含了前导空格，该空格会在处理过程中被吞掉。 在 Meta 上测试前导空格。没错，它确实…

---

## [团队组建插件发布？](https://meta.discourse.org/t/team-building-plugin-release/132989)

<div class="topic-metadata">

**Author:** [@flyingdojo](https://meta.discourse.org/u/flyingdojo)\
**回覆:** 3\
**Last updated:** [2019年十一月28日 15:50 UTC](https://meta.discourse.org/t/team-building-plugin-release/132989 "2019-11-28T15:50:50Z")

</div>

这会在某天发布吗？使用它将会非常有趣，我们相信社区也会从中受益匪浅！ @eviltrout @codinghorror

---

## [\[Tribe\] 可能是话语竞争者](https://meta.discourse.org/t/tribe-may-be-a-discourse-competitor/133595)

<div class="topic-metadata">

**Author:** [@burningman](https://meta.discourse.org/u/burningman)\
**回覆:** 3\
**Last updated:** [2019年十一月29日 22:46 UTC](https://meta.discourse.org/t/tribe-may-be-a-discourse-competitor/133595 "2019-11-29T22:46:28Z")

</div>

我使用 Discourse 已经两年了，对其服务非常满意。今天，我在浏览“Appsumo”时，发现了一个名为“Tribe”的云端社区平台交易。起初，我并没有关注这个……

---

## [如何在主题组件中访问自定义字段？](https://meta.discourse.org/t/how-do-i-access-custom-fields-in-a-theme-component/134701)

<div class="topic-metadata">

**Author:** [@bartv](https://meta.discourse.org/u/bartv)\
**回覆:** 1\
**Last updated:** [2019年十一月29日 15:21 UTC](https://meta.discourse.org/t/how-do-i-access-custom-fields-in-a-theme-component/134701 "2019-11-29T15:21:18Z")

</div>

在“我们模糊 NSFW 内容的解决方案”中，我使用了以下代码片段来访问用户字段的值。这似乎不再起作用——\`u.custom\_fields\` 不再包含任何数据： \`\`\`javascript var u = Discourse.… \`\`\`

---

## [更改用户名的后果是什么？](https://meta.discourse.org/t/what-are-the-consequences-of-changing-a-user-username/134723)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回覆:** 1\
**Last updated:** [2019年十一月29日 21:30 UTC](https://meta.discourse.org/t/what-are-the-consequences-of-changing-a-user-username/134723 "2019-11-29T21:30:14Z")

</div>

我已迁移了一个旧版（15 年以上）的 phpBB 论坛，用户名由 Discourse 自动设置。 目前我允许用户在创建账户后无期限地更改用户名。 是否存在一…

---

## [Discord 的 Discourse 信任等级](https://meta.discourse.org/t/discourse-trust-levels-for-discord/108232)

<div class="topic-metadata">

**Author:** [@Watercolor\_Games](https://meta.discourse.org/u/Watercolor_Games)\
**回覆:** 61\
**Last updated:** [2019年十一月29日 20:33 UTC](https://meta.discourse.org/t/discourse-trust-levels-for-discord/108232 "2019-11-29T20:33:05Z")

</div>

大家好！我一直非常喜欢 Discourse 聊天集成插件，但我开始思考将 Discourse 与 Discord 集成的其他方式。我想到了一个相当不错的点子——将 Tru…

---

## [Rake api\_key:get 功能失效](https://meta.discourse.org/t/rake-api-key-get-broken/132948)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回覆:** 16\
**Last updated:** [2019年十一月29日 19:37 UTC](https://meta.discourse.org/t/rake-api-key-get-broken/132948 "2019-11-29T19:37:46Z")

</div>

好吧，安装失败了（我的安装脚本会获取一个 API 密钥，以便设置 mailgun\_api\_key）。我还在本地开发实例上进行了检查。 $ rake api\_key:get rake aborted! NoMethodError: 未定义方法 \`create\_master…

---

## [能否翻转帖子中评论日期的顺序？](https://meta.discourse.org/t/can-the-order-of-the-comment-dates-on-a-post-be-flipped/134677)

<div class="topic-metadata">

**Author:** [@Avraham](https://meta.discourse.org/u/Avraham)\
**回覆:** 4\
**Last updated:** [2019年十一月29日 17:34 UTC](https://meta.discourse.org/t/can-the-order-of-the-comment-dates-on-a-post-be-flipped/134677 "2019-11-29T17:34:21Z")

</div>

我注意到帖子的评论是从旧到新排列的。 这导致用户必须向下滚动（或拖动评论栏）到底部。 是否有设置可以将最新评论置顶？

---

## [修复移动端创建主题/回复按钮的问题？](https://meta.discourse.org/t/fixed-create-topic-reply-button-in-mobile/134694)

<div class="topic-metadata">

**Author:** [@hosna](https://meta.discourse.org/u/hosna)\
**回覆:** 2\
**Last updated:** [2023年十一月3日 14:15 UTC](https://meta.discourse.org/t/fixed-create-topic-reply-button-in-mobile/134694 "2023-11-03T14:15:11Z")

</div>

是否有主题或主题组件包含用于创建主题或回复现有主题的固定按钮？我的用户在学会如何操作时遇到了困难。

---

## [Groups: 如果标准标题等于完整标题，则 ID 会在 /groups 上显示](https://meta.discourse.org/t/groups-if-standard-title-full-title-then-the-id-gets-shown-on-groups/124941)

<div class="topic-metadata">

**Author:** [@Krischan](https://meta.discourse.org/u/Krischan)\
**回覆:** 2\
**Last updated:** [2019年十一月29日 07:38 UTC](https://meta.discourse.org/t/groups-if-standard-title-full-title-then-the-id-gets-shown-on-groups/124941 "2019-11-29T07:38:03Z")

</div>

导致 我期望看到完整标题，但这是否是预期行为？

---

## [通过 UNIX 套接字使用外部 NGINX 代理修复 SSL 混合内容错误](https://meta.discourse.org/t/fixing-ssl-mixed-content-errors-with-external-nginx-proxy-via-unix-socket/134683)

<div class="topic-metadata">

**Author:** [@kmm](https://meta.discourse.org/u/kmm)\
**回覆:** 1\
**Last updated:** [2019年十一月29日 06:32 UTC](https://meta.discourse.org/t/fixing-ssl-mixed-content-errors-with-external-nginx-proxy-via-unix-socket/134683 "2019-11-29T06:32:19Z")

</div>

你好， 我最近使用“socketed”模板在我的现有 NGINX 服务器后部署了一个 Discourse 实例。运行正常，但我收到了来自 Web Worker 进程的混合内容警告……

[上一頁](https://meta.discourse.org/latest.md?page=1308&state=tracking%EF%BC%89%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%BF%98%E6%83%B3%E5%85%B3%E6%B3%A8%E5%AE%83%E7%9A%84%E8%AF%9D%EF%BC%8C%E4%B9%9F%E5%80%BC%E5%BE%97%E6%9F%A5%E7%9C%8B%E4%B8%80%E4%B8%8B%E3%80%82)

[下一頁](https://meta.discourse.org/latest.md?page=1310&state=tracking%EF%BC%89%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%BD%A0%E8%BF%98%E6%83%B3%E5%85%B3%E6%B3%A8%E5%AE%83%E7%9A%84%E8%AF%9D%EF%BC%8C%E4%B9%9F%E5%80%BC%E5%BE%97%E6%9F%A5%E7%9C%8B%E4%B8%80%E4%B8%8B%E3%80%82)
