# Latest

**URL:** https://meta.discourse.org/latest.md?f=tracked&page=1266

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

**Page:** 1267

---

## [如何判断当前用户是否属于特定组？](https://meta.discourse.org/t/how-to-know-if-the-current-user-belongs-to-a-particular-group/143216)

<div class="topic-metadata">

**Author:** [@Canapin](https://meta.discourse.org/u/Canapin)\
**回覆:** 1\
**Last updated:** [2020年三月3日 14:12 UTC](https://meta.discourse.org/t/how-to-know-if-the-current-user-belongs-to-a-particular-group/143216 "2020-03-03T14:12:39Z")

</div>

是否有专门为此设计的方法，还是我必须遍历 api.getCurrentUser() 中的组数组？

---

## [\[有偿\] 寻找 Discourse 修改程序员，25-30 美元](https://meta.discourse.org/t/paid-looking-for-a-programmer-for-discourse-modifications-25-30/143017)

<div class="topic-metadata">

**Author:** [@ericg2019](https://meta.discourse.org/u/ericg2019)\
**回覆:** 3\
**Last updated:** [2020年三月3日 13:09 UTC](https://meta.discourse.org/t/paid-looking-for-a-programmer-for-discourse-modifications-25-30/143017 "2020-03-03T13:09:34Z")

</div>

你好！希望你今天一切顺利。 我正在寻找一位能帮我完成以下工作的人： - 添加一些分类 - 修改菜单 - 添加插件 - 添加子分类 我需要将其作为静态网站……

---

## [使用波浪线代码 fences 时，电子邮件回复被截断](https://meta.discourse.org/t/email-replies-truncated-at-code-fences-with-tildes/143198)

<div class="topic-metadata">

**Author:** [@brad.king](https://meta.discourse.org/u/brad.king)\
**回覆:** 1\
**Last updated:** [2020年三月3日 12:46 UTC](https://meta.discourse.org/t/email-replies-truncated-at-code-fences-with-tildes/143198 "2020-03-03T12:46:35Z")

</div>

论坛自 2017 年起就支持使用 ~~~ 的代码块： 然而，通过电子邮件回复时，回复截断器会在 ~~~ 行处截断消息，很可能是将其误认为是分隔符。例如，发送…

---

## [功能建议：点赞自己的评论](https://meta.discourse.org/t/feature-idea-liking-my-own-comments/143145)

<div class="topic-metadata">

**Author:** [@Salvatore\_Candela](https://meta.discourse.org/u/Salvatore_Candela)\
**回覆:** 12\
**Last updated:** [2020年三月3日 12:40 UTC](https://meta.discourse.org/t/feature-idea-liking-my-own-comments/143145 "2020-03-03T12:40:44Z")

</div>

您好， 我想给自己的评论点赞，但发现 Discourse 中缺少此功能。这是否在开发路线图/可以启用？

---

## [如何通过 API 仅检索特定用户（通过电子邮件、用户名或 ID）的帖子](https://meta.discourse.org/t/how-to-retrieve-from-api-only-posts-of-specific-user-by-e-mail-username-or-id/143178)

<div class="topic-metadata">

**Author:** [@Piotr\_Paściak](https://meta.discourse.org/u/Piotr_Pa%C5%9Bciak)\
**回覆:** 1\
**Last updated:** [2020年三月3日 10:17 UTC](https://meta.discourse.org/t/how-to-retrieve-from-api-only-posts-of-specific-user-by-e-mail-username-or-id/143178 "2020-03-03T10:17:21Z")

</div>

你好， 我一直在查阅以下 API 文档：https://docs.discourse.org/ 遗憾的是，我未能找到任何可以仅检索特定用户帖子的端点——这是一个硬性要求…

---

## [开发实例中出现错误 403（禁止访问）](https://meta.discourse.org/t/error-403-forbidden-in-dev-instance/143027)

<div class="topic-metadata">

**Author:** [@jack2](https://meta.discourse.org/u/jack2)\
**回覆:** 1\
**Last updated:** [2020年三月3日 10:00 UTC](https://meta.discourse.org/t/error-403-forbidden-in-dev-instance/143027 "2020-03-03T10:00:51Z")

</div>

我刚更新了开发环境，但无法再登录。 调试控制台显示：POST http://localhost:3000/session 403（禁止访问）。 日志文件显示： 无法验证 CSRF 令牌的真实性。 正在渲染文本模板…

---

## [Composer 中初始化内容的正确函数是什么？](https://meta.discourse.org/t/what-is-the-proper-function-to-initalize-stuff-on-composer-open/143142)

<div class="topic-metadata">

**Author:** [@spirobel](https://meta.discourse.org/u/spirobel)\
**回覆:** 0\
**Last updated:** [2020年三月3日 00:02 UTC](https://meta.discourse.org/t/what-is-the-proper-function-to-initalize-stuff-on-composer-open/143142 "2020-03-03T00:02:18Z")

</div>

我有一个函数，用于每次打开编辑器时设置一个名为 project\_task 的对象。 我之所以这样实现，是因为我在 events 插件中看到了类似的做法： https://github.com/paviliondev/discourse-events/blob/master/asset…

---

## [如何自定义主题创作器的标签选择器？](https://meta.discourse.org/t/how-to-customise-the-tag-chooser-for-topic-composer/143171)

<div class="topic-metadata">

**Author:** [@saurabhmasc](https://meta.discourse.org/u/saurabhmasc)\
**回覆:** 1\
**Last updated:** [2020年三月3日 07:13 UTC](https://meta.discourse.org/t/how-to-customise-the-tag-chooser-for-topic-composer/143171 "2020-03-03T07:13:18Z")

</div>

大家好， 我们希望在创建新主题时，显示一组带有复选框的标签，以便用户可以选择这些标签。然后，根据所选的复选框，更新文本字段的值为所选标签的列表……

---

## [在系统生成的帖子中包含 raw\_html](https://meta.discourse.org/t/having-raw-html-in-a-system-created-post/143150)

<div class="topic-metadata">

**Author:** [@Luke\_Clancy](https://meta.discourse.org/u/Luke_Clancy)\
**回覆:** 3\
**Last updated:** [2020年三月3日 03:53 UTC](https://meta.discourse.org/t/having-raw-html-in-a-system-created-post/143150 "2020-03-03T03:53:07Z")

</div>

我试图在开发中的网站插件上创建使用原始 HTML 的系统管理帖子。查看文档和各种帖子，我认为我采取了正确的方法，但预处理器仍然…

---

## [如何取消关于信任等级的自动邮件](https://meta.discourse.org/t/how-to-cancel-autoemail-about-trust-level/143104)

<div class="topic-metadata">

**Author:** [@KimM](https://meta.discourse.org/u/KimM)\
**回覆:** 3\
**Last updated:** [2020年三月2日 19:06 UTC](https://meta.discourse.org/t/how-to-cancel-autoemail-about-trust-level/143104 "2020-03-02T19:06:58Z")

</div>

我该如何阻止论坛向会员发送某些自动邮件？我想取消发送主题为以下内容的邮件：\[XCSN Community\] \[PM\] 恭喜您的信任等级提升！…

---

## [帮助处理分类背景图片](https://meta.discourse.org/t/help-with-category-background-images/104709)

<div class="topic-metadata">

**Author:** [@Jason3](https://meta.discourse.org/u/Jason3)\
**回覆:** 7\
**Last updated:** [2020年三月2日 20:28 UTC](https://meta.discourse.org/t/help-with-category-background-images/104709 "2020-03-02T20:28:36Z")

</div>

什么尺寸的背景图片效果最佳？我尝试了超过100张图片和GIF，它们都被拉伸且变得模糊。通常连一半的图片都无法完整显示。

---

## [恢复时设置 disable\_emails: false 已失效](https://meta.discourse.org/t/disable-emails-false-on-restore-stopped-working/143093)

<div class="topic-metadata">

**Author:** [@RGJ](https://meta.discourse.org/u/RGJ)\
**回覆:** 1\
**Last updated:** [2020年三月2日 16:44 UTC](https://meta.discourse.org/t/disable-emails-false-on-restore-stopped-working/143093 "2020-03-02T16:44:52Z")

</div>

在 BackupRestore.restore! 函数中，此前正常工作的 :disable\_emails 选项似乎不再被传递给 BackupRestore::Restorer::initialize： while discourse/lib/backup\_restore/restorer.rb at main · di…

---

## [带有正确时间戳的 User\_stats](https://meta.discourse.org/t/user-stats-with-a-proper-time-stamp/143066)

<div class="topic-metadata">

**Author:** [@Gaurav\_Sardana](https://meta.discourse.org/u/Gaurav_Sardana)\
**回覆:** 7\
**Last updated:** [2020年三月2日 11:32 UTC](https://meta.discourse.org/t/user-stats-with-a-proper-time-stamp/143066 "2020-03-02T11:32:05Z")

</div>

嘿， 我有一个 Discourse SQL 数据库。我需要查找特定时间戳的用户统计数据。 例如，我需要知道某个用户发布了多少帖子？ 如果我从 user\_stats 中提取该数据，它将返回一个数字……

---

## [查看已创建的帖子和主题数量](https://meta.discourse.org/t/see-number-of-created-topics-posts/142869)

<div class="topic-metadata">

**Author:** [@ben.kunze](https://meta.discourse.org/u/ben.kunze)\
**回覆:** 4\
**Last updated:** [2020年三月2日 08:50 UTC](https://meta.discourse.org/t/see-number-of-created-topics-posts/142869 "2020-03-02T08:50:39Z")

</div>

你好，\\n有一位成员询问她是否可以查看已创建的帖子和主题数量？\\n感谢您的信息与支持

---

## [服务器似乎无法通过 DNS 访问](https://meta.discourse.org/t/server-does-not-appear-to-be-accessible-via-dns/142975)

<div class="topic-metadata">

**Author:** [@mrduran12](https://meta.discourse.org/u/mrduran12)\
**回覆:** 5\
**Last updated:** [2020年三月2日 06:58 UTC](https://meta.discourse.org/t/server-does-not-appear-to-be-accessible-via-dns/142975 "2020-03-02T06:58:47Z")

</div>

大家好， 我在安装过程中遇到了这个错误。为什么会发生这样的错误？名称服务器重定向已完成。

---

## [如何在帖子下方添加“关闭主题图标按钮”？](https://meta.discourse.org/t/how-to-add-close-topic-icon-button-underneath-posts/142990)

<div class="topic-metadata">

**Author:** [@pr0cesor](https://meta.discourse.org/u/pr0cesor)\
**回覆:** 7\
**Last updated:** [2020年三月1日 19:38 UTC](https://meta.discourse.org/t/how-to-add-close-topic-icon-button-underneath-posts/142990 "2020-03-01T19:38:05Z")

</div>

嗨，又是我 xd 这次我想把“关闭主题”按钮放在帖子下方，和其他图标放在一起。 有插件可以实现这个功能吗？

---

## [Google Chrome extension for discourse notifications](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496)

<div class="topic-metadata">

**Author:** [@alep](https://meta.discourse.org/u/alep)\
**回覆:** 30\
**Last updated:** [2020年三月1日 16:51 UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496 "2020-03-01T16:51:49Z")

</div>

I’ve released the new version 1.0.0. I’ve added the multi-site feature: the user can add more discourse sites to see all notifications in one single place. You can install it from here: https://chrome.google.com/websto…

---

## [禁用桌面和移动端的帖子数量显示](https://meta.discourse.org/t/disable-number-of-posts-in-desktop-and-mobile/143014)

<div class="topic-metadata">

**Author:** [@petepan23](https://meta.discourse.org/u/petepan23)\
**回覆:** 1\
**Last updated:** [2020年三月1日 16:24 UTC](https://meta.discourse.org/t/disable-number-of-posts-in-desktop-and-mobile/143014 "2020-03-01T16:24:32Z")

</div>

您好， 如何在桌面端和移动端视图中禁用帖子数量显示？详情如下所示： 桌面端： 移动端：

---

## [无法在移动端通过帖子时间线菜单更改跟踪状态](https://meta.discourse.org/t/cant-change-tracking-status-from-post-timeline-menu-on-mobile/142998)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**回覆:** 3\
**Last updated:** [2020年三月1日 08:57 UTC](https://meta.discourse.org/t/cant-change-tracking-status-from-post-timeline-menu-on-mobile/142998 "2020-03-01T08:57:14Z")

</div>

我不确定“时间线菜单”是否是正确的术语，但下方的图片应该能清楚表达我的意思。点击圈出的按钮只会关闭菜单，而不会显示跟踪选项。我使用的是最新版的 iOS，Saf…

---

## [WordPress 评论中的编号列表已更改为字母列表](https://meta.discourse.org/t/numbered-list-changed-to-lettered-list-in-comments-on-wordpress/142950)

<div class="topic-metadata">

**Author:** [@alexwoolfson](https://meta.discourse.org/u/alexwoolfson)\
**回覆:** 6\
**Last updated:** [2020年三月1日 08:56 UTC](https://meta.discourse.org/t/numbered-list-changed-to-lettered-list-in-comments-on-wordpress/142950 "2020-03-01T08:56:24Z")

</div>

你好！ 有读者向我指出一个奇怪的问题：在我的 Discourse 网站上使用数字的评论，在我的 WordPress 网站上却显示为字母： 这是 Discourse 插件的已知问题吗？还是只是…

---

## [2.3.8 和 2.3.9 更新声称失败](https://meta.discourse.org/t/2-3-8-and-2-3-9-updates-claimed-failure/139496)

<div class="topic-metadata">

**Author:** [@peternlewis](https://meta.discourse.org/u/peternlewis)\
**回覆:** 8\
**Last updated:** [2020年三月1日 08:44 UTC](https://meta.discourse.org/t/2-3-8-and-2-3-9-updates-claimed-failure/139496 "2020-03-01T08:44:48Z")

</div>

2.3.8 和 2.3.9 更新均以以下信息结束： 抱歉，升级 Discourse 时发生错误。请检查下方的日志。 此时版本页面显示所有内容仍需要更新。 日志未显示任何...

---

## [开发环境磁盘空间不足](https://meta.discourse.org/t/dev-environment-running-out-of-disk-space/142980)

<div class="topic-metadata">

**Author:** [@seanblue](https://meta.discourse.org/u/seanblue)\
**回覆:** 8\
**Last updated:** [2020年三月1日 08:29 UTC](https://meta.discourse.org/t/dev-environment-running-out-of-disk-space/142980 "2020-03-01T08:29:31Z")

</div>

我的 Discourse 开发环境（Ubuntu 虚拟机）磁盘空间不足，尽管上周已将虚拟机磁盘大小加倍至 24GB。我需要手动删除旧版本的 Discourse，还是运行清理脚本或其他操作？我…

---

## [discobot 教程中“Skip”的使用似乎失败](https://meta.discourse.org/t/skip-usage-in-discobot-tutorials-seems-to-fail/142983)

<div class="topic-metadata">

**Author:** [@DaleKramer](https://meta.discourse.org/u/DaleKramer)\
**回覆:** 2\
**Last updated:** [2020年三月1日 00:19 UTC](https://meta.discourse.org/t/skip-usage-in-discobot-tutorials-seems-to-fail/142983 "2020-03-01T00:19:50Z")

</div>

我已重新开始 discobot 教程，并试图跳过我已完成的步骤。 但是，当我回复一条要求我执行某项操作的 discobot 帖子并输入“skip”时，它仅跳过了第一个教程……

---

## [“精彩帖子”与“精彩回复”徽章](https://meta.discourse.org/t/nice-post-vs-nice-reply-badge/142957)

<div class="topic-metadata">

**Author:** [@Mark\_Schmucker](https://meta.discourse.org/u/Mark_Schmucker)\
**回覆:** 1\
**Last updated:** [2020年二月29日 21:23 UTC](https://meta.discourse.org/t/nice-post-vs-nice-reply-badge/142957 "2020-02-29T21:23:16Z")

</div>

正如此处所讨论的，我想创建我自己的 Nice Reply 版本。我需要一个新的名称，而 Nice Post 似乎是显而易见的选择。但是，如果我尝试创建一个名为 Nice Post 的新徽章，我会收到“抱歉，发生了一个错误…"的提示。

---

## [版主专用眼睛图标](https://meta.discourse.org/t/eye-icon-for-moderators/142948)

<div class="topic-metadata">

**Author:** [@pr0cesor](https://meta.discourse.org/u/pr0cesor)\
**回覆:** 7\
**Last updated:** [2020年二月29日 19:46 UTC](https://meta.discourse.org/t/eye-icon-for-moderators/142948 "2020-02-29T19:46:10Z")

</div>

您好，\\n是我又回来了。\\n我创建了一个名为 Watchdog 的账户，并授予其管理员权限。随后，我创建了一个名为“moderators”的徽章（在设置中放置了眼睛图标），并将该徽章授予了 Watchdoggo……

---

## [集成新的 Stripe Checkout 或 Stripe Payment Intents 版本？](https://meta.discourse.org/t/integrating-with-new-stripe-checkout-or-stripe-payment-intents-version/122818)

<div class="topic-metadata">

**Author:** [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)\
**回覆:** 7\
**Last updated:** [2020年二月29日 14:53 UTC](https://meta.discourse.org/t/integrating-with-new-stripe-checkout-or-stripe-payment-intents-version/122818 "2020-02-29T14:53:37Z")

</div>

我使用自己编写的 Discourse 插件通过 Stripe Checkout（1 版本）接受支付来对我的论坛进行变现。这很简单，因为 Stripe 在（JavaScript）客户端处理了整个支付工作流，并带有一个 sin…

---

## [What exactly are the effects of "allow user locale"](https://meta.discourse.org/t/what-exactly-are-the-effects-of-allow-user-locale/58348)

<div class="topic-metadata">

**Author:** [@tophee](https://meta.discourse.org/u/tophee)\
**回覆:** 40\
**Last updated:** [2020年二月29日 10:36 UTC](https://meta.discourse.org/t/what-exactly-are-the-effects-of-allow-user-locale/58348 "2020-02-29T10:36:03Z")

</div>

I have a specific question about “allow user locale” but I thought I might as well broaden it for general interest. In particular, I would like to understand whether enabling “allow user locale” by itself will change th…

---

## [升级失败，出现“重复键值违反唯一约束”错误](https://meta.discourse.org/t/upgrade-failed-with-duplicate-key-value-violates-unique-constraint-error/142767)

<div class="topic-metadata">

**Author:** [@morevnaproject](https://meta.discourse.org/u/morevnaproject)\
**回覆:** 17\
**Last updated:** [2020年二月29日 07:19 UTC](https://meta.discourse.org/t/upgrade-failed-with-duplicate-key-value-violates-unique-constraint-error/142767 "2020-02-29T07:19:13Z")

</div>

嗨！ 今天我尝试将我的 Discourse 实例从"2.1.0.beta6"升级到最新版本"2.5.0.beta1"。 但网页升级在中间失败，之后我的服务器显示建议通过执行 ./launc… 来更新。

---

## [主题所有者 = 主题版主](https://meta.discourse.org/t/topic-owner-topic-moderator/142896)

<div class="topic-metadata">

**Author:** [@Stefan](https://meta.discourse.org/u/Stefan)\
**回覆:** 14\
**Last updated:** [2020年二月29日 04:28 UTC](https://meta.discourse.org/t/topic-owner-topic-moderator/142896 "2020-02-29T04:28:41Z")

</div>

由于我有一段时间（很长）未接触 Discourse 生态系统，我想请教：是否有人建议或实现过一项功能，允许话题所有者自行管理自己的话题（而无需拥有该话题之外的版主权限）？

---

## [有人能提供数据库模式转储吗？](https://meta.discourse.org/t/could-anyone-give-a-database-schema-dump/142749)

<div class="topic-metadata">

**Author:** [@fzyzcjy](https://meta.discourse.org/u/fzyzcjy)\
**回覆:** 2\
**Last updated:** [2020年二月29日 02:09 UTC](https://meta.discourse.org/t/could-anyone-give-a-database-schema-dump/142749 "2020-02-29T02:09:35Z")

</div>

能否请您提供 SQL 架构的转储？因为我的电脑无法安装该环境，但我真的很想知道数据库架构是如何设计的（毕竟这个项目如此著名且出色！） 谢谢……

[上一頁](https://meta.discourse.org/latest.md?f=tracked&page=1265)

[下一頁](https://meta.discourse.org/latest.md?f=tracked&page=1267)
