# Latest

**URL:** https://meta.discourse.org/latest.md?page=1393

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

**Page:** 1394

---

## [User.find\_by(id: 123) 失败：无登录，无管理权限](https://meta.discourse.org/t/user-find-by-id-123-fails-no-login-no-adminstration/117176)

<div class="topic-metadata">

**Author:** [@Blizzz](https://meta.discourse.org/u/Blizzz)\
**回覆:** 3\
**Last updated:** [2019年五月17日 22:39 UTC](https://meta.discourse.org/t/user-find-by-id-123-fails-no-login-no-adminstration/117176 "2019-05-17T22:39:24Z")

</div>

我们有一些用户，其个人资料页面可见，但他们无法登录，我也无法管理他们。这总是导致出现 404 页面。我进入了 Rails 控制台，尝试通过 ID 查找用户，以及用户…

---

## [SQL：每个用户最常用的N个词（用他们的语言交流！）](https://meta.discourse.org/t/sql-the-most-n-used-words-per-user-speak-their-language/38556)

<div class="topic-metadata">

**Author:** [@meglio](https://meta.discourse.org/u/meglio)\
**回覆:** 20\
**Last updated:** [2019年五月17日 21:47 UTC](https://meta.discourse.org/t/sql-the-most-n-used-words-per-user-speak-their-language/38556 "2019-05-17T21:47:32Z")

</div>

通过观察用户使用的前20…50个词，我希望能识别出谁最关心什么，然后利用这些信息在正确的话题上与他们互动，问他们正确的问题，以获得更好的动力。

---

## [主题和帖子总数](https://meta.discourse.org/t/total-number-of-topics-and-posts/118036)

<div class="topic-metadata">

**Author:** [@John\_Lehmann](https://meta.discourse.org/u/John_Lehmann)\
**回覆:** 5\
**Last updated:** [2019年五月17日 19:46 UTC](https://meta.discourse.org/t/total-number-of-topics-and-posts/118036 "2019-05-17T19:46:58Z")

</div>

主题和帖子的累计数量似乎是一个有用的分析指标。我预计会在管理仪表板或其他地方看到类似的内容。我是否遗漏了？ 如果没有，那将是一个功能请求。谢谢！

---

## [用户卡查询](https://meta.discourse.org/t/user-card-query/118047)

<div class="topic-metadata">

**Author:** [@Thomas\_Ralph1](https://meta.discourse.org/u/Thomas_Ralph1)\
**回覆:** 1\
**Last updated:** [2019年五月17日 18:37 UTC](https://meta.discourse.org/t/user-card-query/118047 "2019-05-17T18:37:13Z")

</div>

您好，我正在寻求一些支持。是否可以将“已读”部分（红色高亮）改为显示用户在移动用户卡片上最后出现的时间？这将使论坛用户更容易查看……

---

## [员工组标题](https://meta.discourse.org/t/staff-group-title/118026)

<div class="topic-metadata">

**Author:** [@John\_Lehmann](https://meta.discourse.org/u/John_Lehmann)\
**回覆:** 2\
**Last updated:** [2019年五月17日 18:20 UTC](https://meta.discourse.org/t/staff-group-title/118026 "2019-05-17T18:20:18Z")

</div>

有没有办法让“staff”组显示为标题？ 看起来“staff”是一个特殊组，缺少“默认标题”字段，因此我推测无法实现，因为该名称已被保留。我们必须创…

---

## [admin\_confirmation\_message 邮件中的确认管理员账户链接无法点击](https://meta.discourse.org/t/confirm-admin-account-in-admin-confirmation-message-email-cant-be-clicked/117952)

<div class="topic-metadata">

**Author:** [@zigojacko](https://meta.discourse.org/u/zigojacko)\
**回覆:** 7\
**Last updated:** [2019年五月17日 17:28 UTC](https://meta.discourse.org/t/confirm-admin-account-in-admin-confirmation-message-email-cant-be-clicked/117952 "2019-05-17T17:28:27Z")

</div>

我已授予某用户管理员权限并收到了管理员确认邮件（admin\_confirmation\_message），但邮件中的“确认管理员账户”并非可点击的链接或按钮。 它只是纯文本。 我注意到其他人……

---

## [Best way to implement Chartbeat](https://meta.discourse.org/t/best-way-to-implement-chartbeat/58026)

<div class="topic-metadata">

**Author:** [@frostydog](https://meta.discourse.org/u/frostydog)\
**回覆:** 1\
**Last updated:** [2017年二月28日 18:19 UTC](https://meta.discourse.org/t/best-way-to-implement-chartbeat/58026 "2017-02-28T18:19:49Z")

</div>

Not sure if anyone else is using Chartbeat but we use it everyday on our website. Since we’re soon launching our own community with Discourse we would love to see our realtime traffic. I couldn’t find anyone else explai…

---

## [用 Framasoft 替换 Google 搜索？](https://meta.discourse.org/t/replacing-google-search-with-framasoft/118037)

<div class="topic-metadata">

**Author:** [@djano](https://meta.discourse.org/u/djano)\
**回覆:** 1\
**Last updated:** [2019年五月17日 15:51 UTC](https://meta.discourse.org/t/replacing-google-search-with-framasoft/118037 "2019-05-17T15:51:31Z")

</div>

您好， 我不知道自己是否找对了地方。我是 Framasoft 的用户（对我来说，它确实是谷歌的强力替代者），当我在“framacolibri”论坛上看到以下内容时感到失望： 您的查询没有答案，您应……

---

## [版本不匹配：启动器与 hub.docker.com](https://meta.discourse.org/t/version-mismatch-launcher-vs-hub-docker-com/118009)

<div class="topic-metadata">

**Author:** [@salvamucche](https://meta.discourse.org/u/salvamucche)\
**回覆:** 1\
**Last updated:** [2019年五月17日 10:33 UTC](https://meta.discourse.org/t/version-mismatch-launcher-vs-hub-docker-com/118009 "2019-05-17T10:33:23Z")

</div>

discourse\_docker/launcher 在 master · discourse/discourse\_docker · GitHub 上安装的版本是 discourse/base:2.0.20190429-1058，这与 discourse/base 上可用的最新版本 2.0.20190512-2317 不同…

---

## [注册时是否对筛选后的电子邮件进行部分匹配？](https://meta.discourse.org/t/are-screened-email-partially-matched-at-signup/117919)

<div class="topic-metadata">

**Author:** [@ryancey](https://meta.discourse.org/u/ryancey)\
**回覆:** 2\
**Last updated:** [2019年五月17日 10:22 UTC](https://meta.discourse.org/t/are-screened-email-partially-matched-at-signup/117919 "2019-05-17T10:22:46Z")

</div>

我在 Discourse 实例中屏蔽了电子邮件 test-destroy@yopmail.com，导致无法使用 test-destroy-4@yopmail.com 进行注册。但从屏蔽的电子邮件列表中移除 test-destroy@yopmail.com 后，test-destroy-4@yop…

---

## [选择多个主题管理员操作的功能](https://meta.discourse.org/t/the-ability-to-select-multiple-topic-admin-actions/117937)

<div class="topic-metadata">

**Author:** [@Zeemah](https://meta.discourse.org/u/Zeemah)\
**回覆:** 0\
**Last updated:** [2019年五月16日 16:17 UTC](https://meta.discourse.org/t/the-ability-to-select-multiple-topic-admin-actions/117937 "2019-05-16T16:17:45Z")

</div>

我有一个小功能，我认为对论坛版主会非常有用，那就是在查看话题时，通过按住 Shift 或 Control 键，可以一次使用/选择多个话题管理操作（如关闭或隐藏话题）。

---

## [Discourse 在加载 \`/?authComplete=true\` 后重定向到 OAuth 服务器](https://meta.discourse.org/t/discourse-redirects-to-the-oauth-server-after-loading-authcomplete-true/115973)

<div class="topic-metadata">

**Author:** [@ryancey](https://meta.discourse.org/u/ryancey)\
**回覆:** 5\
**Last updated:** [2019年五月17日 09:40 UTC](https://meta.discourse.org/t/discourse-redirects-to-the-oauth-server-after-loading-authcomplete-true/115973 "2019-05-17T09:40:38Z")

</div>

流程有点复杂。Discourse 实例只允许使用 OAuth 登录。整个设计思路是让用户在 OAuth 服务器上被要求创建账户后，返回到他们之前所在的网站。

---

## [无法播放嵌入的 Google Drive 视频](https://meta.discourse.org/t/not-able-to-play-embedded-google-drive-video/118003)

<div class="topic-metadata">

**Author:** [@orschiro](https://meta.discourse.org/u/orschiro)\
**回覆:** 2\
**Last updated:** [2019年五月17日 09:17 UTC](https://meta.discourse.org/t/not-able-to-play-embedded-google-drive-video/118003 "2019-05-17T09:17:50Z")

</div>

你好， 我将以下链接粘贴到了我们的 Discourse 中。 与这里不同，它被嵌入为一个播放器，但无法播放。 演示：https://community.sheetgo.com/t/error-cannot-call-method-getevents-of-null/207/10?u=bob…

---

## [在自定义用户字段上按回车键会刷新页面并丢失数据](https://meta.discourse.org/t/pressing-enter-on-custom-user-field-reloads-page-loses-data/117969)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回覆:** 4\
**Last updated:** [2019年五月17日 08:40 UTC](https://meta.discourse.org/t/pressing-enter-on-custom-user-field-reloads-page-loses-data/117969 "2019-05-17T08:40:39Z")

</div>

如果用户在个人资料上编辑自定义用户文本字段并按下回车键，页面会重新加载，导致之前输入到该字段中的数据丢失。 我在 Mac 上的 Firefox 和 Linux 上的 Chrome 中进行了测试。 这尤其……

---

## [主题内外的引用呈现方式不同](https://meta.discourse.org/t/quotes-from-inside-and-outside-the-topic-render-differently/117921)

<div class="topic-metadata">

**Author:** [@Alexander\_Wright](https://meta.discourse.org/u/Alexander_Wright)\
**回覆:** 9\
**Last updated:** [2019年五月17日 07:59 UTC](https://meta.discourse.org/t/quotes-from-inside-and-outside-the-topic-render-differently/117921 "2019-05-17T07:59:46Z")

</div>

正在运行的版本：v2.3.0.beta9 +423 在我的网站上，一名用户在单条帖子中多次引用了另一位用户，但被引用用户的姓名仅出现在第一条引用中，其他引用处则显示被引用主题的名称……

---

## [允许用户选择新的调色板](https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 24\
**Last updated:** [2019年五月17日 07:47 UTC](https://meta.discourse.org/t/allow-users-to-select-new-color-palettes/60857 "2019-05-17T07:47:34Z")

</div>

:bookmark: 这是关于如何为所有用户提供新的调色板以供其在个人资料偏好设置中选择的指南。 :person\_raising\_hand: 所需用户级别：管理员 包含新的调色板 转到 A…

---

## [帖子内容未显示](https://meta.discourse.org/t/post-content-not-showing-up/117945)

<div class="topic-metadata">

**Author:** [@8BIT](https://meta.discourse.org/u/8BIT)\
**回覆:** 6\
**Last updated:** [2019年五月17日 05:44 UTC](https://meta.discourse.org/t/post-content-not-showing-up/117945 "2019-05-17T05:44:07Z")

</div>

一切已更新： 但是，当您访问帖子时，您实际上看不到帖子内容： 您只能看到标题，其后没有任何内容。 示例： 因此，我在管理后台关闭了所有主题，只保留这两个： …

---

## [Lo-dash 版本存在高危安全漏洞](https://meta.discourse.org/t/lo-dash-version-has-high-severity-security-vulnerability/117787)

<div class="topic-metadata">

**Author:** [@Ed\_S](https://meta.discourse.org/u/Ed_S)\
**回覆:** 7\
**Last updated:** [2019年五月17日 05:42 UTC](https://meta.discourse.org/t/lo-dash-version-has-high-severity-security-vulnerability/117787 "2019-05-17T05:42:45Z")

</div>

Discourse 嵌入了 lo-dash 1.3.0 版本的自定义副本。 Google 的 Lighthouse 分析在我的最新 Discourse 实例中报告了 4 个安全漏洞，其中 3 个位于 lo-dash 中，另一个被标记为高危…

---

## [如何将文件从旧的上传方案（default/XXX）迁移到新的方案（default/original/{1,2}X）？](https://meta.discourse.org/t/how-can-i-migrate-files-from-the-old-upload-scheme-default-xxx-to-the-new-one-default-original-1-2-x/110813)

<div class="topic-metadata">

**Author:** [@kansaichris](https://meta.discourse.org/u/kansaichris)\
**回覆:** 17\
**Last updated:** [2019年五月17日 05:40 UTC](https://meta.discourse.org/t/how-can-i-migrate-files-from-the-old-upload-scheme-default-xxx-to-the-new-one-default-original-1-2-x/110813 "2019-05-17T05:40:58Z")

</div>

我运营自托管的 Discourse 站点已有大约四年半的时间（自 2014 年 9 月起），最近收到报告称我的站点上有多个图片链接失效。在调查该问题后，我注意到 th…

---

## [在 Discourse 安装于反向代理后使用证书](https://meta.discourse.org/t/using-a-certificate-when-discourse-is-installed-behind-a-reverse-proxy/117226)

<div class="topic-metadata">

**Author:** [@naupe](https://meta.discourse.org/u/naupe)\
**回覆:** 24\
**Last updated:** [2019年五月17日 04:18 UTC](https://meta.discourse.org/t/using-a-certificate-when-discourse-is-installed-behind-a-reverse-proxy/117226 "2019-05-17T04:18:46Z")

</div>

所以我遇到了很多问题，试图使用 Let's Encrypt 设置 SSL。 之前我创建了这个话题，因为我正在 Ubuntu 虚拟机上部署 Discourse。在 Ubuntu 虚拟机上的浏览器中访问 localhost，Discourse 安装已…

---

## [用于收藏帖子和主题的 API，以及移除它们的 API](https://meta.discourse.org/t/apis-for-bookmarking-post-and-topic-and-removing-them-as-well/117981)

<div class="topic-metadata">

**Author:** [@centerge](https://meta.discourse.org/u/centerge)\
**回覆:** 2\
**Last updated:** [2019年五月17日 04:08 UTC](https://meta.discourse.org/t/apis-for-bookmarking-post-and-topic-and-removing-them-as-well/117981 "2019-05-17T04:08:38Z")

</div>

我一直未能弄清楚以下操作的 API 调用方法： - 书签化帖子 - 书签化主题 - 取消书签化帖子 - 取消书签化主题 任何帮助都…

---

## [Bulk change categories without logging edit](https://meta.discourse.org/t/bulk-change-categories-without-logging-edit/59390)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**回覆:** 3\
**Last updated:** [2019年五月17日 02:55 UTC](https://meta.discourse.org/t/bulk-change-categories-without-logging-edit/59390 "2019-05-17T02:55:26Z")

</div>

Long story short: the Discourse I’m currently working on is quite old. Further, it was primarily run by people who did not understand Discourse, and so many things were deleted, unlisted, moved, etc. that shouldn’t have…

---

## [\`script/osx\_dev\` 脚本问题较多](https://meta.discourse.org/t/script-osx-dev-script-is-pretty-broken/81932)

<div class="topic-metadata">

**Author:** [@shoshber](https://meta.discourse.org/u/shoshber)\
**回覆:** 3\
**Last updated:** [2019年五月17日 01:55 UTC](https://meta.discourse.org/t/script-osx-dev-script-is-pretty-broken/81932 "2019-05-17T01:55:32Z")

</div>

我目前遇到的问题： Brewfile 已损坏（Brewfile 是否已过时？） apple-gcc42 在 Mavericks 之后无法工作 它强制安装并使用 ruby 2.0.0，但 rails 要求版本 \>= 2.2.2（这位于…

---

## [关于箭头/图标引用回复帖子的疑问/建议](https://meta.discourse.org/t/question-suggestion-about-arrow-icon-referencing-replied-to-post/117516)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**回覆:** 14\
**Last updated:** [2019年五月17日 00:06 UTC](https://meta.discourse.org/t/question-suggestion-about-arrow-icon-referencing-replied-to-post/117516 "2019-05-17T00:06:42Z")

</div>

抱歉主题名称不太准确。我不确定该如何描述我想问的问题。我指的是这个： 几个月前在一个之前的主题中（我找不到它了），我曾表达过希望有一个指标来进行差异…

---

## [帖子内链接主题 - 不再更新为初始帖子标题](https://meta.discourse.org/t/in-post-links-to-topics-no-longer-update-to-the-initial-posts-title/117278)

<div class="topic-metadata">

**Author:** [@consideRatio](https://meta.discourse.org/u/consideRatio)\
**回覆:** 10\
**Last updated:** [2019年五月17日 00:05 UTC](https://meta.discourse.org/t/in-post-links-to-topics-no-longer-update-to-the-initial-posts-title/117278 "2019-05-17T00:05:51Z")

</div>

我正在编辑一个 WIKI 帖子，但过了一段时间后，我链接到论坛中其他主题的内容无法更新以匹配主题标题。 例如，如果我写入 https://meta.discourse.org/t/topic-list-previews/101646 他…

---

## [Individual Invite Codes](https://meta.discourse.org/t/individual-invite-codes/59359)

<div class="topic-metadata">

**Author:** [@Ralphy](https://meta.discourse.org/u/Ralphy)\
**回覆:** 3\
**Last updated:** [2019年五月17日 00:03 UTC](https://meta.discourse.org/t/individual-invite-codes/59359 "2019-05-17T00:03:30Z")

</div>

Hey, I would like to make invite codes but it askes for the persons email to invite. Is there any way to do it without their email and just give a invite link and they sign up?

---

## [测试入职流程](https://meta.discourse.org/t/test-onboarding/117759)

<div class="topic-metadata">

**Author:** [@julz](https://meta.discourse.org/u/julz)\
**回覆:** 13\
**Last updated:** [2019年五月16日 06:53 UTC](https://meta.discourse.org/t/test-onboarding/117759 "2019-05-16T06:53:50Z")

</div>

管理员是否有办法创建“虚拟用户”以测试入职流程？ 我一直使用多个邮箱账户创建新账户，但这既混乱又耗时。 有什么建议吗？

---

## [回复按钮自定义行为](https://meta.discourse.org/t/reply-button-custom-behavior/117960)

<div class="topic-metadata">

**Author:** [@eatcodetravel](https://meta.discourse.org/u/eatcodetravel)\
**回覆:** 0\
**Last updated:** [2019年五月16日 20:39 UTC](https://meta.discourse.org/t/reply-button-custom-behavior/117960 "2019-05-16T20:39:16Z")

</div>

我想自定义“回复”按钮的行为，例如传递额外的类或数据属性（用于弹出窗口）。 我认为我已将该功能缩小到此函数 https://github.com/discourse/discourse…

---

## [Mailgun leaking server's real IP behind Cloudflare](https://meta.discourse.org/t/mailgun-leaking-servers-real-ip-behind-cloudflare/59128)

<div class="topic-metadata">

**Author:** [@anon67292109](https://meta.discourse.org/u/anon67292109)\
**回覆:** 20\
**Last updated:** [2019年五月16日 20:31 UTC](https://meta.discourse.org/t/mailgun-leaking-servers-real-ip-behind-cloudflare/59128 "2019-05-16T20:31:43Z")

</div>

Mailgun is leaking my DigitalOcean server IPs via emails deployed for Discourse which is resulting in repeated DDoS attacks. Received: from localhost.localdomain (sposting.com \[\*\*REAL IP HERE\*\*\]) by mxa.mailgun.org with…

---

## [帖子和主题中的书签行为](https://meta.discourse.org/t/bookmark-behavior-in-posts-and-topics/117876)

<div class="topic-metadata">

**Author:** [@Merlls\_Rizzini](https://meta.discourse.org/u/Merlls_Rizzini)\
**回覆:** 11\
**Last updated:** [2019年五月16日 19:01 UTC](https://meta.discourse.org/t/bookmark-behavior-in-posts-and-topics/117876 "2019-05-16T19:01:22Z")

</div>

Discourse 提供了一个出色的工具，可在导航菜单中显示收藏/书签主题，与“最新”等选项并列。对于那些喜欢查找特定主题的用户来说，这是一个很酷的功能。 但如果您在主题中书签了一条回复…

[上一頁](https://meta.discourse.org/latest.md?page=1392)

[下一頁](https://meta.discourse.org/latest.md?page=1394)
