# Latest

**URL:** https://meta.discourse.org/latest.md?page=638&period=daily

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

**Page:** 639

---

## [从组件访问api](https://meta.discourse.org/t/accessing-the-api-from-a-component/271311)

<div class="topic-metadata">

**Author:** [@pipkin](https://meta.discourse.org/u/pipkin)\
**回复:** 1\
**最近更新：:** [2023 年7 月 13 日 19:26 UTC](https://meta.discourse.org/t/accessing-the-api-from-a-component/271311 "2023-07-13T19:26:18Z")

</div>

我正在摸索 Discourse 主题，但我不是 Web/JavaScript 开发者。在查看一些第三方主题组件时，我有一个问题。在 discourse-header-submenus/javascripts/discourse/connectors/above-site-hea…

---

## [PostAlerter 作业最近卡住/OOM](https://meta.discourse.org/t/postalerter-job-hangs-ooms-as-of-late/270183)

<div class="topic-metadata">

**Author:** [@blattersturm](https://meta.discourse.org/u/blattersturm)\
**回复:** 8\
**最近更新：:** [2023 年7 月 13 日 19:17 UTC](https://meta.discourse.org/t/postalerter-job-hangs-ooms-as-of-late/270183 "2023-07-13T19:17:37Z")

</div>

自从 FEATURE: new watched\_precedence\_over\_muted setting (#22252) · discourse/discourse@9cf981f · GitHub (推测！) 我们遇到了 Sidekiq 队列填满/内存溢出（OOM）并卡住 PostAlert 作业的情况： 鉴于此提交有…

---

## [如何在主题中搜索和替换 URL 实例？](https://meta.discourse.org/t/how-to-search-and-replace-url-instances-throughout-topics/132143)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**回复:** 1\
**最近更新：:** [2019 年10 月 29 日 21:22 UTC](https://meta.discourse.org/t/how-to-search-and-replace-url-instances-throughout-topics/132143 "2019-10-29T21:22:43Z")

</div>

在我迁移社区之前，我有许多包含指向社区其他部分链接的主题（https://my-old-url.com/t/whatever/63）。 我该如何搜索并替换所有 my-old-url 的实例为 my-new-url？

---

## [Markdown 支持图片居中](https://meta.discourse.org/t/ability-to-center-images-with-markdown/271552)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**回复:** 1\
**最近更新：:** [2023 年7 月 13 日 17:11 UTC](https://meta.discourse.org/t/ability-to-center-images-with-markdown/271552 "2023-07-13T17:11:18Z")

</div>

今天，我们使用： \[image\] 如果图片代码也有居中选项就好了。比如： !\[image|100x499|centered\](upload://zPH5RYitXN4nR9PUKTp2fJT7Xta.png)

---

## [移动设备上3.1.0beta5版本聊天问题](https://meta.discourse.org/t/chat-problem-on-mobile-devices-with-3-1-0beta5/268295)

<div class="topic-metadata">

**Author:** [@Roi](https://meta.discourse.org/u/Roi)\
**回复:** 13\
**最近更新：:** [2023 年7 月 13 日 16:06 UTC](https://meta.discourse.org/t/chat-problem-on-mobile-devices-with-3-1-0beta5/268295 "2023-07-13T16:06:21Z")

</div>

你好， 我的用户和我自己都注意到，在使用移动设备（Android 和 iOS）时，聊天功能或多或少是坏的。因为点击文本框时会弹出软键盘。但屏幕没有调整，它…

---

## [功能请求：按类别反应](https://meta.discourse.org/t/feature-request-per-category-reactions/271447)

<div class="topic-metadata">

**Author:** [@mattdm](https://meta.discourse.org/u/mattdm)\
**回复:** 1\
**最近更新：:** [2023 年7 月 13 日 15:38 UTC](https://meta.discourse.org/t/feature-request-per-category-reactions/271447 "2023-07-13T15:38:34Z")

</div>

随着我们扩展 Fedora Discussion 并将其用于更多用途，能够按类别配置不同的反应会很好。 例如： 我们的“社交和趣味”类别可能拥有更多愚蠢的选项……

---

## [永久删除：功能不可用](https://meta.discourse.org/t/permanent-deletion-function-not-available/271537)

<div class="topic-metadata">

**Author:** [@OrkoGrayskull](https://meta.discourse.org/u/OrkoGrayskull)\
**回复:** 6\
**最近更新：:** [2023 年7 月 13 日 15:31 UTC](https://meta.discourse.org/t/permanent-deletion-function-not-available/271537 "2023-07-13T15:31:51Z")

</div>

我已激活永久删除帖子的功能。但是，激活后该功能仍然不可见。 cd /var/discourse ./launcher enter app rails c SiteSetting.can\_permanently\_delete=true exit exit 我……

---

## [Createdb：错误：数据库创建失败：错误：数据库“discourse”已存在](https://meta.discourse.org/t/createdb-error-database-creation-failed-error-database-discourse-already-exists/267614)

<div class="topic-metadata">

**Author:** [@whitewaterdeu](https://meta.discourse.org/u/whitewaterdeu)\
**回复:** 5\
**最近更新：:** [2023 年7 月 13 日 14:29 UTC](https://meta.discourse.org/t/createdb-error-database-creation-failed-error-database-discourse-already-exists/267614 "2023-07-13T14:29:33Z")

</div>

我在服务器上首次安装 discourse 时遇到了一个错误 Ubuntu 22.04LTS Discourse 最新 GitHub 版本 2GB 内存 2GB 交换空间 错误 2023-06-08 01:19:04.972 UTC \[55\] postgres@template1 ERROR: database "discourse" al…

---

## [Nginx.http.sock 未创建](https://meta.discourse.org/t/nginx-http-sock-not-created/271441)

<div class="topic-metadata">

**Author:** [@MaitreCake](https://meta.discourse.org/u/MaitreCake)\
**回复:** 2\
**最近更新：:** [2023 年7 月 13 日 14:00 UTC](https://meta.discourse.org/t/nginx-http-sock-not-created/271441 "2023-07-13T14:00:35Z")

</div>

你好， 几周前我决定离开phpbb转向discourse。 我将它安装在Ubuntu 22.04下的树莓派上。 在多次尝试让它在Apache后运行时，我决定使用Nginx。（我需要运行几个…

---

## [点击主页徽标不再将您带到页面顶部](https://meta.discourse.org/t/clicking-home-page-logo-no-longer-takes-you-to-top-of-the-page/270856)

<div class="topic-metadata">

**Author:** [@Richie](https://meta.discourse.org/u/Richie)\
**回复:** 5\
**最近更新：:** [2023 年7 月 13 日 13:24 UTC](https://meta.discourse.org/t/clicking-home-page-logo-no-longer-takes-you-to-top-of-the-page/270856 "2023-07-13T13:24:23Z")

</div>

今天更新到 3.1.0.beta5 (3ea8203719)。 立即注意到，当在 /latest 页面向下滚动主题列表时，点击左上角的徽标不再将我带回页面顶部 :confused: ……

---

## [Google Tag Manager (gtm) 脚本被 CSP 阻止](https://meta.discourse.org/t/google-tag-manager-gtm-script-blocked-by-csp/270210)

<div class="topic-metadata">

**Author:** [@tyf](https://meta.discourse.org/u/tyf)\
**回复:** 4\
**最近更新：:** [2023 年7 月 3 日 20:49 UTC](https://meta.discourse.org/t/google-tag-manager-gtm-script-blocked-by-csp/270210 "2023-07-03T20:49:34Z")

</div>

{

---

## [“重新审视和澄清访问量最大的100个主题”的最佳实践](https://meta.discourse.org/t/best-practices-for-revisit-and-clarify-the-top-100-most-visited-topics/271462)

<div class="topic-metadata">

**Author:** [@ganncamp](https://meta.discourse.org/u/ganncamp)\
**回复:** 3\
**最近更新：:** [2023 年7 月 13 日 11:32 UTC](https://meta.discourse.org/t/best-practices-for-revisit-and-clarify-the-top-100-most-visited-topics/271462 "2023-07-13T11:32:59Z")

</div>

在阅读了 Bas 关于提高参与度的通用策略（这是我的说法，不是他的）的精彩指南后，我们正在讨论采纳他的一些建议。 具体来说，我们研究了一些……

---

## [在私信中使用“收件人：用户名”作为模板会很有帮助](https://meta.discourse.org/t/it-would-be-helpful-to-be-able-to-use-the-to-username-in-pms-for-templates/263469)

<div class="topic-metadata">

**Author:** [@nathank](https://meta.discourse.org/u/nathank)\
**回复:** 4\
**最近更新：:** [2023 年7 月 13 日 11:10 UTC](https://meta.discourse.org/t/it-would-be-helpful-to-be-able-to-use-the-to-username-in-pms-for-templates/263469 "2023-07-13T11:10:33Z")

</div>

继续讨论 Discourse Templates： 不幸的是，这对我实际使用模板的主要用例不起作用！ 我想在新发私信中称呼我正在针对的用户，通常是针对他们发布的帖子。目的是教育他们或引导他们采取更好的行为。 但是，这些变量都不起作用。 my\_username 给我 original\_poster\_username 给我 reply\_to\_username 没有返回任何内容 last\_poster\_usern…

---

## [默认监视触发了大量邮件 - default\_watch\_categories](https://meta.discourse.org/t/watch-default-triggered-huge-volume-of-emails-default-watch-categories/271372)

<div class="topic-metadata">

**Author:** [@agemo](https://meta.discourse.org/u/agemo)\
**回复:** 3\
**最近更新：:** [2023 年7 月 13 日 10:06 UTC](https://meta.discourse.org/t/watch-default-triggered-huge-volume-of-emails-default-watch-categories/271372 "2023-07-13T10:06:20Z")

</div>

3.1.0.beta5 - \[09feb03056\] default\_watch\_categories 被设置为默认值（我记得是空的），为单个类别，这可能是第一次。 这触发了大量电子邮件，在3天的时间里…

---

## [点击聊天消息的反应按钮也会激活聊天输入框](https://meta.discourse.org/t/when-i-tap-the-chat-message-actions-reaction-buttons-it-activate-the-chat-composer-too/271514)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回复:** 2\
**最近更新：:** [2023 年7 月 13 日 09:34 UTC](https://meta.discourse.org/t/when-i-tap-the-chat-message-actions-reaction-buttons-it-activate-the-chat-composer-too/271514 "2023-07-13T09:34:12Z")

</div>

你好 :wave: 我在: Huawei P20 Pro Android 10 Chrome 114.0.5735.196 PWA 谢谢 :slightly\_smiling\_face:

---

## [聊天消息框部分在屏幕外，使聊天比应有的更困难](https://meta.discourse.org/t/the-chat-message-box-is-off-screen-partially-making-it-harder-to-chat-than-it-should/261264)

<div class="topic-metadata">

**Author:** [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)\
**回复:** 1\
**最近更新：:** [2023 年7 月 13 日 08:34 UTC](https://meta.discourse.org/t/the-chat-message-box-is-off-screen-partially-making-it-harder-to-chat-than-it-should/261264 "2023-07-13T08:34:12Z")

</div>

当我尝试在这里聊天时，它根本无法正确显示底部的输入内容的消息。这种情况发生在运行 DiscourseHub 的 iPad Mini 第5代上。 更新：在论坛的聊天部分，……

---

## [聊天中的所有 border-radius 都将被移除](https://meta.discourse.org/t/all-border-radius-from-chat-are-being-removed/293980)

<div class="topic-metadata">

**Author:** [@chapoi](https://meta.discourse.org/u/chapoi)\
**回复:** 2\
**最近更新：:** [2023 年7 月 13 日 08:17 UTC](https://meta.discourse.org/t/all-border-radius-from-chat-are-being-removed/293980 "2023-07-13T08:17:57Z")

</div>

小型设计公告 为了更贴合核心的 Discourse 风格，聊天中的所有圆角（border-radius）都将被移除。 它们已被替换为现有的 --d-border-radius 变量（用于大多数内容），以及补充……

---

## [用户可以恢复自己被工作人员删除的消息](https://meta.discourse.org/t/user-can-restore-their-own-message-what-deleted-by-staff/268484)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回复:** 1\
**最近更新：:** [2023 年7 月 13 日 08:16 UTC](https://meta.discourse.org/t/user-can-restore-their-own-message-what-deleted-by-staff/268484 "2023-07-13T08:16:37Z")

</div>

你好 :wave: Repro: 发送非员工用户消息（在这种情况下，我是 TL1） 保持频道打开。 在员工删除消息后，用户看到以下内容。 用户可以恢复已删除的消息。 …

---

## [投票去重迁移问题](https://meta.discourse.org/t/migration-issue-around-de-duping-poll-votes/269653)

<div class="topic-metadata">

**Author:** [@sweetbeems](https://meta.discourse.org/u/sweetbeems)\
**回复:** 7\
**最近更新：:** [2023 年7 月 13 日 06:40 UTC](https://meta.discourse.org/t/migration-issue-around-de-duping-poll-votes/269653 "2023-07-13T06:40:29Z")

</div>

我们注意到一个问题，我们的允许多票投票最近似乎出现了去重问题，另一个论坛网站也遇到了这个问题。我简单地看了看最近这次迁移，不禁想到……

---

## [当使用RTL布局时，菜单图标会显示在全宽主题的网站Logo之上](https://meta.discourse.org/t/the-menu-icon-is-displayed-on-top-of-the-site-logo-in-full-width-themes-when-the-rtl-layout-is-used/271480)

<div class="topic-metadata">

**Author:** [@aosus](https://meta.discourse.org/u/aosus)\
**回复:** 1\
**最近更新：:** [2023 年7 月 13 日 04:18 UTC](https://meta.discourse.org/t/the-menu-icon-is-displayed-on-top-of-the-site-logo-in-full-width-themes-when-the-rtl-layout-is-used/271480 "2023-07-13T04:18:01Z")

</div>

嘿，这是我在将Discourse更新到3.1.0.beta6后注意到的一个小bug。它仅在启用了RTL的全宽主题中出现。Meta上也是如此。 全宽： 完全：

---

## [中国境内升级因git问题失败](https://meta.discourse.org/t/upgrade-from-within-china-fails-due-to-git-issues/198799)

<div class="topic-metadata">

**Author:** [@leoniscsem](https://meta.discourse.org/u/leoniscsem)\
**回复:** 18\
**最近更新：:** [2023 年7 月 12 日 05:00 UTC](https://meta.discourse.org/t/upgrade-from-within-china-fails-due-to-git-issues/198799 "2023-07-12T05:00:39Z")

</div>

我们在 Aliyun/Alibaba 的 Ubuntu 20.04 服务器上运行了一个 Discourse 实例，并且与 Git 相关的所有事情一样，我们由于翻墙而面临问题。大多数时候，手动使用 launcher rebuild app 进行升级……

---

## [向未注册用户显示警告](https://meta.discourse.org/t/showing-a-warning-to-non-registered-users/270999)

<div class="topic-metadata">

**Author:** [@BogacErkan](https://meta.discourse.org/u/BogacErkan)\
**回复:** 4\
**最近更新：:** [2023 年7 月 13 日 00:12 UTC](https://meta.discourse.org/t/showing-a-warning-to-non-registered-users/270999 "2023-07-13T00:12:06Z")

</div>

我正在管理一个关于家庭酿造的论坛，并希望通过弹出窗口向所有未注册用户显示一个警告，说明论坛的内容和总体目标（即有年龄限制，未成年人不应进入，等等

---

## [回复以提及开头的消息时，回复文本显示 HTML](https://meta.discourse.org/t/reply-text-displays-html-when-replying-to-a-message-that-starts-with-a-mention/257269)

<div class="topic-metadata">

**Author:** [@simon\_tomes](https://meta.discourse.org/u/simon_tomes)\
**回复:** 8\
**最近更新：:** [2023 年7 月 12 日 23:45 UTC](https://meta.discourse.org/t/reply-text-displays-html-when-replying-to-a-message-that-starts-with-a-mention/257269 "2023-07-12T23:45:10Z")

</div>

当有人回复以提及开头的消息时，它会将 HTML 显示为回复的一部分。 例如，请注意回复中的 @simon\_tomes 部分。 我期望...

---

## [是否应该从供应商或 CDN 加载第三方库？](https://meta.discourse.org/t/should-i-load-third-party-libraries-from-vendor-or-cdn/205357)

<div class="topic-metadata">

**Author:** [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)\
**回复:** 4\
**最近更新：:** [2023 年7 月 12 日 23:00 UTC](https://meta.discourse.org/t/should-i-load-third-party-libraries-from-vendor-or-cdn/205357 "2023-07-12T23:00:25Z")

</div>

我见过有些插件会从 /vendor 下载第三方库并将其加载为本地文件，而另一些则通过 CDN 加载库。 从带宽/速度方面来看，哪种方法更好？

---

## [Discourse 子文件夹安装管理员通知链接 Bug](https://meta.discourse.org/t/bug-in-links-in-admin-notice-for-discourse-installs-in-a-subfolder/271445)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**回复:** 1\
**最近更新：:** [2023 年7 月 12 日 21:16 UTC](https://meta.discourse.org/t/bug-in-links-in-admin-notice-for-discourse-installs-in-a-subfolder/271445 "2023-07-12T21:16:07Z")

</div>

此管理员通知中的链接在点击时没有考虑到我网址中的子文件夹。

---

## [Data explorer 查询类别标题背景透明](https://meta.discourse.org/t/data-explorer-queries-category-header-background-is-transparent/271334)

<div class="topic-metadata">

**Author:** [@Lilly](https://meta.discourse.org/u/Lilly)\
**回复:** 3\
**最近更新：:** [2023 年7 月 12 日 20:52 UTC](https://meta.discourse.org/t/data-explorer-queries-category-header-background-is-transparent/271334 "2023-07-12T20:52:26Z")

</div>

数据浏览器中存在一个 UX bug：对于任何包含类别结果的查询，类别标题的背景似乎是透明的。其他标题的背景正常显示为实心，但当类别是标题时，结果会滚动覆盖……

---

## [为 Google Workspace 帐号设置邮箱验证](https://meta.discourse.org/t/a-setting-to-require-email-verification-for-google-workspace-accounts/271468)

<div class="topic-metadata">

**Author:** [@Wolftallemo](https://meta.discourse.org/u/Wolftallemo)\
**回复:** 0\
**最近更新：:** [2023 年7 月 12 日 20:36 UTC](https://meta.discourse.org/t/a-setting-to-require-email-verification-for-google-workspace-accounts/271468 "2023-07-12T20:36:33Z")

</div>

目前，所有使用“通过 Google 账号登录”的用户都会被自动标记为已验证。虽然所有电子邮件地址都经过 Google 验证，但并非所有地址我们都能实际发送邮件。 由于我们的目标受众（主要是 1…

---

## [是否有手动评分的方法？](https://meta.discourse.org/t/is-there-a-manual-way-to-award-scores/275728)

<div class="topic-metadata">

**Author:** [@WorldIsMine](https://meta.discourse.org/u/WorldIsMine)\
**回复:** 1\
**最近更新：:** [2023 年7 月 12 日 19:52 UTC](https://meta.discourse.org/t/is-there-a-manual-way-to-award-scores/275728 "2023-07-12T19:52:16Z")

</div>

这个插件在我的网站上运行得很好 :slight\_smile: 用户们都在拼命（为了微薄的现金奖励）。我希望看到一个选项，可以手动为用户奖励与Discourse无关的任务积分。

---

## [事件中的 URL 是什么？](https://meta.discourse.org/t/what-is-the-url-for-in-the-event/283756)

<div class="topic-metadata">

**Author:** [@Marty\_Downs](https://meta.discourse.org/u/Marty_Downs)\
**回复:** 0\
**最近更新：:** [2023 年7 月 12 日 18:10 UTC](https://meta.discourse.org/t/what-is-the-url-for-in-the-event/283756 "2023-07-12T18:10:40Z")

</div>

我对事件中的 URL 的用途感到困惑。添加事件时，有一个可以添加 URL 的字段（我原以为它是虚拟活动的 Zoom 链接、网络研讨会的注册链接，或是“关于…”

---

## [博客标签选择显示不全](https://meta.discourse.org/t/blog-tag-selection-cut-off/270079)

<div class="topic-metadata">

**Author:** [@ondrej](https://meta.discourse.org/u/ondrej)\
**回复:** 1\
**最近更新：:** [2023 年7 月 12 日 17:39 UTC](https://meta.discourse.org/t/blog-tag-selection-cut-off/270079 "2023-07-12T17:39:48Z")

</div>

你好 :slight\_smile: 在 blog.discourse.org 上，当我选择标签时，下拉菜单在我的屏幕上被截断。这在移动设备和桌面上都会发生。

[上一页](https://meta.discourse.org/latest.md?page=637&period=daily)

[下一页](https://meta.discourse.org/latest.md?page=639&period=daily)
