# Latest

**URL:** https://meta.discourse.org/latest.md?page=1245&status=created

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

**Page:** 1246

---

## [显示位置信息](https://meta.discourse.org/t/surfacing-location-information/149703)

<div class="topic-metadata">

**Author:** [@andrw](https://meta.discourse.org/u/andrw)\
**回复:** 1\
**最近更新：:** [2020 年4 月 29 日 03:45 UTC](https://meta.discourse.org/t/surfacing-location-information/149703 "2020-04-29T03:45:30Z")

</div>

我希望将用户信息展示在用户列表页面上，并暂时隐藏互动信息。我需要此功能更侧重于查找您所在地区的用户。 我还希望重新设计网站搜索……

---

## [在用户资料页面显示顶级标签，如同用户最活跃的顶级分类](https://meta.discourse.org/t/show-top-tags-on-user-profile-page-like-top-categories-a-user-is-active-in/149563)

<div class="topic-metadata">

**Author:** [@Faizan\_Zahid](https://meta.discourse.org/u/Faizan_Zahid)\
**回复:** 0\
**最近更新：:** [2020 年4 月 28 日 08:47 UTC](https://meta.discourse.org/t/show-top-tags-on-user-profile-page-like-top-categories-a-user-is-active-in/149563 "2020-04-28T08:47:22Z")

</div>

就像我们在用户个人资料页面显示用户的顶级分类一样，我该如何在用户个人资料页面也显示顶级标签，以便查看该用户在哪些标签下发帖和回复最多？

---

## [回应 discobot 导致新用户被禁言](https://meta.discourse.org/t/responding-to-discobot-caused-new-user-to-be-silenced/149469)

<div class="topic-metadata">

**Author:** [@mbauman](https://meta.discourse.org/u/mbauman)\
**回复:** 4\
**最近更新：:** [2020 年4 月 29 日 01:30 UTC](https://meta.discourse.org/t/responding-to-discobot-caused-new-user-to-be-silenced/149469 "2020-04-29T01:30:01Z")

</div>

我刚刚收到大量由系统生成的标记，起因是新用户在我们网站上与 Discobot 的互动。他们正在“问候”线程中回应 Discobot 的提示，但不知为何，他们的首次尝试…

---

## [报告书签功能存在的几个问题](https://meta.discourse.org/t/reporting-few-issues-with-bookmarks/149283)

<div class="topic-metadata">

**Author:** [@hawm](https://meta.discourse.org/u/hawm)\
**回复:** 2\
**最近更新：:** [2020 年4 月 29 日 00:48 UTC](https://meta.discourse.org/t/reporting-few-issues-with-bookmarks/149283 "2020-04-29T00:48:22Z")

</div>

当用户未书签任何帖子或主题时，向用户本身显示警告“您无权查看此用户的书签”。这可能不是错误，但会造成用户困惑。 始终在书签图标前显示...

---

## [删除书签后，PM 中仍保留书签图标](https://meta.discourse.org/t/bookmark-icon-reamains-in-pm-after-deleting-the-bookmark/149356)

<div class="topic-metadata">

**Author:** [@Thomas\_G](https://meta.discourse.org/u/Thomas_G)\
**回复:** 3\
**最近更新：:** [2020 年4 月 29 日 00:47 UTC](https://meta.discourse.org/t/bookmark-icon-reamains-in-pm-after-deleting-the-bookmark/149356 "2020-04-29T00:47:49Z")

</div>

继续在此处讨论。 我在公开帖子中使用书签时未遇到任何问题。但在删除私信中的书签时，书签图标仍然保留。 复现步骤： 创建私信 添加一个书…

---

## [Discourse + Facebook Pages 与 Zapier 的集成无法正常工作](https://meta.discourse.org/t/discourse-facebook-pages-integration-with-zapier-not-working/149645)

<div class="topic-metadata">

**Author:** [@Alexander](https://meta.discourse.org/u/Alexander)\
**回复:** 5\
**最近更新：:** [2020 年4 月 29 日 00:31 UTC](https://meta.discourse.org/t/discourse-facebook-pages-integration-with-zapier-not-working/149645 "2020-04-29T00:31:22Z")

</div>

如果分类有误，敬请谅解，Composer 不允许我选择分类。 大家好 :smiley:！ 我看到许多关于通过 Zapier 实现自动化的帖子，出于好奇，我想加入并尝试一下 :zap:。 我…

---

## [Discourse 使用哪种正则表达式实现？](https://meta.discourse.org/t/which-regex-implementation-does-discourse-use/148935)

<div class="topic-metadata">

**Author:** [@007](https://meta.discourse.org/u/007)\
**回复:** 5\
**最近更新：:** [2020 年4 月 29 日 00:11 UTC](https://meta.discourse.org/t/which-regex-implementation-does-discourse-use/148935 "2020-04-29T00:11:30Z")

</div>

我正在为一个导入项目处理一些正则表达式问题，遇到了一些困难。只是好奇，Discourse 使用哪种正则表达式实现？

---

## [主题组件显示当前用户是否已回复主题的指示器？](https://meta.discourse.org/t/theme-component-to-show-indicator-if-current-user-has-replied-to-a-topic/149514)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回复:** 3\
**最近更新：:** [2020 年4 月 28 日 23:37 UTC](https://meta.discourse.org/t/theme-component-to-show-indicator-if-current-user-has-replied-to-a-topic/149514 "2020-04-28T23:37:20Z")

</div>

有人问是否有办法显示当前用户是否已回复某个主题的指示器。但我认为类别加载只有常发帖，没有关于当前发帖者的信息，对吧？所以……

---

## [Safari 导航问题，由主题或插件引起](https://meta.discourse.org/t/safari-navigation-issues-due-to-theme-or-plugin/149669)

<div class="topic-metadata">

**Author:** [@znedw](https://meta.discourse.org/u/znedw)\
**回复:** 2\
**最近更新：:** [2020 年4 月 28 日 22:42 UTC](https://meta.discourse.org/t/safari-navigation-issues-due-to-theme-or-plugin/149669 "2020-04-28T22:42:19Z")

</div>

大家好， 一些用户报告在 Mac OS 和 iOS 的 Safari 上遇到问题。 问题报告如下： 从昨天左右开始，当我在 Safari 中进入某个帖子后尝试返回（无论是使用浏览器的返回按钮还是 Cmd+左箭头），t…

---

## [如何/在哪里自定义 Markdown 解析器](https://meta.discourse.org/t/how-where-to-customize-markdown-parser/147538)

<div class="topic-metadata">

**Author:** [@mentalstring](https://meta.discourse.org/u/mentalstring)\
**回复:** 4\
**最近更新：:** [2020 年4 月 28 日 21:34 UTC](https://meta.discourse.org/t/how-where-to-customize-markdown-parser/147538 "2020-04-28T21:34:26Z")

</div>

我正在准备一个使用 SSO 的 Discourse 实例，支持现有用户名中包含任意位置的下划线和连字符对我们来说非常重要。我已经在 Discourse 代码中完成了相关的正则表达式更新，以便……

---

## [需要帮助在不使用电子邮件的情况下设置 SSO](https://meta.discourse.org/t/need-help-to-setup-sso-without-emails/149524)

<div class="topic-metadata">

**Author:** [@gaurang.prasad](https://meta.discourse.org/u/gaurang.prasad)\
**回复:** 4\
**最近更新：:** [2020 年4 月 28 日 20:01 UTC](https://meta.discourse.org/t/need-help-to-setup-sso-without-emails/149524 "2020-04-28T20:01:35Z")

</div>

我的网站（一个基于 MediaWiki 的维基）仅使用用户名和密码（电子邮件对用户注册是可选的）。我已经成功运行了 Discourse，并在管理员设置中启用了 SSO。点击 Discourse 上的登录按钮后……

---

## [是什么决定了摘要邮件中显示的内容片段？](https://meta.discourse.org/t/what-determines-the-content-snippet-displayed-in-digest-emails/149661)

<div class="topic-metadata">

**Author:** [@Tyson](https://meta.discourse.org/u/Tyson)\
**回复:** 1\
**最近更新：:** [2020 年4 月 28 日 18:58 UTC](https://meta.discourse.org/t/what-determines-the-content-snippet-displayed-in-digest-emails/149661 "2020-04-28T18:58:30Z")

</div>

摘要邮件会显示主题内容的片段。这些片段是根据字符数还是主题正文中的其他因素进行截断的？有时我希望以某种方式格式化主题，以便我知道会出现什么内容……

---

## [如何在 Zenodo 中集成 Discourse](https://meta.discourse.org/t/how-to-integrate-in-discourse-in-zenodo/149630)

<div class="topic-metadata">

**Author:** [@TomVanHout](https://meta.discourse.org/u/TomVanHout)\
**回复:** 3\
**最近更新：:** [2020 年4 月 28 日 17:27 UTC](https://meta.discourse.org/t/how-to-integrate-in-discourse-in-zenodo/149630 "2020-04-28T17:27:08Z")

</div>

新手问题。我是一名学者，计划在 Zenodo 上举办一个开放科学/开源/开放获取研讨会，并集成 Discourse。我已创建了 GitHub 账户，但现已陷入困境。我该如何继续？ 非常感谢， Tom

---

## [无法在不接近长主题末尾的情况下通过键盘更改其跟踪状态](https://meta.discourse.org/t/cannot-change-tracking-status-of-a-long-topic-from-keyboard-without-going-near-the-end/149583)

<div class="topic-metadata">

**Author:** [@mpol](https://meta.discourse.org/u/mpol)\
**回复:** 2\
**最近更新：:** [2020 年4 月 28 日 17:02 UTC](https://meta.discourse.org/t/cannot-change-tracking-status-of-a-long-topic-from-keyboard-without-going-near-the-end/149583 "2020-04-28T17:02:01Z")

</div>

复现步骤： 前往任意足够长的主题，例如 https://meta.discourse.org/t/blank-screen-when-switching-back-to-the-ios-app/142469 立即按下 m r 或 m t 以尝试更改主题的跟踪状态…

---

## [未激活的账户将被删除](https://meta.discourse.org/t/accounts-which-werent-activated-are-deleted/149637)

<div class="topic-metadata">

**Author:** [@VoskCoin](https://meta.discourse.org/u/VoskCoin)\
**回复:** 2\
**最近更新：:** [2020 年4 月 28 日 17:00 UTC](https://meta.discourse.org/t/accounts-which-werent-activated-are-deleted/149637 "2020-04-28T17:00:19Z")

</div>

我不希望我的论坛受到过度或额外的审核，同时我也希望用户能够根据需要离开数年，之后仍能返回并使用他们的账户。 我该如何确保这些账户不会被“自动删除……

---

## [如何将已迁移的 Google Groups 用户从暂存状态移至活跃状态？](https://meta.discourse.org/t/how-to-move-google-groups-migrated-users-from-staged-to-active/149474)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回复:** 7\
**最近更新：:** [2020 年4 月 28 日 16:50 UTC](https://meta.discourse.org/t/how-to-move-google-groups-migrated-users-from-staged-to-active/149474 "2020-04-28T16:50:57Z")

</div>

我有一位 CDCK 客户，我为其执行了 Google Groups 导入。我告知他们，用户需要执行“重置密码”操作来设置密码，但导入的用户处于暂存状态，且有一位用户声称尝试重置密码时遇到问题…

---

## [在帖子菜单中添加额外按钮](https://meta.discourse.org/t/add-additional-button-post-menu/149439)

<div class="topic-metadata">

**Author:** [@marek](https://meta.discourse.org/u/marek)\
**回复:** 3\
**最近更新：:** [2020 年4 月 28 日 15:08 UTC](https://meta.discourse.org/t/add-additional-button-post-menu/149439 "2020-04-28T15:08:29Z")

</div>

嘿。 我刚开始接触 Discourse 插件开发，想知道是否有人能帮我解释一下如何向帖子菜单添加额外的按钮。据我所知，这应该通过自定义插件来实现。 例如……

---

## [Discourse中的私信](https://meta.discourse.org/t/direct-message-in-discourse/149600)

<div class="topic-metadata">

**Author:** [@jenni\_alencar](https://meta.discourse.org/u/jenni_alencar)\
**回复:** 1\
**最近更新：:** [2020 年4 月 28 日 14:24 UTC](https://meta.discourse.org/t/direct-message-in-discourse/149600 "2020-04-28T14:24:26Z")

</div>

您好， 今天，当我在我的社区中发送直接信息时，用户没有收到相关的电子邮件。这种情况下，Discourse 会在收到直接信息时发送邮件吗？ 谢谢。

---

## [我无法通过 API 使用 CURL 或 POSTMAN 创建新主题](https://meta.discourse.org/t/i-am-unable-to-create-a-new-topic-by-api-using-curl-or-postman/149592)

<div class="topic-metadata">

**Author:** [@Faizan\_Zahid](https://meta.discourse.org/u/Faizan_Zahid)\
**回复:** 1\
**最近更新：:** [2020 年4 月 28 日 13:49 UTC](https://meta.discourse.org/t/i-am-unable-to-create-a-new-topic-by-api-using-curl-or-postman/149592 "2020-04-28T13:49:10Z")

</div>

我的 CURL 请求是， curl -X POST "https://mysite.com/posts.json" \\ -H "Api-Key: mykey" \\ -H "Api-Username: system" \\ -H "title: 一年有多少小时，一年有多少秒？" \\ -H "raw: 这是我的首…"

---

## [以管理员用户身份将帖子分配给版主](https://meta.discourse.org/t/assign-posts-as-admin-user-to-a-moderator/149443)

<div class="topic-metadata">

**Author:** [@Matze](https://meta.discourse.org/u/Matze)\
**回复:** 7\
**最近更新：:** [2020 年4 月 28 日 13:05 UTC](https://meta.discourse.org/t/assign-posts-as-admin-user-to-a-moderator/149443 "2020-04-28T13:05:03Z")

</div>

作为管理员用户，我无法将主题分配给一名版主用户。 我是否再次忽略了某些配置选项？:wink:

---

## [如何将"Bar"这个词从投票中翻译出来？（德语问题？）](https://meta.discourse.org/t/how-to-translate-the-word-bar-from-polls-german-language-problem/149568)

<div class="topic-metadata">

**Author:** [@andxblink](https://meta.discourse.org/u/andxblink)\
**回复:** 4\
**最近更新：:** [2020 年4 月 28 日 13:01 UTC](https://meta.discourse.org/t/how-to-translate-the-word-bar-from-polls-german-language-problem/149568 "2020-04-28T13:01:34Z")

</div>

我需要翻译投票中的英文单词“Bar”。搜索会显示“更多50个结果”，并让我更具体一些。但我不知道怎么更具体。 我猜这可能只是个德语专有问题……

---

## [重建用户操作时出现 NoMethodError](https://meta.discourse.org/t/nomethoderror-when-rebuilding-user-actions/149507)

<div class="topic-metadata">

**Author:** [@007](https://meta.discourse.org/u/007)\
**回复:** 4\
**最近更新：:** [2020 年4 月 28 日 11:49 UTC](https://meta.discourse.org/t/nomethoderror-when-rebuilding-user-actions/149507 "2020-04-28T11:49:05Z")

</div>

大家好，我最初是在 support 下提交此问题的，但在全新安装上多次复现后，我现在相当确定这是一个漏洞。我是在最新的 Discourse 发布版本之后才开始遇到这个问题的…

---

## [错误：“由于服务器时钟差异，无法验证授权令牌”](https://meta.discourse.org/t/error-unable-to-verify-authorization-token-due-to-server-clock-differences/147685)

<div class="topic-metadata">

**Author:** [@trusktr](https://meta.discourse.org/u/trusktr)\
**回复:** 4\
**最近更新：:** [2020 年4 月 28 日 11:22 UTC](https://meta.discourse.org/t/error-unable-to-verify-authorization-token-due-to-server-clock-differences/147685 "2020-04-28T11:22:59Z")

</div>

我已启用 Google 身份验证，且之前一直正常工作。但随后发生了某些情况（我想是我在 linode.com 上接受了机器规格的自动更新），现在 Google 身份验证无法使用，Discourse 提示： 无法验证…

---

## [无法发送邮件 Net::ReadTimeout](https://meta.discourse.org/t/not-able-to-send-email-net-readtimeout/98419)

<div class="topic-metadata">

**Author:** [@acinonyxjubatus](https://meta.discourse.org/u/acinonyxjubatus)\
**回复:** 17\
**最近更新：:** [2020 年4 月 28 日 10:48 UTC](https://meta.discourse.org/t/not-able-to-send-email-net-readtimeout/98419 "2020-04-28T10:48:44Z")

</div>

我根据此帖子在 nginx 后面安装了 Discourse。此外，我已通过 certbot 安装了 SSL 证书。注册激活邮件无法发送，当我运行 ./discourse-doctor 检查邮件发送步骤时，我收到 Net::…

---

## [链接分享用户名在末尾追加的原因](https://meta.discourse.org/t/reason-for-link-share-username-appending-at-the-end/149553)

<div class="topic-metadata">

**Author:** [@Yu\_Gong1](https://meta.discourse.org/u/Yu_Gong1)\
**回复:** 3\
**最近更新：:** [2023 年5 月 28 日 09:47 UTC](https://meta.discourse.org/t/reason-for-link-share-username-appending-at-the-end/149553 "2023-05-28T09:47:13Z")

</div>

您好， 我们的社区正在尝试理解为什么使用 Discourse 默认分享按钮会在末尾附加用户名：https://keskustelut.inderes.fi/t/inderes-fi-tuotekehityksen-paivitykset-techtalk/79/196?u=yu\_gong th…

---

## [Discourse 作为 SSO 提供商：登录错误](https://meta.discourse.org/t/discourse-as-sso-provider-login-error/149572)

<div class="topic-metadata">

**Author:** [@balupton](https://meta.discourse.org/u/balupton)\
**回复:** 1\
**最近更新：:** [2020 年4 月 28 日 09:41 UTC](https://meta.discourse.org/t/discourse-as-sso-provider-login-error/149572 "2020-04-28T09:41:59Z")

</div>

我正在遵循这份指南： 我提供了正确的签名，但不知为何 Discourse 不接受它。 这是我正在访问的 URL： 以下是相关的错误日志： 消息 详细 SSO 日志：签名解析错误 负载签名无效 sso：已隐藏 sig: ae997097f358b7e08aa0568290b55ef6e2174077e96a1184153b1d8369d50f8 预期签名：ae997097f358b7e08aa0568290b55ef…

---

## [Allow unregistered users to post as anonymous](https://meta.discourse.org/t/allow-unregistered-users-to-post-as-anonymous/50866)

<div class="topic-metadata">

**Author:** [@codmakr](https://meta.discourse.org/u/codmakr)\
**回复:** 9\
**最近更新：:** [2020 年4 月 28 日 08:57 UTC](https://meta.discourse.org/t/allow-unregistered-users-to-post-as-anonymous/50866 "2020-04-28T08:57:17Z")

</div>

The title says everything. We need this feature for an internal Forum, does anyone knows a plugin or a other way?

---

## [仅向工作人员用户显示 BUTTON](https://meta.discourse.org/t/show-button-only-to-staff-users/149552)

<div class="topic-metadata">

**Author:** [@Ed\_Bobkov](https://meta.discourse.org/u/Ed_Bobkov)\
**回复:** 3\
**最近更新：:** [2020 年4 月 28 日 07:51 UTC](https://meta.discourse.org/t/show-button-only-to-staff-users/149552 "2020-04-28T07:51:33Z")

</div>

我通过脚本在页面的 \`...\` 部分添加了一些按钮： /admin/customize/themes/2/common/head\_tag/edit 方式如下 api.onToolbarCreate(toolbar =\> { t…

---

## [CSP 错误：无法解析无效主机 /theme-javascripts/](https://meta.discourse.org/t/csp-error-couldnt-parse-invalid-host-theme-javascripts/149255)

<div class="topic-metadata">

**Author:** [@Rina\_Fallingstar](https://meta.discourse.org/u/Rina_Fallingstar)\
**回复:** 4\
**最近更新：:** [2020 年4 月 28 日 07:09 UTC](https://meta.discourse.org/t/csp-error-couldnt-parse-invalid-host-theme-javascripts/149255 "2020-04-28T07:09:43Z")

</div>

自从最新更新（2.5.0.beta3）以来，我们的 Discourse 论坛在浏览器开发控制台中持续显示以下错误： 任何包含 JavaScript 的组件都会返回此浏览器警告。 是否存在 CSP 设置…

---

## [使用 API 创建带有自定义用户字段的用户时遇到问题](https://meta.discourse.org/t/trouble-creating-user-with-custom-user-fields-with-the-api/148434)

<div class="topic-metadata">

**Author:** [@NathanLei](https://meta.discourse.org/u/NathanLei)\
**回复:** 1\
**最近更新：:** [2020 年4 月 28 日 05:26 UTC](https://meta.discourse.org/t/trouble-creating-user-with-custom-user-fields-with-the-api/148434 "2020-04-28T05:26:47Z")

</div>

当我尝试通过 API 创建用户并使用"user\_fields\[1\]"（即客户字段）时： 通过 Postman 测试时，一切正常。 但通过代码尝试时，却从未成功。这很奇怪。 这是我的请求负载： {…

[上一页](https://meta.discourse.org/latest.md?page=1244&status=created)

[下一页](https://meta.discourse.org/latest.md?page=1246&status=created)
