# Latest

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

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

**Page:** 1016

---

## [Discourse API 事件下的脚本在 Discourse OOPS 页面上运行失败](https://meta.discourse.org/t/scripts-under-discourse-api-events-are-failed-to-run-on-discourse-oops-page/191672)

<div class="topic-metadata">

**Author:** [@narayanan](https://meta.discourse.org/u/narayanan)\
**回复:** 0\
**最近更新：:** [2021 年5 月 26 日 09:17 UTC](https://meta.discourse.org/t/scripts-under-discourse-api-events-are-failed-to-run-on-discourse-oops-page/191672 "2021-05-26T09:17:14Z")

</div>

您好 我们在 discourse API 事件中编写了自定义 JavaScript，例如 onAppEvent、decorateWidget、onPageChange 等等。上述 API 事件在 discourse 页面上运行正常。但是，这些 discourse API 事件未能成功……

---

## [恢复备份后2FA与OTP中断](https://meta.discourse.org/t/2fa-with-otp-broken-after-restoring-from-backup/191453)

<div class="topic-metadata">

**Author:** [@Blechpirat](https://meta.discourse.org/u/Blechpirat)\
**回复:** 7\
**最近更新：:** [2021 年5 月 26 日 07:37 UTC](https://meta.discourse.org/t/2fa-with-otp-broken-after-restoring-from-backup/191453 "2021-05-26T07:37:28Z")

</div>

我将 Discourse 从我的个人 PC 迁移到了一个“始终在线”的服务器上，两者都在同一个网络中。我创建了一个新的 Discourse Docker 容器，然后按照此处的说明恢复了备份：从命令行恢复备份。一切……

---

## [Embiggened 表情符号出现在 \`kbd\` 块中](https://meta.discourse.org/t/embiggened-emoji-appear-in-kbd-blocks/191095)

<div class="topic-metadata">

**Author:** [@supermathie](https://meta.discourse.org/u/supermathie)\
**回复:** 1\
**最近更新：:** [2021 年5 月 26 日 07:23 UTC](https://meta.discourse.org/t/embiggened-emoji-appear-in-kbd-blocks/191095 "2021-05-26T07:23:25Z")

</div>

当单独在一行时，我们会放大表情符号 :hamster:： :hamster: 当它们单独出现在 \`\` 块中时，它们也会被放大： 考虑 :hamster: 与 :hamster: 或 :hamster: Nom (即：\`\`:hamster:\`\` 与 \`\`:hamster:...

---

## [自动标记似乎无法正常工作](https://meta.discourse.org/t/cant-seem-to-get-auto-tagging-to-work/184614)

<div class="topic-metadata">

**Author:** [@Jim\_Starkweather](https://meta.discourse.org/u/Jim_Starkweather)\
**回复:** 19\
**最近更新：:** [2021 年5 月 26 日 02:46 UTC](https://meta.discourse.org/t/cant-seem-to-get-auto-tagging-to-work/184614 "2021-05-26T02:46:21Z")

</div>

我在“监视的单词”的自动标记区域下添加了几个单词。 但是，创建新主题并在帖子的标题或正文中包含任何这些单词似乎都没有设置任何自动标记。我猜我必须……

---

## [选择性忽略新主题和未读主题](https://meta.discourse.org/t/selective-dismissal-of-new-and-unread-topics/191641)

<div class="topic-metadata">

**Author:** [@martin](https://meta.discourse.org/u/martin)\
**回复:** 0\
**最近更新：:** [2021 年5 月 26 日 01:15 UTC](https://meta.discourse.org/t/selective-dismissal-of-new-and-unread-topics/191641 "2021-05-26T01:15:32Z")

</div>

今天我合并了这些更改 https://github.com/discourse/discourse/pull/12976，这将允许所有用户使用批量主题选择功能选择性地关闭新主题和未读主题。 以前，批量……

---

## [Discobot 教程生成 modmail](https://meta.discourse.org/t/discobot-tutorial-generating-modmail/186896)

<div class="topic-metadata">

**Author:** [@mbauman](https://meta.discourse.org/u/mbauman)\
**回复:** 3\
**最近更新：:** [2021 年5 月 25 日 19:50 UTC](https://meta.discourse.org/t/discobot-tutorial-generating-modmail/186896 "2021-05-25T19:50:52Z")

</div>

这实际上是 Discobot 教程在选择了“其他内容”标志类型后会卡住的后续。虽然教程不再卡住，但它仍然会向版主生成一条消息。显然，这是……

---

## [Discourse服务器上的伪装联盟链接](https://meta.discourse.org/t/cloak-affiliate-links-on-discourse-server/191360)

<div class="topic-metadata">

**Author:** [@Trav78](https://meta.discourse.org/u/Trav78)\
**回复:** 1\
**最近更新：:** [2021 年5 月 25 日 19:50 UTC](https://meta.discourse.org/t/cloak-affiliate-links-on-discourse-server/191360 "2021-05-25T19:50:02Z")

</div>

有人能推荐一种方法来隐藏我的 Discourse 论坛上的联盟链接吗？ 我看了一下 affiliate 插件和 ads 插件，希望能使用其中一个，但似乎不行。 我曾以为 ab……

---

## [自动备份未执行](https://meta.discourse.org/t/auto-backup-is-not-taken/191442)

<div class="topic-metadata">

**Author:** [@Marcin\_J](https://meta.discourse.org/u/Marcin_J)\
**回复:** 1\
**最近更新：:** [2021 年5 月 25 日 19:48 UTC](https://meta.discourse.org/t/auto-backup-is-not-taken/191442 "2021-05-25T19:48:16Z")

</div>

我已将自动备份设置为每天 UTC 时间 10:30 进行。我大约在 UTC 时间 10:20 应用了此设置。我等到备份时间，但没有看到任何备份正在进行。我想知道——是不是有什么……

---

## [印度在区域中缺失（calendar-plugin)](https://meta.discourse.org/t/india-missing-in-region-calendar-plugin/191568)

<div class="topic-metadata">

**Author:** [@Grayden\_Shand](https://meta.discourse.org/u/Grayden_Shand)\
**回复:** 4\
**最近更新：:** [2021 年5 月 25 日 19:43 UTC](https://meta.discourse.org/t/india-missing-in-region-calendar-plugin/191568 "2021-05-25T19:43:23Z")

</div>

我不想转发这个，但原始主题已经关闭，OP的问题也没有得到回答。 discourse-calendar插件在用户偏好设置中添加了“地区”。印度没有出现在这个列表中。 有没有办法添加……

---

## [安装后无法打开 discourse](https://meta.discourse.org/t/cannot-open-discourse-after-installation/191589)

<div class="topic-metadata">

**Author:** [@jaylee9710](https://meta.discourse.org/u/jaylee9710)\
**回复:** 2\
**最近更新：:** [2021 年5 月 25 日 19:00 UTC](https://meta.discourse.org/t/cannot-open-discourse-after-installation/191589 "2021-05-25T19:00:47Z")

</div>

我终于成功安装了 discourse，但无法登录。 它说 discourse 已安装，但无法打开 forum.yonstreetbets.com。 有什么解决方案吗？

---

## [预发布信息](https://meta.discourse.org/t/pre-release-information/191613)

<div class="topic-metadata">

**Author:** [@BackOffice](https://meta.discourse.org/u/BackOffice)\
**回复:** 1\
**最近更新：:** [2021 年5 月 25 日 19:00 UTC](https://meta.discourse.org/t/pre-release-information/191613 "2021-05-25T19:00:07Z")

</div>

是否有用于接收 API 变更预先信息的 Feed 或订阅？\\n我们有一个客户有一些关键的集成，我们想了解是否有任何可能干扰它们的情况。\\n另外，还有什么……

---

## [CloudFront 发送压缩数据时出现奇怪的问题](https://meta.discourse.org/t/strange-issue-with-cloudfront-sending-compressed-data/191121)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回复:** 1\
**最近更新：:** [2021 年5 月 25 日 18:33 UTC](https://meta.discourse.org/t/strange-issue-with-cloudfront-sending-compressed-data/191121 "2021-05-25T18:33:46Z")

</div>

前几天我遇到一个问题，我刚迁移到 AWS 的一个网站（https://stemaway.com/ ）出现了白页。br.js 文件是从 S3 资源被压缩后提供的。@falco 说他那里没问题，……

---

## [使用 Curl 运行数据浏览器 API 时，即使传递了参数也出现验证错误](https://meta.discourse.org/t/validation-error-even-when-parameter-passed-while-running-data-explorer-api-with-curl/191341)

<div class="topic-metadata">

**Author:** [@Himanshu\_Singh](https://meta.discourse.org/u/Himanshu_Singh)\
**回复:** 5\
**最近更新：:** [2021 年5 月 25 日 17:48 UTC](https://meta.discourse.org/t/validation-error-even-when-parameter-passed-while-running-data-explorer-api-with-curl/191341 "2021-05-25T17:48:17Z")

</div>

我查看了论坛答案，但仍然无法使其正常工作。该函数不想接受我在查询中定义的 user\_param 参数。 错误：Array ( \[success\] =\> \[errors\] =\> Array ( \[0\] =\> DataExplore…

---

## [介绍以及关于如何最好地将主题标记为“答案”的问题](https://meta.discourse.org/t/introduction-and-question-about-how-to-best-mark-topics-as-answer/191598)

<div class="topic-metadata">

**Author:** [@dsteinschneider](https://meta.discourse.org/u/dsteinschneider)\
**回复:** 2\
**最近更新：:** [2021 年5 月 25 日 17:31 UTC](https://meta.discourse.org/t/introduction-and-question-about-how-to-best-mark-topics-as-answer/191598 "2021-05-25T17:31:19Z")

</div>

这是我的第一篇帖子。我参与了几个使用 Discourse 的论坛，并且很欣赏这种绝佳的体验！ 其中一个社区是为 Cantabile Software 服务的，该软件用于现场音乐表演。有许多…

---

## [论坛主题创建者姓名在已发送的带有通知功能的电子邮件中被用作通知者](https://meta.discourse.org/t/forum-topic-creator-name-is-used-instead-of-notifier-in-sent-emails-with-the-notify-feature/191110)

<div class="topic-metadata">

**Author:** [@JoelZaslofsky](https://meta.discourse.org/u/JoelZaslofsky)\
**回复:** 3\
**最近更新：:** [2021 年5 月 25 日 15:00 UTC](https://meta.discourse.org/t/forum-topic-creator-name-is-used-instead-of-notifier-in-sent-emails-with-the-notify-feature/191110 "2021-05-25T15:00:37Z")

</div>

环境 Discourse 版本：2.8.0.beta1 ( 98736e15f0 ) 重现问题的能力：100% 重现步骤： 点击主题底部的“分享”按钮。 点击“通知”按钮。 在“通知以下内容…”

---

## [如何查找所有 onAppEvents？是否有任何用于颜色主题切换的事件？](https://meta.discourse.org/t/how-do-i-find-all-onappevents-is-there-any-event-for-color-scheme-switching/191509)

<div class="topic-metadata">

**Author:** [@Alex\_P](https://meta.discourse.org/u/Alex_P)\
**回复:** 2\
**最近更新：:** [2021 年5 月 25 日 14:29 UTC](https://meta.discourse.org/t/how-do-i-find-all-onappevents-is-there-any-event-for-color-scheme-switching/191509 "2021-05-25T14:29:49Z")

</div>

在 JS API 中，有一个 onAppEvent 方法可以监听事件。但是，我该如何查找这些事件的列表呢？我尝试搜索 onAppEvent 和 .trigger，但没有找到太多信息。目前我正在寻找一个事件……

---

## [安装失败 curl 未安装](https://meta.discourse.org/t/setup-fails-curl-not-installed/191495)

<div class="topic-metadata">

**Author:** [@marianord](https://meta.discourse.org/u/marianord)\
**回复:** 1\
**最近更新：:** [2021 年5 月 25 日 13:30 UTC](https://meta.discourse.org/t/setup-fails-curl-not-installed/191495 "2021-05-25T13:30:37Z")

</div>

大家好，我正在 Debian 10 的一个新启动实例中安装 Discourse。虽然对我来说这不是一个问题，但我认为这可能会成为大多数初学者的一个问题，因为安装过程中没有提到需要 curl 或……

---

## [连接邮件服务器（mailgun）遇到问题](https://meta.discourse.org/t/have-trouble-connecting-mail-server-mailgun/191525)

<div class="topic-metadata">

**Author:** [@jaylee9710](https://meta.discourse.org/u/jaylee9710)\
**回复:** 1\
**最近更新：:** [2021 年5 月 25 日 11:34 UTC](https://meta.discourse.org/t/have-trouble-connecting-mail-server-mailgun/191525 "2021-05-25T11:34:16Z")

</div>

你好社区，我在连接邮件服务器时遇到一点麻烦 我已经按照上面的图片设置了，但仍然无法连接 烦人的是，当我使用CNAME类型时，主机名不能超过1个点……

---

## [开始新帖子的 URL](https://meta.discourse.org/t/url-to-start-new-post/191559)

<div class="topic-metadata">

**Author:** [@Whiskey\_Victor\_LLC](https://meta.discourse.org/u/Whiskey_Victor_LLC)\
**回复:** 1\
**最近更新：:** [2021 年5 月 25 日 11:25 UTC](https://meta.discourse.org/t/url-to-start-new-post/191559 "2021-05-25T11:25:56Z")

</div>

如何创建新帖子的链接？网址是什么？是否有可用的此类链接列表？谢谢！

---

## [How to have "…" open automatically?](https://meta.discourse.org/t/how-to-have-open-automatically/62580)

<div class="topic-metadata">

**Author:** [@Sujan](https://meta.discourse.org/u/Sujan)\
**回复:** 5\
**最近更新：:** [2021 年5 月 25 日 08:51 UTC](https://meta.discourse.org/t/how-to-have-open-automatically/62580 "2021-05-25T08:51:47Z")

</div>

As a moderator I click on the “…” (tooltip “show more”) button below posts (left to Reply) all the time: Delete a post, edit a post, flag a post - each one takes two clicks. Is there a way to have this open automatica…

---

## [如果类别徽标图片过宽 - 在“类别”视图中隐藏内容](https://meta.discourse.org/t/if-category-logo-image-too-wide-hides-content-in-category-view/49933)

<div class="topic-metadata">

**Author:** [@JamesNorth](https://meta.discourse.org/u/JamesNorth)\
**回复:** 6\
**最近更新：:** [2021 年5 月 25 日 08:44 UTC](https://meta.discourse.org/t/if-category-logo-image-too-wide-hides-content-in-category-view/49933 "2021-05-25T08:44:04Z")

</div>

如果类别徽标图片的比例和随之而来的宽度太宽，在类别视图中会遮挡右边所有的“最新帖子”。 \[图片\]

---

## [在帖子显示页面显示顶部菜单](https://meta.discourse.org/t/display-top-menu-in-post-display-page/191548)

<div class="topic-metadata">

**Author:** [@Sachin\_Kumar\_J](https://meta.discourse.org/u/Sachin_Kumar_J)\
**回复:** 0\
**最近更新：:** [2021 年5 月 25 日 07:33 UTC](https://meta.discourse.org/t/display-top-menu-in-post-display-page/191548 "2021-05-25T07:33:51Z")

</div>

您好，是否可以在帖子浏览页面添加顶部菜单栏？ \<div class="list-controls"\> \<div class="container"\> …

---

## [如果使用深色主题，则使用颜色方案的颜色，否则使用主题中的我的颜色](https://meta.discourse.org/t/use-color-scheme-color-if-dark-scheme-otherwise-use-my-color-in-theme/191365)

<div class="topic-metadata">

**Author:** [@Alex\_P](https://meta.discourse.org/u/Alex_P)\
**回复:** 2\
**最近更新：:** [2021 年5 月 25 日 05:21 UTC](https://meta.discourse.org/t/use-color-scheme-color-if-dark-scheme-otherwise-use-my-color-in-theme/191365 "2021-05-25T05:21:47Z")

</div>

我想做类似这样的事情 .some-link { @if var(--scheme-type) == 'dark' { color: var(--primary); } @else { color: #3b5998; } 但当然这是不可能的，因为 CSS 中没有 if，而 SCSS 是……

---

## [是否可以在不自行托管的情况下安装“Discourse Reactions”插件？](https://meta.discourse.org/t/is-it-possible-to-install-the-discourse-reactions-plugin-without-self-hosting/191415)

<div class="topic-metadata">

**Author:** [@rodypl](https://meta.discourse.org/u/rodypl)\
**回复:** 2\
**最近更新：:** [2021 年5 月 25 日 03:32 UTC](https://meta.discourse.org/t/is-it-possible-to-install-the-discourse-reactions-plugin-without-self-hosting/191415 "2021-05-25T03:32:38Z")

</div>

我真的很喜欢这个插件的功能，但我不知道如何将其安装到我的网站上。是否只有自托管论坛才能安装插件？我的论坛由 Discourse 托管。

---

## [如何在首页推荐或置顶用户？](https://meta.discourse.org/t/how-about-featuring-or-pinning-users-on-homepage/117521)

<div class="topic-metadata">

**Author:** [@thegurjyot](https://meta.discourse.org/u/thegurjyot)\
**回复:** 4\
**最近更新：:** [2021 年5 月 25 日 01:22 UTC](https://meta.discourse.org/t/how-about-featuring-or-pinning-users-on-homepage/117521 "2021-05-25T01:22:41Z")

</div>

对于此功能，使用主题组件是最佳选择。其理念是在首页展示或置顶用户。这些用户可以是因其优秀工作而真正被推荐，也可以是付费被置顶。这也将激励其他用户……

---

## [一些图标在切换标签时消失](https://meta.discourse.org/t/some-icons-vanish-when-tabbed-over/191094)

<div class="topic-metadata">

**Author:** [@supermathie](https://meta.discourse.org/u/supermathie)\
**回复:** 1\
**最近更新：:** [2021 年5 月 21 日 22:33 UTC](https://meta.discourse.org/t/some-icons-vanish-when-tabbed-over/191094 "2021-05-21T22:33:37Z")

</div>

当某些帖子操作按钮（例如 :link: ）被 Tab 键切换时，它们会消失： 而不是像下面的“回复”那样高亮显示：

---

## [如何在插件的初始化程序中使用shortUrls？](https://meta.discourse.org/t/how-can-i-use-shorturls-inside-my-plugins-initializers/191522)

<div class="topic-metadata">

**Author:** [@danilogit](https://meta.discourse.org/u/danilogit)\
**回复:** 0\
**最近更新：:** [2021 年5 月 24 日 23:07 UTC](https://meta.discourse.org/t/how-can-i-use-shorturls-inside-my-plugins-initializers/191522 "2021-05-24T23:07:55Z")

</div>

我正在尝试编写一个插件并使用 upload://3211.mp4 这种 shortURL 格式。有可能吗？ 基本上我试图在我的标签中重用一个上传的文件

---

## [如何在主题组件中重新执行脚本](https://meta.discourse.org/t/how-to-re-execute-scripts-in-theme-components/191394)

<div class="topic-metadata">

**Author:** [@Marvelxy](https://meta.discourse.org/u/Marvelxy)\
**回复:** 5\
**最近更新：:** [2021 年5 月 24 日 22:17 UTC](https://meta.discourse.org/t/how-to-re-execute-scripts-in-theme-components/191394 "2021-05-24T22:17:48Z")

</div>

主题组件中的脚本仅执行一次；当路由更改时（非整页刷新），我该如何重新执行它们？例如，我希望在导航标签之间切换后，组件中的脚本也能执行。

---

## [标题中的土耳其字符问题](https://meta.discourse.org/t/turkish-character-problem-in-title/190526)

<div class="topic-metadata">

**Author:** [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)\
**回复:** 8\
**最近更新：:** [2021 年5 月 24 日 17:21 UTC](https://meta.discourse.org/t/turkish-character-problem-in-title/190526 "2021-05-24T17:21:20Z")

</div>

您好， 我遇到了以下问题： 网站语言是土耳其语。 当我粘贴像 GIDA 这样的词作为标题时，它显示为 gida。但它应该是 gıda。因为 GIDA 中的 I 不是 İ。 有什么建议吗？ 谢谢。

---

## [图片灯箱默认启用？](https://meta.discourse.org/t/lightbox-for-images-comes-by-default/129618)

<div class="topic-metadata">

**Author:** [@seanmavley](https://meta.discourse.org/u/seanmavley)\
**回复:** 13\
**最近更新：:** [2021 年5 月 24 日 17:19 UTC](https://meta.discourse.org/t/lightbox-for-images-comes-by-default/129618 "2021-05-24T17:19:07Z")

</div>

抱歉，各位，我不得不问一下：当我将图片上传到我安装的 Discourse 论坛中的主题时，我无法点击图片以弹出图片的灯箱视图。这是需要额外安装插件，还是灯箱行为被…

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

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