# Latest

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

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

**Page:** 1497

---

## [搜索和替换这些正则表达式的最佳方法是什么？](https://meta.discourse.org/t/best-way-to-search-and-replace-these-regexes/102146)

<div class="topic-metadata">

**Author:** [@j127](https://meta.discourse.org/u/j127)\
**回复:** 4\
**最近更新：:** [2018 年11 月 17 日 01:33 UTC](https://meta.discourse.org/t/best-way-to-search-and-replace-these-regexes/102146 "2018-11-17T01:33:53Z")

</div>

在论坛里搜索了一圈后，我觉得我可能是在找 rake posts:remap，但尚不清楚它是否支持正则表达式。我打算这样做：在导入过程中，原始帖子中的部分内容……

---

## [为什么 API 调用：url/directory\_item 无法工作](https://meta.discourse.org/t/why-api-call-url-directory-item-not-working/102150)

<div class="topic-metadata">

**Author:** [@Edwin\_Mhoy\_Silva](https://meta.discourse.org/u/Edwin_Mhoy_Silva)\
**回复:** 1\
**最近更新：:** [2018 年11 月 16 日 22:37 UTC](https://meta.discourse.org/t/why-api-call-url-directory-item-not-working/102150 "2018-11-16T22:37:03Z")

</div>

我试图调用与 meta.discourse 端点（Discourse Meta）相同的 API。 我在 Postman 中也尝试了同样的操作，但未能成功。 这是我在 Postman 中的 GET 请求： {{base\_url}}/directory\_items.js…

---

## [docker\_manager 升级卡住 - 2.2.0.beta4](https://meta.discourse.org/t/upgrade-docker-manager-stuck-2-2-0-beta4/101656)

<div class="topic-metadata">

**Author:** [@znedw](https://meta.discourse.org/u/znedw)\
**回复:** 11\
**最近更新：:** [2018 年11 月 16 日 21:35 UTC](https://meta.discourse.org/t/upgrade-docker-manager-stuck-2-2-0-beta4/101656 "2018-11-16T21:35:59Z")

</div>

大家好， 我刚刚尝试从 2.2.0.beta3 升级到 2.2.0.beta4，但 Docker Manager 完全无法升级。Docker Manager 界面显示一个空的控制台，并提示“正在升级……”。点击“重置升级”会抛出一个 JS 错误……

---

## [以管理员身份登录时，左上角显示毫秒时间信息的这个方框是什么？](https://meta.discourse.org/t/what-is-this-box-at-the-upper-left-displaying-timings-in-milliseconds-when-i-am-logged-in-as-admin/102194)

<div class="topic-metadata">

**Author:** [@hosna](https://meta.discourse.org/u/hosna)\
**回复:** 4\
**最近更新：:** [2018 年11 月 16 日 19:47 UTC](https://meta.discourse.org/t/what-is-this-box-at-the-upper-left-displaying-timings-in-milliseconds-when-i-am-logged-in-as-admin/102194 "2018-11-16T19:47:34Z")

</div>

我头像旁边的这个框是什么？怎么让它消失？

---

## [仅对版主显示真实姓名？](https://meta.discourse.org/t/display-real-names-just-for-moderators/101554)

<div class="topic-metadata">

**Author:** [@anon61128213](https://meta.discourse.org/u/anon61128213)\
**回复:** 9\
**最近更新：:** [2018 年11 月 16 日 16:02 UTC](https://meta.discourse.org/t/display-real-names-just-for-moderators/101554 "2018-11-16T16:02:43Z")

</div>

在本论坛中，如果用户设置了真实姓名，其显示位置将比用户名更醒目。 在我们这个高度重视隐私的论坛中，该选项曾遭到投票反对，但能否仅针对 mo… 实现这一功能呢？

---

## [SCSS 变量引用上传在子文件夹安装中失效](https://meta.discourse.org/t/scss-variables-referencing-uploads-broken-in-subfolder-installs/101038)

<div class="topic-metadata">

**Author:** [@yjwong](https://meta.discourse.org/u/yjwong)\
**回复:** 4\
**最近更新：:** [2018 年11 月 16 日 13:11 UTC](https://meta.discourse.org/t/scss-variables-referencing-uploads-broken-in-subfolder-installs/101038 "2018-11-16T13:11:31Z")

</div>

你好， 在使用 DISCOURSE\_RELATIVE\_URL\_ROOT 将 Discourse 安装到子目录后，如果在 Admin → Customize → Themes → Edit CSS/HTML 中使用引用已上传文件的自定义变量，生成的 URL 会出…

---

## [用户卡片中的用户链接](https://meta.discourse.org/t/links-to-users-from-user-cards/101857)

<div class="topic-metadata">

**Author:** [@Stephen](https://meta.discourse.org/u/Stephen)\
**回复:** 2\
**最近更新：:** [2018 年11 月 16 日 12:29 UTC](https://meta.discourse.org/t/links-to-users-from-user-cards/101857 "2018-11-16T12:29:54Z")

</div>

不确定这是否属于官方支持的功能，但如果我在“关于我”中提及另一位用户： 点击该用户的链接会在标题下方、左上角打开另一个用户卡片： 无论卡片出现在何处（包括帖子中）都会发生此情况。

---

## [如何提升页面速度分数？](https://meta.discourse.org/t/improve-pagespeed-score/102162)

<div class="topic-metadata">

**Author:** [@Jean-Michel25](https://meta.discourse.org/u/Jean-Michel25)\
**回复:** 1\
**最近更新：:** [2018 年11 月 16 日 09:30 UTC](https://meta.discourse.org/t/improve-pagespeed-score/102162 "2018-11-16T09:30:16Z")

</div>

你好 Google 提供了一项速度评分工具： https://developers.google.com/speed/pagespeed/insights 我检查了自己的 Discourse 论坛，发现桌面端得分为 94%，而移动端表现非常差（仅 26%）！ . . 如何提升论坛速度？ G…

---

## [作为提供者如何处理 Discourse SSO 的响应](https://meta.discourse.org/t/what-to-do-with-response-from-discourse-sso-as-provider/102004)

<div class="topic-metadata">

**Author:** [@Jesper\_Enemark](https://meta.discourse.org/u/Jesper_Enemark)\
**回复:** 4\
**最近更新：:** [2018 年11 月 16 日 08:19 UTC](https://meta.discourse.org/t/what-to-do-with-response-from-discourse-sso-as-provider/102004 "2018-11-16T08:19:43Z")

</div>

我一直在努力使用 Discourse 作为 SSO 提供商，为我的第三方应用创建身份验证。这意味着我会从 Discourse 收到一个包含 Discourse 用户信息的响应，发往我的 Web 应用。一切运行完美……

---

## [How come the discourse server is so fast?](https://meta.discourse.org/t/how-come-the-discourse-server-is-so-fast/34629)

<div class="topic-metadata">

**Author:** [@Tal\_Pergricht](https://meta.discourse.org/u/Tal_Pergricht)\
**回复:** 5\
**最近更新：:** [2015 年10 月 18 日 01:23 UTC](https://meta.discourse.org/t/how-come-the-discourse-server-is-so-fast/34629 "2015-10-18T01:23:59Z")

</div>

im thinking about building a community around discourse, yet there seem to be some difference in speed from the discourse site forum to other discourse forums i notest. how can i make the discourse speed the most optima…

---

## [徽标上传在向导或站点设置中无法工作](https://meta.discourse.org/t/logo-upload-is-not-working-in-wizard-or-site-settings/102119)

<div class="topic-metadata">

**Author:** [@jtbayly](https://meta.discourse.org/u/jtbayly)\
**回复:** 6\
**最近更新：:** [2018 年11 月 16 日 03:32 UTC](https://meta.discourse.org/t/logo-upload-is-not-working-in-wizard-or-site-settings/102119 "2018-11-16T03:32:50Z")

</div>

我很不想这么说，但我完全摸不着头脑。我是通过搜索“如何更换我的标志”找到这个帖子的。我已经前往 /admin/site\_settings/category/required 并在那里更换了图片。我只是点击了 i…

---

## [Mounting widget in raw template?](https://meta.discourse.org/t/mounting-widget-in-raw-template/44400)

<div class="topic-metadata">

**Author:** [@joebuhlig](https://meta.discourse.org/u/joebuhlig)\
**回复:** 9\
**最近更新：:** [2018 年11 月 16 日 00:49 UTC](https://meta.discourse.org/t/mounting-widget-in-raw-template/44400 "2018-11-16T00:49:58Z")

</div>

Part of what I love about the new widget structure is being able to reuse code in multiple places. But I’ve run into an issue when attempting to do this for the voting plugin. I use widgets heavily on the page for an in…

---

## [Unable to retroactively make a post reply into a whisper](https://meta.discourse.org/t/unable-to-retroactively-make-a-post-reply-into-a-whisper/48259)

<div class="topic-metadata">

**Author:** [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**回复:** 14\
**最近更新：:** [2018 年11 月 15 日 23:59 UTC](https://meta.discourse.org/t/unable-to-retroactively-make-a-post-reply-into-a-whisper/48259 "2018-11-15T23:59:45Z")

</div>

Continuing the discussion from How do I create a whisper post?: I just wrote a whisper reply and forgot to select the whisper toggle, then saved changes. I then went back during the ninja edit window and edited the post…

---

## [如何添加“所有标签”下拉框](https://meta.discourse.org/t/how-to-add-all-tags-drop-down-box/102136)

<div class="topic-metadata">

**Author:** [@christian\_01](https://meta.discourse.org/u/christian_01)\
**回复:** 1\
**最近更新：:** [2018 年11 月 15 日 22:20 UTC](https://meta.discourse.org/t/how-to-add-all-tags-drop-down-box/102136 "2018-11-15T22:20:48Z")

</div>

请问您能指导一下如何像本网站一样，在菜单页面添加“所有标签”下拉框吗？先谢过了。

---

## [可能的 Bug - 重新组织分类](https://meta.discourse.org/t/possible-bug-reorganising-categories/101881)

<div class="topic-metadata">

**Author:** [@RobMeade](https://meta.discourse.org/u/RobMeade)\
**回复:** 4\
**最近更新：:** [2018 年11 月 15 日 20:25 UTC](https://meta.discourse.org/t/possible-bug-reorganising-categories/101881 "2018-11-15T20:25:03Z")

</div>

我之前在重新排列部分分类时，发现了一个小问题。 如果您在文本框中输入位置，一旦输入第一个字符，它就会发生移动。这虽然不算太严重，但焦点会……

---

## [工具栏上齿轮图标的 CSS 悬停类？](https://meta.discourse.org/t/css-hover-class-of-the-gear-icon-on-the-toolbar/101982)

<div class="topic-metadata">

**Author:** [@Steven](https://meta.discourse.org/u/Steven)\
**回复:** 3\
**最近更新：:** [2018 年11 月 15 日 19:34 UTC](https://meta.discourse.org/t/css-hover-class-of-the-gear-icon-on-the-toolbar/101982 "2018-11-15T19:34:00Z")

</div>

你好，我来帮忙找一个我似乎找不到的 CSS 类。我平时处理这类事情还算顺利，但这次卡住了。 我正在寻找这个按钮悬停（hover）时的 CSS 类： 在我的主题中，这个 b…

---

## [更改顶部导航栏链接](https://meta.discourse.org/t/changing-top-nav-bar-links/102120)

<div class="topic-metadata">

**Author:** [@Caroline\_Early](https://meta.discourse.org/u/Caroline_Early)\
**回复:** 1\
**最近更新：:** [2018 年11 月 15 日 18:22 UTC](https://meta.discourse.org/t/changing-top-nav-bar-links/102120 "2018-11-15T18:22:48Z")

</div>

如何更改顶部导航栏上图标链接的目标地址？

---

## [Sending the invitation email in another language](https://meta.discourse.org/t/sending-the-invitation-email-in-another-language/26401)

<div class="topic-metadata">

**Author:** [@vulkanino](https://meta.discourse.org/u/vulkanino)\
**回复:** 3\
**最近更新：:** [2018 年11 月 15 日 18:20 UTC](https://meta.discourse.org/t/sending-the-invitation-email-in-another-language/26401 "2018-11-15T18:20:21Z")

</div>

I have my Discourse implementation in Italian language. Sometimes I want to invite English speaking people to the forum, but if I send them the invite, they receive an Italian language email. I have then to follow up wit…

---

## [如何获取 user\_id 以发起登出 API 调用](https://meta.discourse.org/t/how-to-obtain-the-user-id-so-i-can-issue-a-logout-api-call/102033)

<div class="topic-metadata">

**Author:** [@TeoWneD](https://meta.discourse.org/u/TeoWneD)\
**回复:** 12\
**最近更新：:** [2018 年11 月 15 日 16:22 UTC](https://meta.discourse.org/t/how-to-obtain-the-user-id-so-i-can-issue-a-logout-api-call/102033 "2018-11-15T16:22:58Z")

</div>

我搜索了许多关于 SSO 登出的不同帖子，但没找到答案。 我们想设置 SSO 登出。 另外，您也需要知道我们已经实现了 SSO。 请问，当我……时，哪个查询可以返回 UID？

---

## [502 网关错误 - 新手求助](https://meta.discourse.org/t/502-bad-gateway-newbie-help-needed/102098)

<div class="topic-metadata">

**Author:** [@VerticalVeg](https://meta.discourse.org/u/VerticalVeg)\
**回复:** 4\
**最近更新：:** [2018 年11 月 15 日 14:41 UTC](https://meta.discourse.org/t/502-bad-gateway-newbie-help-needed/102098 "2018-11-15T14:41:37Z")

</div>

我本周早些时候将论坛更新到了最新版本，当时运行正常——但今天早上却出现了 502 错误网关消息…… 我的技术知识非常有限，想知道可能的原因是什么，以及……

---

## [Creating badge via API query works, but returns 422](https://meta.discourse.org/t/creating-badge-via-api-query-works-but-returns-422/40127)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回复:** 1\
**最近更新：:** [2018 年11 月 15 日 14:14 UTC](https://meta.discourse.org/t/creating-badge-via-api-query-works-but-returns-422/40127 "2018-11-15T14:14:31Z")

</div>

I want a way to make groups of badges: bronze → submitted with certain tag silver → submitted tag, liked by me gold → submitted tag, liked by me and 3 other people I need to make a bunch of them and it’s tedious doing…

---

## [Can I hide an admin?](https://meta.discourse.org/t/can-i-hide-an-admin/34504)

<div class="topic-metadata">

**Author:** [@SidV](https://meta.discourse.org/u/SidV)\
**回复:** 5\
**最近更新：:** [2018 年11 月 15 日 13:00 UTC](https://meta.discourse.org/t/can-i-hide-an-admin/34504 "2018-11-15T13:00:36Z")

</div>

Hello, I need to hide an admin user from the staff list. I don’t like that he shows in /about section. How could I do that?

---

## [图标无法正常工作](https://meta.discourse.org/t/icons-not-working-anymore/102103)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回复:** 0\
**最近更新：:** [2018 年11 月 15 日 12:28 UTC](https://meta.discourse.org/t/icons-not-working-anymore/102103 "2018-11-15T12:28:29Z")

</div>

你好， Discourse 图标从几小时前开始无法显示。我没有对网站进行任何更改。 例如： 在 JS 控制台中： 有什么修复建议吗？🤔 编辑：这是与 Chrome 扩展（S…）的冲突导致的。

---

## [替换“详细信息”工具栏按钮？](https://meta.discourse.org/t/replacing-details-toolbar-button/102101)

<div class="topic-metadata">

**Author:** [@Kankuro](https://meta.discourse.org/u/Kankuro)\
**回复:** 0\
**最近更新：:** [2018 年11 月 15 日 12:01 UTC](https://meta.discourse.org/t/replacing-details-toolbar-button/102101 "2018-11-15T12:01:44Z")

</div>

你好， 我正尝试用自定义按钮替换现有的“详情”工具栏按钮，但进展不太顺利。我参考了这篇关于插件 API 的教程，并结合了我已有的 JavaScript 知识，但是……

---

## [8 visits in last 7 days — public Users page](https://meta.discourse.org/t/8-visits-in-last-7-days-public-users-page/76609)

<div class="topic-metadata">

**Author:** [@meglio](https://meta.discourse.org/u/meglio)\
**回复:** 6\
**最近更新：:** [2018 年11 月 15 日 11:56 UTC](https://meta.discourse.org/t/8-visits-in-last-7-days-public-users-page/76609 "2018-11-15T11:56:48Z")

</div>

Here you can see how the number of visits, which is 8 (last figure per usr) is greater than the number of days in a Weekly view, which is 7. It looks confusing. Same for 32 visits in a Monthly views.

---

## [8 visits per week in user list?](https://meta.discourse.org/t/8-visits-per-week-in-user-list/70141)

<div class="topic-metadata">

**Author:** [@downey](https://meta.discourse.org/u/downey)\
**回复:** 6\
**最近更新：:** [2018 年11 月 15 日 10:01 UTC](https://meta.discourse.org/t/8-visits-per-week-in-user-list/70141 "2018-11-15T10:01:55Z")

</div>

Does anyone else find it strange that on the user list, somehow it’s the case that people can visit a Discourse forum 8 days per week? I know @codinghorror is superhuman, and I know I’m not a math wizard, but every …

---

## [求助！如何升级我们的自托管社区？](https://meta.discourse.org/t/help-how-can-i-upgraded-our-self-hosted-community/102089)

<div class="topic-metadata">

**Author:** [@Louise\_Han](https://meta.discourse.org/u/Louise_Han)\
**回复:** 1\
**最近更新：:** [2018 年11 月 15 日 09:12 UTC](https://meta.discourse.org/t/help-how-can-i-upgraded-our-self-hosted-community/102089 "2018-11-15T09:12:55Z")

</div>

大家好， 我们运营一个使用 Discourse 系统的技术社区。目前我们使用的是 Discourse 1.5.3 版本，该版本已发布两年。我们计划升级到最新的 Discourse 2.0 版本，以便访问 Disco…

---

## [\[招聘\] 协助解决一些 WordPress 问题](https://meta.discourse.org/t/hiring-help-with-some-wordpress-issues/102053)

<div class="topic-metadata">

**Author:** [@PatrickH](https://meta.discourse.org/u/PatrickH)\
**回复:** 1\
**最近更新：:** [2018 年11 月 15 日 05:20 UTC](https://meta.discourse.org/t/hiring-help-with-some-wordpress-issues/102053 "2018-11-15T05:20:59Z")

</div>

您希望完成什么？ 在首页展示最新话题列表和其他话题列表 成员登录 / VIP 成员 / 仅显示话题列表（摘要）于 Discourse 中 您希望何时完成？ 今年 :wink: 什么是…

---

## [Discourse设置不要求提供SMTP服务器地址](https://meta.discourse.org/t/discourse-setup-not-asking-for-smtp-server-address/73993)

<div class="topic-metadata">

**Author:** [@LucaDellAnna](https://meta.discourse.org/u/LucaDellAnna)\
**回复:** 12\
**最近更新：:** [2018 年11 月 15 日 04:48 UTC](https://meta.discourse.org/t/discourse-setup-not-asking-for-smtp-server-address/73993 "2018-11-15T04:48:48Z")

</div>

晚上好， 我正在尝试在DigitalOcean的虚拟机上设置discourse。 我通过ssh成功安装了docker和discourse。 当我运行./discourse-setup时，系统直接提示我输入SMTP密码；我没有接收到任何提示……

---

## [Discobot 图像教程在某些情况下可能无法正常工作](https://meta.discourse.org/t/discobot-image-lesson-may-not-be-working-in-some-circumstances/101218)

<div class="topic-metadata">

**Author:** [@anon80167013](https://meta.discourse.org/u/anon80167013)\
**回复:** 16\
**最近更新：:** [2018 年11 月 15 日 02:54 UTC](https://meta.discourse.org/t/discobot-image-lesson-may-not-be-working-in-some-circumstances/101218 "2018-11-15T02:54:54Z")

</div>

图片课程是第一个要求你完成两项任务的课程： 点赞 Discobot 发送给你的图片 回复一张图片 如果你只回复一张图片，Discobot 会显示： 看起来你没有上传图片 甚至……

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

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