# Latest

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

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

**Page:** 1311

---

## [综合页面浏览量：私有社区中的登录用户与匿名用户对比](https://meta.discourse.org/t/consolidated-pageviews-logged-in-users-vs-anonymous-in-a-private-community/137271)

<div class="topic-metadata">

**Author:** [@smileypants707](https://meta.discourse.org/u/smileypants707)\
**回复:** 1\
**最近更新：:** [2019 年12 月 29 日 10:08 UTC](https://meta.discourse.org/t/consolidated-pageviews-logged-in-users-vs-anonymous-in-a-private-community/137271 "2019-12-29T10:08:59Z")

</div>

这里是新手问题之王，又来提问了。 在我的管理仪表板中，我可以看到整合后的页面浏览量。对于每一天，都有已登录用户、匿名用户和网络爬虫的统计数据。 我的社区目前设置为…

---

## [如何激励访客发布首贴？](https://meta.discourse.org/t/how-to-inspire-visitors-to-make-the-first-post/112336)

<div class="topic-metadata">

**Author:** [@William\_Entriken](https://meta.discourse.org/u/William_Entriken)\
**回复:** 23\
**最近更新：:** [2019 年12 月 28 日 23:41 UTC](https://meta.discourse.org/t/how-to-inspire-visitors-to-make-the-first-post/112336 "2019-12-28T23:41:20Z")

</div>

我们已为新的社区实施了单点登录，并在我们的一项课程（我们销售培训）中添加了直接链接到 Discourse 中某个主题的深层链接。 许多人“注册”了 Discourse（基本上……

---

## [邮件内容最大宽度](https://meta.discourse.org/t/email-content-max-width/137069)

<div class="topic-metadata">

**Author:** [@Bcat](https://meta.discourse.org/u/Bcat)\
**回复:** 1\
**最近更新：:** [2019 年12 月 28 日 03:38 UTC](https://meta.discourse.org/t/email-content-max-width/137069 "2019-12-28T03:38:04Z")

</div>

目前，当用户发送短信或提及他人时，系统会发送邮件。 邮件内容将占满整个邮件窗口的 100%。 那么如何设置邮件的最大宽度？例如 650 像素？ 我尝试了以下方法，但未能成功…

---

## [如何让用户发送邀请？](https://meta.discourse.org/t/how-can-i-let-users-send-invites/137240)

<div class="topic-metadata">

**Author:** [@ianharris](https://meta.discourse.org/u/ianharris)\
**回复:** 4\
**最近更新：:** [2019 年12 月 28 日 20:12 UTC](https://meta.discourse.org/t/how-can-i-let-users-send-invites/137240 "2019-12-28T20:12:47Z")

</div>

你好， 是否有人知道如何让用户邀请其他人加入论坛？ 我已设置为 TL2 用户可以发送邀请，但在界面中找不到发送邀请的位置。 有什么建议吗？ 谢谢！ Ian

---

## [用户关闭后，横幅主题何时会再次显示？](https://meta.discourse.org/t/when-will-banner-topic-show-again-after-user-close-it/137249)

<div class="topic-metadata">

**Author:** [@wonmew](https://meta.discourse.org/u/wonmew)\
**回复:** 1\
**最近更新：:** [2019 年12 月 28 日 20:08 UTC](https://meta.discourse.org/t/when-will-banner-topic-show-again-after-user-close-it/137249 "2019-12-28T20:08:14Z")

</div>

目前，我能让它再次显示的唯一方法是清除所有 Cookie。我能否设置它在用户关闭后多久再次显示？ 我想将横幅主题的刷新时间设置为 1 天，这样每个人第一次……

---

## [禁止用户删除自己的帖子](https://meta.discourse.org/t/forbidding-users-to-delete-their-own-posts/137226)

<div class="topic-metadata">

**Author:** [@Mr.X\_Mr.X](https://meta.discourse.org/u/Mr.X_Mr.X)\
**回复:** 3\
**最近更新：:** [2019 年12 月 28 日 18:04 UTC](https://meta.discourse.org/t/forbidding-users-to-delete-their-own-posts/137226 "2019-12-28T18:04:01Z")

</div>

有没有办法阻止用户删除自己的帖子？看到用户过了一段时间后删除自己的帖子，导致其他成员回答的帖子消失，使话题陷入混乱，这确实令人沮丧……

---

## [Difference between socket- and port-based connection to outer NGINX?](https://meta.discourse.org/t/difference-between-socket-and-port-based-connection-to-outer-nginx/60071)

<div class="topic-metadata">

**Author:** [@tophee](https://meta.discourse.org/u/tophee)\
**回复:** 10\
**最近更新：:** [2019 年12 月 28 日 13:31 UTC](https://meta.discourse.org/t/difference-between-socket-and-port-based-connection-to-outer-nginx/60071 "2019-12-28T13:31:57Z")

</div>

If I understand things correctly there are two ways of configuring your discourse instance behind an NGINX server: with a socket connection (as described here) by exposing some port of the container and telling the out…

---

## [如何绕过激活邮件](https://meta.discourse.org/t/can-you-bypass-the-activation-email/136830)

<div class="topic-metadata">

**Author:** [@paultaylor](https://meta.discourse.org/u/paultaylor)\
**回复:** 4\
**最近更新：:** [2019 年12 月 28 日 08:17 UTC](https://meta.discourse.org/t/can-you-bypass-the-activation-email/136830 "2019-12-28T08:17:25Z")

</div>

通过 API 创建用户时设置了 activate 为 true，在管理后台查看该用户时显示已激活。但尝试以该用户身份登录时却提示： 您暂时无法登录。我们之前已发送了一封激活邮件…

---

## [如何禁用文件上传，仅允许头像](https://meta.discourse.org/t/how-to-disable-file-uploads-except-avatars/137165)

<div class="topic-metadata">

**Author:** [@nparab](https://meta.discourse.org/u/nparab)\
**回复:** 5\
**最近更新：:** [2019 年12 月 28 日 07:55 UTC](https://meta.discourse.org/t/how-to-disable-file-uploads-except-avatars/137165 "2019-12-28T07:55:33Z")

</div>

我正在设置一个新论坛，不需要帖子图片上传。此外，我的托管空间有限，因为我正在使用 DO 的 5 美元套餐。 如何在 Discourse 中禁用文件上传（头像除外）？我没有看到相关选项 …

---

## [Discourse Docker 镜像未签名](https://meta.discourse.org/t/discourse-docker-images-are-not-signed/137181)

<div class="topic-metadata">

**Author:** [@jenslauterbach](https://meta.discourse.org/u/jenslauterbach)\
**回复:** 16\
**最近更新：:** [2019 年12 月 28 日 05:50 UTC](https://meta.discourse.org/t/discourse-docker-images-are-not-signed/137181 "2019-12-28T05:50:25Z")

</div>

你好， 我目前正在尝试在一台新机器上设置 Discourse。我已检出 discourse\_docker 仓库并运行了 ./launcher rebuild app。（由于我之前已有配置，因此跳过了初始化步骤）。 重建…

---

## [Discourse 作为私人论坛](https://meta.discourse.org/t/discourse-as-private-forum/137176)

<div class="topic-metadata">

**Author:** [@harmstra](https://meta.discourse.org/u/harmstra)\
**回复:** 2\
**最近更新：:** [2019 年12 月 28 日 00:13 UTC](https://meta.discourse.org/t/discourse-as-private-forum/137176 "2019-12-28T00:13:02Z")

</div>

是否可以将 Discourse 用作私密讨论平台？即只有在注册后才能阅读帖子？

---

## [升级时出错：ENOENT：无此文件或目录](https://meta.discourse.org/t/error-enoent-no-such-file-or-directory-on-upgrading/135325)

<div class="topic-metadata">

**Author:** [@kgreed](https://meta.discourse.org/u/kgreed)\
**回复:** 9\
**最近更新：:** [2019 年12 月 28 日 00:06 UTC](https://meta.discourse.org/t/error-enoent-no-such-file-or-directory-on-upgrading/135325 "2019-12-28T00:06:34Z")

</div>

我刚刚启动了托管在 Linode 上的 Discourse 最新版本升级。 Docker 升级顺利完成。 但在升级 Discourse 时出现错误： 抱歉，Discourse 升级过程中发生错误。请查看下方的日志…

---

## [附加导入 \> 未导入任何帖子（已解决）](https://meta.discourse.org/t/appending-an-import-it-didnt-import-any-posts-solved/137082)

<div class="topic-metadata">

**Author:** [@Queth](https://meta.discourse.org/u/Queth)\
**回复:** 4\
**最近更新：:** [2019 年12 月 27 日 21:04 UTC](https://meta.discourse.org/t/appending-an-import-it-didnt-import-any-posts-solved/137082 "2019-12-27T21:04:13Z")

</div>

你好， 编辑：抱歉发错了分类。另外，看来我一直在使用旧数据库，所以它没有添加任何内容并不奇怪；p 正在尝试使用新数据库，希望这次能成功…

---

## [最新重建已损坏](https://meta.discourse.org/t/latest-rebuild-broken/134962)

<div class="topic-metadata">

**Author:** [@zsero](https://meta.discourse.org/u/zsero)\
**回复:** 22\
**最近更新：:** [2019 年12 月 27 日 15:21 UTC](https://meta.discourse.org/t/latest-rebuild-broken/134962 "2019-12-27T15:21:52Z")

</div>

我有一个长期运行的系统，之前从未出现过任何问题。我一直通过完全重建的方式进行升级，从不使用内置升级功能。 最近我执行了 apt-get upgrade，将 Docker 升级到 19.03.5，并尝试进行重建，但……

---

## [WP Discourse 显示错误的论坛链接](https://meta.discourse.org/t/wp-discourse-showing-wrong-links-to-forum/136901)

<div class="topic-metadata">

**Author:** [@renem](https://meta.discourse.org/u/renem)\
**回复:** 6\
**最近更新：:** [2019 年12 月 27 日 14:30 UTC](https://meta.discourse.org/t/wp-discourse-showing-wrong-links-to-forum/136901 "2019-12-27T14:30:31Z")

</div>

我不太确定这种情况是从什么时候开始的。我们使用 Discourse 和 WP Discourse 已有几年，此前从未遇到过任何问题。 帖子下方的评论链接有时显示错误的 URL。例如，他…

---

## [cakeday 插件问题](https://meta.discourse.org/t/problem-with-the-cakeday-plugin/136968)

<div class="topic-metadata">

**Author:** [@andre.mendes](https://meta.discourse.org/u/andre.mendes)\
**回复:** 5\
**最近更新：:** [2023 年10 月 22 日 10:00 UTC](https://meta.discourse.org/t/problem-with-the-cakeday-plugin/136968 "2023-10-22T10:00:12Z")

</div>

大家好， 我在 cakeday 插件上遇到了问题。我是一名巴西开发者，正在使用 Discourse 开发一个应用。当使用 cakeday 时，日期旁边会出现一些随机数字，例如： 24 66 十二月 我……

---

## [category.isGrandParent?](https://meta.discourse.org/t/category-isgrandparent/137127)

<div class="topic-metadata">

**Author:** [@rogerco](https://meta.discourse.org/u/rogerco)\
**回复:** 1\
**最近更新：:** [2019 年12 月 27 日 03:37 UTC](https://meta.discourse.org/t/category-isgrandparent/137127 "2019-12-27T03:37:46Z")

</div>

似乎不允许子类别的子类别（很遗憾，但事实如此） 不过，在寻找其他内容时，我偶然发现了 discourse/app/assets/javascripts/discourse/model… 中的一个函数 isGrandparent()。

---

## [Elastic Email 未收到激活邮件](https://meta.discourse.org/t/no-activation-email-elastic-email/128636)

<div class="topic-metadata">

**Author:** [@chfcb](https://meta.discourse.org/u/chfcb)\
**回复:** 6\
**最近更新：:** [2019 年12 月 27 日 02:07 UTC](https://meta.discourse.org/t/no-activation-email-elastic-email/128636 "2019-12-27T02:07:13Z")

</div>

您好， 首先：抱歉我的英语不好。我不是母语者。 我在根服务器上安装了 Discourse。 我过去/现在在子域名 discourse.mydomain.de1 上遇到了一些问题……但现在它已经可以工作了……或多或少吧。 我继续……

---

## [reply\_count 和 post\_count 有什么区别？](https://meta.discourse.org/t/whats-the-difference-between-reply-count-and-post-count/137118)

<div class="topic-metadata">

**Author:** [@tkrunning](https://meta.discourse.org/u/tkrunning)\
**回复:** 2\
**最近更新：:** [2019 年12 月 26 日 23:56 UTC](https://meta.discourse.org/t/whats-the-difference-between-reply-count-and-post-count/137118 "2019-12-26T23:56:11Z")

</div>

大家好，我正在尝试获取当前登录用户的主题数量和回复数量，因此我想通过检查 /session/current.json 来获取这两项数据。topic\_count 返回了我预期的结果，但 reply\_count 非常不同…

---

## [具有离线访问权限的 Discourse 从属实例](https://meta.discourse.org/t/discourse-slave-instance-with-offline-access/104052)

<div class="topic-metadata">

**Author:** [@antulik](https://meta.discourse.org/u/antulik)\
**回复:** 3\
**最近更新：:** [2019 年12 月 26 日 21:18 UTC](https://meta.discourse.org/t/discourse-slave-instance-with-offline-access/104052 "2019-12-26T21:18:28Z")

</div>

背景 我们为澳大利亚 Ruby 社区托管了一个云端的 Discourse 实例（我将称之为“主站”）。我们每半年举办一次 RailsCamp 活动。那时，我们会在一个偏远地点共度整个周末……

---

## [无法在 Markdown 扩展中导入 Discourse 库](https://meta.discourse.org/t/cannot-import-discourse-libs-in-markdown-extensions/137077)

<div class="topic-metadata">

**Author:** [@jack2](https://meta.discourse.org/u/jack2)\
**回复:** 1\
**最近更新：:** [2019 年12 月 26 日 20:22 UTC](https://meta.discourse.org/t/cannot-import-discourse-libs-in-markdown-extensions/137077 "2019-12-26T20:22:56Z")

</div>

继续讨论“开发者 Markdown 扩展指南”： 我的扩展代码如下： import { iconHTML } from 'discourse-common/lib/icon-library'; export function setup(helper) { ... } 当 doi…

---

## [在 2.3.8 版本中重建出错](https://meta.discourse.org/t/error-rebuilding-on-2-3-8/136992)

<div class="topic-metadata">

**Author:** [@schneidmaster](https://meta.discourse.org/u/schneidmaster)\
**回复:** 5\
**最近更新：:** [2019 年12 月 26 日 19:47 UTC](https://meta.discourse.org/t/error-rebuilding-on-2-3-8/136992 "2019-12-26T19:47:28Z")

</div>

你好！ 我的 containers/app.yml 中设置了 revision: stable，当前解析为 v2.3.8。在尝试重新构建容器时出现错误： I, \[2019-12-24T17:46:51.163113 #1\] INFO -- : \> cd /var/www/dis…

---

## [成人专属类别徽章](https://meta.discourse.org/t/badges-for-adult-only-category/137102)

<div class="topic-metadata">

**Author:** [@dfabulich](https://meta.discourse.org/u/dfabulich)\
**回复:** 6\
**最近更新：:** [2019 年12 月 26 日 18:23 UTC](https://meta.discourse.org/t/badges-for-adult-only-category/137102 "2019-12-26T18:23:54Z")

</div>

我们的论坛设有一个“仅限成人”的分类，其中的帖子不对外公开。尽管如此，该分类依然很受欢迎，获得了大量的点赞和回复。 目前，“仅限成人”分类不会生成徽章，…

---

## [全新安装遇到 Let’s Encrypt 错误](https://meta.discourse.org/t/fresh-installation-with-let-s-encrypt-errors/137064)

<div class="topic-metadata">

**Author:** [@wanghaisheng](https://meta.discourse.org/u/wanghaisheng)\
**回复:** 18\
**最近更新：:** [2019 年12 月 26 日 18:02 UTC](https://meta.discourse.org/t/fresh-installation-with-let-s-encrypt-errors/137064 "2019-12-26T18:02:59Z")

</div>

成功进入应用容器，这是否表示我的域名被 Encrypt 限制了？ root@docker-s-1vcpu-2gb-sgp1-01-app:/shared/letsencrypt# ./acme.sh --issue -d bbs.antivte.com -k 4096 -w /var/www/discourse/public --debu…

---

## [缺少空格 \[de\]](https://meta.discourse.org/t/missing-space-de/137095)

<div class="topic-metadata">

**Author:** [@Nisutec](https://meta.discourse.org/u/Nisutec)\
**回复:** 2\
**最近更新：:** [2019 年12 月 26 日 16:50 UTC](https://meta.discourse.org/t/missing-space-de/137095 "2019-12-26T16:50:58Z")

</div>

在德语的高级教程对话框中缺少一个空格。 谁能给对话框添加这个空格。

---

## [无法使用 G Suite 接收电子邮件](https://meta.discourse.org/t/i-cant-receive-email-by-using-g-suite/137092)

<div class="topic-metadata">

**Author:** [@wonmew](https://meta.discourse.org/u/wonmew)\
**回复:** 3\
**最近更新：:** [2019 年12 月 26 日 15:35 UTC](https://meta.discourse.org/t/i-cant-receive-email-by-using-g-suite/137092 "2019-12-26T15:35:55Z")

</div>

DISCOURSE\_DEVELOPER\_EMAILS: me@mydomain.com DISCOURSE\_SMTP\_ADDRESS: smtp.gmail.com DISCOURSE\_SMTP\_PORT: 587 DISCOURSE\_SMTP\_USER\_NAME: me@mydomain.com DISCOURSE\_SMTP\_PASSWORD: 我的密码 它无法工作，我卡在这里了 …

---

## [快速显示“注册 CTA”](https://meta.discourse.org/t/showing-signup-cta-quickly/137016)

<div class="topic-metadata">

**Author:** [@nujabes](https://meta.discourse.org/u/nujabes)\
**回复:** 4\
**最近更新：:** [2019 年12 月 26 日 03:57 UTC](https://meta.discourse.org/t/showing-signup-cta-quickly/137016 "2019-12-26T03:57:09Z")

</div>

我可以看到我的“注册 CTA”，但它似乎要在大约 5 分钟后才会显示。 我如何将这“5 分钟”改为“0 分钟”？

---

## [帖子中单个表格的 CSS](https://meta.discourse.org/t/css-for-individual-tables-in-a-post/87284)

<div class="topic-metadata">

**Author:** [@BlackKnob](https://meta.discourse.org/u/BlackKnob)\
**回复:** 12\
**最近更新：:** [2019 年12 月 26 日 03:52 UTC](https://meta.discourse.org/t/css-for-individual-tables-in-a-post/87284 "2019-12-26T03:52:00Z")

</div>

是否可以在帖子中单独为表格设置样式？ Discourse 会移除帖子 HTML 中的所有样式元素。

---

## [如何在没有管理员权限的情况下将链接添加到用户菜单？](https://meta.discourse.org/t/how-can-i-add-a-link-to-the-user-menu-without-admin-access/137063)

<div class="topic-metadata">

**Author:** [@gingerman](https://meta.discourse.org/u/gingerman)\
**回复:** 1\
**最近更新：:** [2019 年12 月 26 日 03:28 UTC](https://meta.discourse.org/t/how-can-i-add-a-link-to-the-user-menu-without-admin-access/137063 "2019-12-26T03:28:28Z")

</div>

继续讨论：在用户菜单中添加链接 @Johani 是否有办法让最终用户（非管理员通过主题）在用户菜单中添加一个部分？例如，我想像您的帖子一样，在用户菜单中添加“喜欢”选项。……

---

## [发送激活邮件时出现问题](https://meta.discourse.org/t/problem-sending-activation-email/136997)

<div class="topic-metadata">

**Author:** [@nparab](https://meta.discourse.org/u/nparab)\
**回复:** 4\
**最近更新：:** [2019 年12 月 25 日 23:44 UTC](https://meta.discourse.org/t/problem-sending-activation-email/136997 "2019-12-25T23:44:00Z")

</div>

我已在 DigitalOcean 上使用一键应用安装方式部署了 Discourse，并启用了 LetsEncrypt HTTPS 支持。但我没有收到发送给管理员邮箱的激活邮件。当我运行 ./discourse-doctor 时，在“邮件发送 …”部分显示

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

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