# Latest

**URL:** https://meta.discourse.org/latest.md?page=1301&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:** 1302

---

## [Slack：'/discourse watch all' 似乎不起作用](https://meta.discourse.org/t/slack-discourse-watch-all-doesnt-seem-to-work/135348)

<div class="topic-metadata">

**Author:** [@Arnold\_Hendriks](https://meta.discourse.org/u/Arnold_Hendriks)\
**回覆:** 5\
**Last updated:** [2019年十二月18日 14:42 UTC](https://meta.discourse.org/t/slack-discourse-watch-all-doesnt-seem-to-work/135348 "2019-12-18T14:42:56Z")

</div>

我正在尝试设置聊天集成插件，以监控并针对任何主题向频道发布消息。我之前已成功设置过，但现在尝试在新频道上配置，尚未成功。据我理解，我应该……

---

## [如何防止删除有帖子的用户](https://meta.discourse.org/t/how-to-prevent-user-deletion-if-it-has-posts/136392)

<div class="topic-metadata">

**Author:** [@carlosjcabello](https://meta.discourse.org/u/carlosjcabello)\
**回覆:** 2\
**Last updated:** [2019年十二月18日 14:31 UTC](https://meta.discourse.org/t/how-to-prevent-user-deletion-if-it-has-posts/136392 "2019-12-18T14:31:52Z")

</div>

您好， 我创建了这个话题，因为我还不完全了解用户删除流程是如何运作的。 我以为如果用户有发帖记录，就无法删除该用户。似乎系统甚至为此提供了一条提示信息，但 t…

---

## [Discourse-saml，选择解决方案](https://meta.discourse.org/t/discourse-saml-choosing-solution/136216)

<div class="topic-metadata">

**Author:** [@nahimov](https://meta.discourse.org/u/nahimov)\
**回覆:** 13\
**Last updated:** [2019年十二月18日 12:40 UTC](https://meta.discourse.org/t/discourse-saml-choosing-solution/136216 "2019-12-18T12:40:27Z")

</div>

我读了这篇文章： 这很好，但它是云服务。 您能推荐一个类似的自托管服务吗？也许有经过 Discourse 测试的软件？

---

## [从主题外投票](https://meta.discourse.org/t/vote-from-outside-topic/132955)

<div class="topic-metadata">

**Author:** [@Pedro\_Henrique](https://meta.discourse.org/u/Pedro_Henrique)\
**回覆:** 1\
**Last updated:** [2019年十二月18日 12:00 UTC](https://meta.discourse.org/t/vote-from-outside-topic/132955 "2019-12-18T12:00:50Z")

</div>

我希望能够允许在主题外部进行投票。是否可以将按钮移动到类别主题列表的旁边？

---

## [保护 Discourse 免受大量请求的最佳免费方案](https://meta.discourse.org/t/best-free-option-to-protect-discourse-from-many-requests/113350)

<div class="topic-metadata">

**Author:** [@Jay91](https://meta.discourse.org/u/Jay91)\
**回覆:** 28\
**Last updated:** [2019年十二月18日 05:46 UTC](https://meta.discourse.org/t/best-free-option-to-protect-discourse-from-many-requests/113350 "2019-12-18T05:46:45Z")

</div>

我在一小时前尝试访问我们的网站，发现它已无法访问。 这看起来像是一次攻击，我们该如何阻止？Cloudflare 是应对此类场景的一个良好选择，但该服务并不适用于 Discourse。请添加更多……

---

## [Fastly 后方登录状态不一致](https://meta.discourse.org/t/inconsistent-signed-in-state-behind-fastly/136371)

<div class="topic-metadata">

**Author:** [@JackCA](https://meta.discourse.org/u/JackCA)\
**回覆:** 1\
**Last updated:** [2019年十二月18日 05:43 UTC](https://meta.discourse.org/t/inconsistent-signed-in-state-behind-fastly/136371 "2019-12-18T05:43:50Z")

</div>

我遇到一个有些奇怪的问题，但涉及很多因素。 问题： 当我已登录并直接导航到论坛首页时，UI 显示我似乎未登录，例如导航栏显示 …

---

## [显示代码更改和评论](https://meta.discourse.org/t/displaying-code-changes-and-comments/136308)

<div class="topic-metadata">

**Author:** [@pgr](https://meta.discourse.org/u/pgr)\
**回覆:** 10\
**Last updated:** [2019年十二月18日 05:36 UTC](https://meta.discourse.org/t/displaying-code-changes-and-comments/136308 "2019-12-18T05:36:52Z")

</div>

这是一个关于某功能是否存在（可能以插件形式）的问题，或者在不存在时提出功能请求…… 我在寻找的是能够在 Discourse 论坛讨论中显示类似以下内容的能力： 不…

---

## [使用 API 检索用户的自定义用户字段值](https://meta.discourse.org/t/using-the-api-to-retrive-the-value-of-a-custom-user-field-from-a-user/84751)

<div class="topic-metadata">

**Author:** [@Jake\_Green](https://meta.discourse.org/u/Jake_Green)\
**回覆:** 4\
**Last updated:** [2019年十二月18日 05:29 UTC](https://meta.discourse.org/t/using-the-api-to-retrive-the-value-of-a-custom-user-field-from-a-user/84751 "2019-12-18T05:29:55Z")

</div>

我搜索了 API 文档，但找不到获取指定用户的客户用户字段值的方法。这可以实现吗？谢谢。

---

## [获取仪表板上报告中未包含的使用信息](https://meta.discourse.org/t/getting-information-about-usage-that-is-not-in-reports-on-dashboard/136352)

<div class="topic-metadata">

**Author:** [@Viveka1](https://meta.discourse.org/u/Viveka1)\
**回覆:** 15\
**Last updated:** [2019年十二月18日 01:54 UTC](https://meta.discourse.org/t/getting-information-about-usage-that-is-not-in-reports-on-dashboard/136352 "2019-12-18T01:54:07Z")

</div>

你好 :smiley: 有没有办法获取 Discourse 论坛的总注册用户数？即不是登录次数、页面浏览量或活跃用户数，而是会员总数？ 另外，搜索功能是否具有一定的灵活性？

---

## [1GB 内存 vs 2GB vs 更好的 CPU——真的有很大差别吗？如何检查？](https://meta.discourse.org/t/1gb-ram-vs-2gb-vs-better-cpu-is-it-really-a-big-difference-how-to-check/136298)

<div class="topic-metadata">

**Author:** [@eextra](https://meta.discourse.org/u/eextra)\
**回覆:** 2\
**Last updated:** [2019年十二月18日 00:11 UTC](https://meta.discourse.org/t/1gb-ram-vs-2gb-vs-better-cpu-is-it-really-a-big-difference-how-to-check/136298 "2019-12-18T00:11:55Z")

</div>

我不确定这是否是服务器性能不足的问题，但我觉得 1GB 内存可能有些捉襟见肘。 不过我还没完全确定。我该如何判断服务器是否过于薄弱？我的意思是，我知道可以在 Linux 上查看进程，但我不认为这能……

---

## [管理员统计视图中缺少总数](https://meta.discourse.org/t/missing-total-numbers-in-admin-stats-view/136283)

<div class="topic-metadata">

**Author:** [@wolftune](https://meta.discourse.org/u/wolftune)\
**回覆:** 4\
**Last updated:** [2019年十二月17日 23:31 UTC](https://meta.discourse.org/t/missing-total-numbers-in-admin-stats-view/136283 "2019-12-17T23:31:24Z")

</div>

查看这张每周统计数据的截图： 注册和新贡献者没有显示总数，而其他项目都有。即使总数为 0，也应显示出来。

---

## [在插件中为类添加 mixin？](https://meta.discourse.org/t/adding-a-mixin-to-a-class-in-a-plugin/83905)

<div class="topic-metadata">

**Author:** [@shoshber](https://meta.discourse.org/u/shoshber)\
**回覆:** 4\
**Last updated:** [2019年十二月17日 22:03 UTC](https://meta.discourse.org/t/adding-a-mixin-to-a-class-in-a-plugin/83905 "2019-12-17T22:03:14Z")

</div>

我需要修改一个 JavaScript 控制器（create-account）。如果我从头开始编写，我会添加一个名为类似（FooValidation）的 mixin，就像 PasswordValidation 和 UsernameValidation 这些 mixin 一样…

---

## [非工作人员可创建仅限工作人员查看结果的投票](https://meta.discourse.org/t/poll-with-staff-only-results-creatable-by-non-staff-members/136046)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**回覆:** 3\
**Last updated:** [2019年十二月17日 21:44 UTC](https://meta.discourse.org/t/poll-with-staff-only-results-creatable-by-non-staff-members/136046 "2019-12-17T21:44:51Z")

</div>

目前，作为非工作人员，我可以创建一个仅对工作人员可见结果的投票。这种功能的用例是什么？目前，我担心有人点击该选项后，会将自己和所有其他人锁定……

---

## [Viewing unanswered topics](https://meta.discourse.org/t/viewing-unanswered-topics/18744)

<div class="topic-metadata">

**Author:** [@ralphm](https://meta.discourse.org/u/ralphm)\
**回覆:** 6\
**Last updated:** [2019年十二月17日 17:16 UTC](https://meta.discourse.org/t/viewing-unanswered-topics/18744 "2019-12-17T17:16:23Z")

</div>

Continuing the discussion from Is there a better way to handle the “Up!”/“Bump!” usecase?: One thing I do like about vB is that it’s easy to view a list of unanswered threads. Is there a way to do it in Discourse? It’s…

---

## [PM 收件人输入框未利用文本框的最大宽度](https://meta.discourse.org/t/the-pm-recipient-input-field-doesnt-utilize-the-max-width-of-the-text-box/130946)

<div class="topic-metadata">

**Author:** [@rishabh](https://meta.discourse.org/u/rishabh)\
**回覆:** 2\
**Last updated:** [2019年十二月17日 19:59 UTC](https://meta.discourse.org/t/the-pm-recipient-input-field-doesnt-utilize-the-max-width-of-the-text-box/130946 "2019-12-17T19:59:42Z")

</div>

这是一个微小的用户体验问题，但在从 Discourse 向中等长度的电子邮件地址发送邮件时会相当令人烦恼。完整地址在 170px 后无法保持在视图中。

---

## [为账户添加已认证的蓝色勾选标识](https://meta.discourse.org/t/add-approved-blue-tick-indicator-to-accounts/136327)

<div class="topic-metadata">

**Author:** [@AtakanYildirim1](https://meta.discourse.org/u/AtakanYildirim1)\
**回覆:** 2\
**Last updated:** [2019年十二月17日 18:18 UTC](https://meta.discourse.org/t/add-approved-blue-tick-indicator-to-accounts/136327 "2019-12-17T18:18:39Z")

</div>

大家好！ 我需要创建一些带有已认证蓝色对勾的账号。 我该怎么做？

---

## [默认类别未分配](https://meta.discourse.org/t/default-category-not-being-assigned/134440)

<div class="topic-metadata">

**Author:** [@jtbayly](https://meta.discourse.org/u/jtbayly)\
**回覆:** 7\
**Last updated:** [2019年十二月17日 18:14 UTC](https://meta.discourse.org/t/default-category-not-being-assigned/134440 "2019-12-17T18:14:45Z")

</div>

使用 wp-discourse 时，我们在设置中分配了一个默认分类，以便新帖子进入 Discourse 的公开部分。 最近我注意到，我没有收到某些新帖子的 Discourse 通知……

---

## [更改 vdo/vmo 的断点](https://meta.discourse.org/t/changing-breakpoint-for-vdo-vmo/277625)

<div class="topic-metadata">

**Author:** [@pgr](https://meta.discourse.org/u/pgr)\
**回覆:** 5\
**Last updated:** [2019年十二月17日 17:33 UTC](https://meta.discourse.org/t/changing-breakpoint-for-vdo-vmo/277625 "2019-12-17T17:33:56Z")

</div>

我们的设计师在这个（非常漂亮且实用）的附加组件的响应式方面遇到了一些问题，她询问是否可以更改从 vdo 元素切换到 vmo 元素的断点？ 这是否可行…

---

## [移动端“主题控制”按钮太小，我的手指太粗了](https://meta.discourse.org/t/mobile-topic-controls-are-too-small-for-my-fat-fingers/117712)

<div class="topic-metadata">

**Author:** [@schleifer](https://meta.discourse.org/u/schleifer)\
**回覆:** 7\
**Last updated:** [2019年十二月17日 16:47 UTC](https://meta.discourse.org/t/mobile-topic-controls-are-too-small-for-my-fat-fingers/117712 "2019-12-17T16:47:11Z")

</div>

我难以点击各个菜单项—— 它们应该像分类菜单一样更高—— “正在观看”按钮也有很好的内边距。

---

## [无法访问新用户个人资料](https://meta.discourse.org/t/cant-access-profile-of-new-user/135893)

<div class="topic-metadata">

**Author:** [@bartv](https://meta.discourse.org/u/bartv)\
**回覆:** 11\
**Last updated:** [2019年十二月17日 13:49 UTC](https://meta.discourse.org/t/cant-access-profile-of-new-user/135893 "2019-12-17T13:49:07Z")

</div>

您好， 我正在尝试了解为何无法访问今天早些时候创建的用户资料。查看日志时，我看到： Started GET "/u/blender.bender/" for xx.xx.xx.xx at 2019-12-13 20:15:18 +0000 Proce…

---

## [Submit a free plan](https://meta.discourse.org/t/submit-a-free-plan/71690)

<div class="topic-metadata">

**Author:** [@romano97002](https://meta.discourse.org/u/romano97002)\
**回覆:** 31\
**Last updated:** [2017年十月31日 14:23 UTC](https://meta.discourse.org/t/submit-a-free-plan/71690 "2017-10-31T14:23:13Z")

</div>

Hello, I would like to use Discourse to open my community. I can not afford to pay to use the standard plan. So I would like to have a Free Plan available so that we can benefit from a free community. What do you thin…

---

## [如何在 Discourse Docker 容器中使用 \`iptables\`](https://meta.discourse.org/t/how-to-use-iptables-inside-discourse-docker-container/136305)

<div class="topic-metadata">

**Author:** [@maltfield](https://meta.discourse.org/u/maltfield)\
**回覆:** 3\
**Last updated:** [2019年十二月17日 14:32 UTC](https://meta.discourse.org/t/how-to-use-iptables-inside-discourse-docker-container/136305 "2019-12-17T14:32:56Z")

</div>

如何在 Discourse Docker 容器中配置 iptables？ 我特别需要在 Docker 容器内部进行防火墙控制，因为我希望能够根据用户 ID 添加条件规则。 我最初只是…

---

## [如何使用多个主机名](https://meta.discourse.org/t/how-can-i-use-multiple-hostnames/136306)

<div class="topic-metadata">

**Author:** [@Callum\_OKane](https://meta.discourse.org/u/Callum_OKane)\
**回覆:** 1\
**Last updated:** [2019年十二月17日 14:06 UTC](https://meta.discourse.org/t/how-can-i-use-multiple-hostnames/136306 "2019-12-17T14:06:10Z")

</div>

所以我成功为 support.maniabots.xyz 设置了 Discourse，但在 Google AdSense 持续拒绝 maniabots.xyz 后，我将 Discourse 的主机名更改为 www.maniabots.xyz。但我希望 support 子域名仍能正常工作……

---

## [自动消息：您的帖子已被顶起，有机会获得新回复！](https://meta.discourse.org/t/automatic-message-your-topic-is-bumped-and-found-the-chance-to-get-new-answers/136310)

<div class="topic-metadata">

**Author:** [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**回覆:** 0\
**Last updated:** [2019年十二月17日 13:16 UTC](https://meta.discourse.org/t/automatic-message-your-topic-is-bumped-and-found-the-chance-to-get-new-answers/136310 "2019-12-17T13:16:13Z")

</div>

如果用户能通过 Bumper Robot :robot: 收到关于其主题被顶起的消息通知，那就太好了。这样他可以： 更新主题的状态（例如他是否已自行找到解决方案）； e…

---

## [日期滑块栏的自定义 CSS](https://meta.discourse.org/t/custom-css-for-date-slider-bar/136286)

<div class="topic-metadata">

**Author:** [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)\
**回覆:** 4\
**Last updated:** [2019年十二月17日 12:50 UTC](https://meta.discourse.org/t/custom-css-for-date-slider-bar/136286 "2019-12-17T12:50:05Z")

</div>

您希望如何处理？ 在许多情况下，我们会有一个信息 Wiki 作为主题的置顶帖。在这些情况下，请将“widget-link start-date”类的内容替换为背景图片，以提醒访客…

---

## [如何在不重启的情况下修复“容器已标记为删除且无法启动”的问题](https://meta.discourse.org/t/how-to-fix-container-is-marked-for-removal-and-cannot-be-started-without-reboot/136301)

<div class="topic-metadata">

**Author:** [@maltfield](https://meta.discourse.org/u/maltfield)\
**回覆:** 1\
**Last updated:** [2019年十二月17日 11:05 UTC](https://meta.discourse.org/t/how-to-fix-container-is-marked-for-removal-and-cannot-be-started-without-reboot/136301 "2019-12-17T11:05:16Z")

</div>

我的 ./launcher rebuild app 步骤因以下错误而失败： \[root@osestaging1 discourse\]# time ./launcher rebuild app ... + /bin/docker start app 来自守护进程的错误响应：容器已标记为移除，ca…

---

## [如何暂时关闭所有类型的电子邮件通知？](https://meta.discourse.org/t/how-to-temporarily-turn-off-email-notifications-of-all-kinds/136052)

<div class="topic-metadata">

**Author:** [@mreach](https://meta.discourse.org/u/mreach)\
**回覆:** 1\
**Last updated:** [2019年十二月16日 05:12 UTC](https://meta.discourse.org/t/how-to-temporarily-turn-off-email-notifications-of-all-kinds/136052 "2019-12-16T05:12:03Z")

</div>

我即将向系统中导入数万条旧帖子，希望确保在此过程中不会发送任何电子邮件通知。是否有办法关闭所有电子邮件通知？

---

## [具有重叠用户名的 SSO](https://meta.discourse.org/t/sso-with-overlapping-usernames/136273)

<div class="topic-metadata">

**Author:** [@hollyw](https://meta.discourse.org/u/hollyw)\
**回覆:** 1\
**Last updated:** [2019年十二月17日 06:12 UTC](https://meta.discourse.org/t/sso-with-overlapping-usernames/136273 "2019-12-17T06:12:25Z")

</div>

我所在的团队目前正在搭建我们自己的 Discourse 论坛。我们使用单点登录（SSO），因此用户的用户名基于外部值，用户无法自行编辑。在我们的情况下，可能会出现两个或更多……

---

## [如何阻止 onebox 重定向？](https://meta.discourse.org/t/how-can-i-stop-onebox-redirection/81515)

<div class="topic-metadata">

**Author:** [@Gulshan\_Kumar](https://meta.discourse.org/u/Gulshan_Kumar)\
**回覆:** 15\
**Last updated:** [2019年十二月17日 01:13 UTC](https://meta.discourse.org/t/how-can-i-stop-onebox-redirection/81515 "2019-12-17T01:13:56Z")

</div>

你好， 考虑一个联盟营销人员的情况…… 其中路径 http://x.com/go/discourse/ 通过 HTTP 301 重定向到 https://discourse.org/ref=1，再次通过 HTTP 301 重定向到 https://discourse.org/。 问题在于，当我输入第一个链接时，在浏览器中……

---

## [发送以下标题的私信会导致错误！](https://meta.discourse.org/t/sending-a-pm-with-the-following-title-causes-an-error/135654)

<div class="topic-metadata">

**Author:** [@WorldIsMine](https://meta.discourse.org/u/WorldIsMine)\
**回覆:** 4\
**Last updated:** [2019年十二月17日 00:51 UTC](https://meta.discourse.org/t/sending-a-pm-with-the-following-title-causes-an-error/135654 "2019-12-17T00:51:28Z")

</div>

我正在给一位用户撰写新消息，没时间写个正常标题，于是随便敲了一串字符作为标题： =213=-!(@#+@)(!\*\_(@#&(!)# intended 用户……

[上一頁](https://meta.discourse.org/latest.md?page=1300&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=1302&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)
