# Latest

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

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

**Page:** 994

---

## [通过 curl 使用 JSON API](https://meta.discourse.org/t/json-api-via-curl/197412)

<div class="topic-metadata">

**Author:** [@cookieman768](https://meta.discourse.org/u/cookieman768)\
**回复:** 9\
**最近更新：:** [2021 年7 月 16 日 22:54 UTC](https://meta.discourse.org/t/json-api-via-curl/197412 "2021-07-16T22:54:09Z")

</div>

因此，我正在使用 JSON API 将用户添加到组中，当我在终端中使用时，它的工作方式符合预期，但当我从 Java 调用 curl 时，我收到 {\\u0026quot;status\\u0026quot;:400,\\u0026quot;error\\u0026quot;:\\u0026quot;Bad Request\\u0026quot;} 因此，我查看了日志并看到： …

---

## [Zendesk 插件和已解决的主题](https://meta.discourse.org/t/zendesk-plugin-and-solved-topics/197388)

<div class="topic-metadata">

**Author:** [@Cory\_Waddingham](https://meta.discourse.org/u/Cory_Waddingham)\
**回复:** 2\
**最近更新：:** [2021 年7 月 16 日 22:41 UTC](https://meta.discourse.org/t/zendesk-plugin-and-solved-topics/197388 "2021-07-16T22:41:06Z")

</div>

我们正在使用Zendesk插件来帮助管理论坛主题上的员工回复。但是，当论坛上的主题被标记为“已解决”时，它不会更新Zendesk，因此我们无法解决相关的工单。我想知道的是……

---

## [Discourse 社区应用设计更改的最简单方法](https://meta.discourse.org/t/easiest-way-to-change-the-design-of-the-community-app-on-discourse/195012)

<div class="topic-metadata">

**Author:** [@Richard\_Millington](https://meta.discourse.org/u/Richard_Millington)\
**回复:** 9\
**最近更新：:** [2021 年7 月 16 日 21:20 UTC](https://meta.discourse.org/t/easiest-way-to-change-the-design-of-the-community-app-on-discourse/195012 "2021-07-16T21:20:52Z")

</div>

您好， 我代表客户询问，有什么最简单的方法可以更改 Discourse App 的社区设计？我们是否只能使用反映主页的单一设计，还是我们可以简单地为……

---

## [如何启用 JoyPixels 表情符号？](https://meta.discourse.org/t/how-to-enable-joypixels-emojis/197404)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回复:** 3\
**最近更新：:** [2021 年7 月 16 日 20:43 UTC](https://meta.discourse.org/t/how-to-enable-joypixels-emojis/197404 "2021-07-16T20:43:48Z")

</div>

您好， 上次我在论坛上更改表情符号集时，在设置中查找 JoyPixels 但没有找到。现在我只看到 Joshua 的主题，并且似乎可以在向导中选择 JoyPixels，但我没有表情符号选择器……

---

## [搜索结果页面顶部的自定义文本](https://meta.discourse.org/t/custom-text-at-top-of-search-results-page/197387)

<div class="topic-metadata">

**Author:** [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**回复:** 4\
**最近更新：:** [2021 年7 月 16 日 18:24 UTC](https://meta.discourse.org/t/custom-text-at-top-of-search-results-page/197387 "2021-07-16T18:24:21Z")

</div>

是否可以在搜索结果顶部添加一些文本？ 谢谢。

---

## [使用 Discourse API 与 Front App](https://meta.discourse.org/t/using-the-discourse-api-with-front-app/197234)

<div class="topic-metadata">

**Author:** [@pawlean](https://meta.discourse.org/u/pawlean)\
**回复:** 6\
**最近更新：:** [2021 年7 月 16 日 16:17 UTC](https://meta.discourse.org/t/using-the-discourse-api-with-front-app/197234 "2021-07-16T16:17:53Z")

</div>

Hey there folks! I’m currently working on an integration with the Front App and Discourse. As of now, I’m using Pipedream to connect them together. I managed to set up two workflows: Discourse → Front App. When a new …

---

## [如何更改默认主题？](https://meta.discourse.org/t/how-do-i-change-default-theme/197373)

<div class="topic-metadata">

**Author:** [@JayCCC](https://meta.discourse.org/u/JayCCC)\
**回复:** 3\
**最近更新：:** [2021 年7 月 16 日 15:37 UTC](https://meta.discourse.org/t/how-do-i-change-default-theme/197373 "2021-07-16T15:37:26Z")

</div>

我不小心选择了粉色主题，如何更改默认主题？

---

## [Discourse Connect：如何使用现有数据库实现 Discourse 登录？](https://meta.discourse.org/t/discourse-connect-how-implementing-discourse-login-with-an-existing-database/197352)

<div class="topic-metadata">

**Author:** [@Francesco\_Bagnoli](https://meta.discourse.org/u/Francesco_Bagnoli)\
**回复:** 4\
**最近更新：:** [2021 年7 月 16 日 15:18 UTC](https://meta.discourse.org/t/discourse-connect-how-implementing-discourse-login-with-an-existing-database/197352 "2021-07-16T15:18:11Z")

</div>

您好，我有一个包含用户名和密码的数据库，我想使用 DiscourseConnect 来使用 Discourse 论坛上现有的用户帐户。 我不明白如何检索用户在登录时输入的电子邮件和密码……

---

## [添加一个“无人”信任级别，以便新主题始终需要批准](https://meta.discourse.org/t/add-a-nobody-trust-level-so-new-topics-can-always-need-approval/196584)

<div class="topic-metadata">

**Author:** [@mrj](https://meta.discourse.org/u/mrj)\
**回复:** 12\
**最近更新：:** [2021 年7 月 16 日 14:47 UTC](https://meta.discourse.org/t/add-a-nobody-trust-level-so-new-topics-can-always-need-approval/196584 "2021-07-16T14:47:39Z")

</div>

有一个很棒的“批准新主题，除非信任级别”的帖子设置下拉菜单。但是，对于我的网站，比如报纸或杂志，我只想发布已批准的主题。我可以通过设置 dr… 来解决这个问题。

---

## [在 discourse 上我们可以上传的最大文件大小是多少？](https://meta.discourse.org/t/what-is-the-maximum-file-size-we-can-upload-on-discourse/187090)

<div class="topic-metadata">

**Author:** [@Kanishk\_Jaswal](https://meta.discourse.org/u/Kanishk_Jaswal)\
**回复:** 9\
**最近更新：:** [2021 年7 月 16 日 13:57 UTC](https://meta.discourse.org/t/what-is-the-maximum-file-size-we-can-upload-on-discourse/187090 "2021-07-16T13:57:08Z")

</div>

大家好， 想了解一下平台上允许的最大文件上传大小是多少？ 目前我们设置为 184 MB。但是，当我尝试上传一个 40-50 MB 的文件时，上传失败。 提前感谢……

---

## [Discord聊天集成用于开源项目](https://meta.discourse.org/t/discord-chat-integration-for-open-source-projects/197355)

<div class="topic-metadata">

**Author:** [@1cg](https://meta.discourse.org/u/1cg)\
**回复:** 1\
**最近更新：:** [2021 年7 月 16 日 13:07 UTC](https://meta.discourse.org/t/discord-chat-integration-for-open-source-projects/197355 "2021-07-16T13:07:50Z")

</div>

discord 聊天集成是否可用于开源项目？ 我已在设置中启用它，但它没有显示在插件中。 这是为 htmx.discourse.groups 谢谢！

---

## [如何按类别筛选 discourse\_topics 短代码输出？](https://meta.discourse.org/t/how-to-filter-discourse-topics-shortcode-output-by-category/195181)

<div class="topic-metadata">

**Author:** [@Himanshu\_Singh](https://meta.discourse.org/u/Himanshu_Singh)\
**回复:** 3\
**最近更新：:** [2021 年7 月 16 日 06:40 UTC](https://meta.discourse.org/t/how-to-filter-discourse-topics-shortcode-output-by-category/195181 "2021-07-16T06:40:39Z")

</div>

我正在使用 Discourse 短代码插件在 WordPress 中显示主题。 短代码属性没有根据类别筛选输出的选项。有一些类别，例如站点反馈和介绍……

---

## [如果已删除主题的类别稍后被删除，永久链接将中断](https://meta.discourse.org/t/permalinks-break-if-a-deleted-topics-category-is-later-deleted/197305)

<div class="topic-metadata">

**Author:** [@JackALaing](https://meta.discourse.org/u/JackALaing)\
**回复:** 0\
**最近更新：:** [2021 年7 月 16 日 00:20 UTC](https://meta.discourse.org/t/permalinks-break-if-a-deleted-topics-category-is-later-deleted/197305 "2021-07-16T00:20:43Z")

</div>

从粗略的搜索来看，似乎没有人讨论过这个问题。bug可能是一个不恰当的标签，因为看起来我可能没有按预期使用永久链接功能。但尽管如此，我……

---

## [启用 Composer 媒体优化时是否会剥离图像元数据？](https://meta.discourse.org/t/stripping-image-metadata-when-composer-media-optimization-is-enabled/197201)

<div class="topic-metadata">

**Author:** [@davidkingham](https://meta.discourse.org/u/davidkingham)\
**回复:** 5\
**最近更新：:** [2021 年7 月 15 日 23:13 UTC](https://meta.discourse.org/t/stripping-image-metadata-when-composer-media-optimization-is-enabled/197201 "2021-07-15T23:13:46Z")

</div>

我已关闭网站设置中的“删除图片元数据”选项，因为我想保留所有版权信息以及非常重要的嵌入式颜色配置文件。过去这运行良好，但最近元数据似乎被…

---

## [是否可以在 'embed.imported\_from' 中使用其他变量？](https://meta.discourse.org/t/is-it-possible-to-use-any-other-variables-in-embed-imported-from/285313)

<div class="topic-metadata">

**Author:** [@Jonathan5](https://meta.discourse.org/u/Jonathan5)\
**回复:** 11\
**最近更新：:** [2021 年7 月 15 日 22:48 UTC](https://meta.discourse.org/t/is-it-possible-to-use-any-other-variables-in-embed-imported-from/285313 "2021-07-15T22:48:17Z")

</div>

是否可以在 embed.imported\_from 中使用除了 %{link} 之外的其他变量？ 我想分别使用标题和 URL 来创建链接（在默认消息中，URL 会完整地显示为 URL）。 谢谢。

---

## [帮助嵌入：无法发布消息到 \[discourse\]。接收者来源为 \[mydomain\]](https://meta.discourse.org/t/help-with-embed-unable-to-post-message-to-discourse-receipient-has-origin-mydomain/192317)

<div class="topic-metadata">

**Author:** [@benscheirman](https://meta.discourse.org/u/benscheirman)\
**回复:** 7\
**最近更新：:** [2021 年7 月 15 日 22:03 UTC](https://meta.discourse.org/t/help-with-embed-unable-to-post-message-to-discourse-receipient-has-origin-mydomain/192317 "2021-07-15T22:03:37Z")

</div>

我有一个新的 Discourse 设置，并试图将评论嵌入到另一个网站的页面上。 当我在 Safari 中运行此代码时，我在 JavaScript 控制台中收到此错误： 无法识别的内容安全策略指令“worker-src”……

---

## [类别图像格式化](https://meta.discourse.org/t/category-image-formatting/197176)

<div class="topic-metadata">

**Author:** [@Jim\_Shilts1](https://meta.discourse.org/u/Jim_Shilts1)\
**回复:** 4\
**最近更新：:** [2021 年7 月 15 日 19:45 UTC](https://meta.discourse.org/t/category-image-formatting/197176 "2021-07-15T19:45:59Z")

</div>

有人能帮我解决一个格式问题吗？我的类别图片下方有很多空白，我找不到可以调整的设置。图片本身的高度只有彩色圆圈那么高。有人知道……

---

## [2.8.0.beta3：用户可选头像装饰、上次主题访问指示器、原生文件选择器等](https://meta.discourse.org/t/2-8-0-beta3-user-selectable-avatar-flair-last-topic-visit-indicator-native-file-picker-and-more/196886)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**回复:** 1\
**最近更新：:** [2021 年7 月 15 日 18:57 UTC](https://meta.discourse.org/t/2-8-0-beta3-user-selectable-avatar-flair-last-topic-visit-indicator-native-file-picker-and-more/196886 "2021-07-15T18:57:36Z")

</div>

2.8.0.beta3 中的新功能 用户可选的头像装饰 现在，属于多个用户组的用户可以从其偏好设置中选择他们希望显示的头像装饰，而不是依赖于根据……自动分配的装饰

---

## [2.7.6：安全发布](https://meta.discourse.org/t/2-7-6-security-release/197275)

<div class="topic-metadata">

**Author:** [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**回复:** 0\
**最近更新：:** [2021 年7 月 15 日 18:49 UTC](https://meta.discourse.org/t/2-7-6-security-release/197275 "2021-07-15T18:49:56Z")

</div>

Discourse 2.7.6 稳定版发布 Discourse 强烈建议所有站点都遵循 Discourse 的默认 tests-passed 分支。“stable” 分支更侧重于避免更改而不是避免错误——所有版本，在……

---

## [Facebook隐私政策网址丢失或返回错误](https://meta.discourse.org/t/facebook-privacy-policy-url-missing-or-returning-an-error/197265)

<div class="topic-metadata">

**Author:** [@rlauriston](https://meta.discourse.org/u/rlauriston)\
**回复:** 2\
**最近更新：:** [2021 年7 月 15 日 18:40 UTC](https://meta.discourse.org/t/facebook-privacy-policy-url-missing-or-returning-an-error/197265 "2021-07-15T18:40:32Z")

</div>

我刚收到另一封来自 Facebook 的电子邮件，内容是关于我必须创建的用于允许用户嵌入 Instagram 链接的“应用”。 请更新您的隐私政策以符合我们的平台条款。 我们注意到您的应用 RobertLaur……

---

## [帖子中可以上传视频吗？](https://meta.discourse.org/t/can-you-upload-video-s-in-posts/197262)

<div class="topic-metadata">

**Author:** [@JayCCC](https://meta.discourse.org/u/JayCCC)\
**回复:** 1\
**最近更新：:** [2021 年7 月 15 日 18:39 UTC](https://meta.discourse.org/t/can-you-upload-video-s-in-posts/197262 "2021-07-15T18:39:21Z")

</div>

我尝试加载多个图像，运行正常。但可以在帖子中加载图像吗？

---

## [\[A/B 测试\] 根据实验变量更改父级 CSS 类](https://meta.discourse.org/t/a-b-testing-changing-parent-css-class-based-on-experiment-variable/196501)

<div class="topic-metadata">

**Author:** [@daniyal](https://meta.discourse.org/u/daniyal)\
**回复:** 2\
**最近更新：:** [2021 年7 月 15 日 18:19 UTC](https://meta.discourse.org/t/a-b-testing-changing-parent-css-class-based-on-experiment-variable/196501 "2021-07-15T18:19:21Z")

</div>

我们有一个现有的主题，我们想进行实验。一个例子是尝试不同风格的主题列表视图。为此，我们正在使用 Google Optimize A/B 测试。目前我们计划展示没有更改的主题……

---

## [Rails 日志以 NDJSON 格式发送到 Kibana？](https://meta.discourse.org/t/rails-logs-in-ndjson-format-for-kibana/197259)

<div class="topic-metadata">

**Author:** [@alexk](https://meta.discourse.org/u/alexk)\
**回复:** 1\
**最近更新：:** [2021 年7 月 15 日 17:39 UTC](https://meta.discourse.org/t/rails-logs-in-ndjson-format-for-kibana/197259 "2021-07-15T17:39:07Z")

</div>

你好！我有兴趣将 Discourse 日志发送到 Kibana。为此，我想将 rails 日志格式更改为 NDJSON，如果可能的话。 有人知道怎么做或者是否可行吗？ 我必须添加……

---

## [选择收藏徽章时出现“失败”错误](https://meta.discourse.org/t/failed-error-selecting-favorite-badges/195657)

<div class="topic-metadata">

**Author:** [@griffin](https://meta.discourse.org/u/griffin)\
**回复:** 14\
**最近更新：:** [2021 年7 月 15 日 17:24 UTC](https://meta.discourse.org/t/failed-error-selecting-favorite-badges/195657 "2021-07-15T17:24:02Z")

</div>

已选择两个徽章。 单击一次尝试取消选择徽章。 无效。 再次单击尝试取消选择同一徽章。 这次有效。 单击一次尝试选择一个新徽章（Ne…

---

## [论坛背景是透明的](https://meta.discourse.org/t/forum-background-is-transparent/197257)

<div class="topic-metadata">

**Author:** [@andrewlevi](https://meta.discourse.org/u/andrewlevi)\
**回复:** 5\
**最近更新：:** [2021 年7 月 15 日 16:09 UTC](https://meta.discourse.org/t/forum-background-is-transparent/197257 "2021-07-15T16:09:31Z")

</div>

我添加了一个全局背景图像，但论坛似乎是透明的，需要实心白色。我正在使用默认主题，但没有看到使其变为实心或透明的 UI 设置。我正在使用 Neutral…

---

## [Discourse群组的链接应显示群组名称，而非仅显示网站名称](https://meta.discourse.org/t/links-to-discourse-groups-should-say-the-name-of-the-group-and-not-just-the-name-of-the-site/195052)

<div class="topic-metadata">

**Author:** [@debryc](https://meta.discourse.org/u/debryc)\
**回复:** 2\
**最近更新：:** [2021 年7 月 15 日 08:31 UTC](https://meta.discourse.org/t/links-to-discourse-groups-should-say-the-name-of-the-group-and-not-just-the-name-of-the-site/195052 "2021-07-15T08:31:07Z")

</div>

我注意到，如果我添加一个群组链接，它会显示为网站名称而不是群组本身。 例如，这是我网站上一个名为“Team”的群组的链接 https://hub.youthpowercoalition.org/g/te…

---

## [用于 discourse 开发的 Apple M1](https://meta.discourse.org/t/apple-m1-for-discourse-development/194714)

<div class="topic-metadata">

**Author:** [@Ahmed\_Gagan](https://meta.discourse.org/u/Ahmed_Gagan)\
**回复:** 6\
**最近更新：:** [2021 年7 月 15 日 08:22 UTC](https://meta.discourse.org/t/apple-m1-for-discourse-development/194714 "2021-07-15T08:22:08Z")

</div>

你好， 我计划购买 Apple MacBook Pro M1 来进行 Discourse 开发，并想听听社区开发者们关于 Apple M1 处理器与 Discourse 开发的评论。 你建议购买 Apple MacBook Pro…

---

## [子文件夹安装时加载源映射警告失败](https://meta.discourse.org/t/failed-to-load-source-map-warnings-on-subfolder-install/197139)

<div class="topic-metadata">

**Author:** [@MihaVuk](https://meta.discourse.org/u/MihaVuk)\
**回复:** 0\
**最近更新：:** [2021 年7 月 14 日 17:21 UTC](https://meta.discourse.org/t/failed-to-load-source-map-warnings-on-subfolder-install/197139 "2021-07-14T17:21:19Z")

</div>

我已经成功地将 Discourse 论坛安装到了子文件夹（\\forum）中，并且一切运行正常，除了在 Edge 开发者控制台中出现大量“DevTools failed to load source map:”警告。 当我进行调查时……

---

## [自定义 SCSS 未在验收测试中使用](https://meta.discourse.org/t/custom-scss-not-used-in-acceptance-tests/197157)

<div class="topic-metadata">

**Author:** [@Connor\_Parrish](https://meta.discourse.org/u/Connor_Parrish)\
**回复:** 2\
**最近更新：:** [2021 年7 月 15 日 04:59 UTC](https://meta.discourse.org/t/custom-scss-not-used-in-acceptance-tests/197157 "2021-07-15T04:59:41Z")

</div>

验收测试没有使用我制作的自定义样式表。我这里是不是漏了什么？ 我的文件夹结构是这样的： - assets - stylesheets - custom.scss - test - javascripts - …

---

## [浅色主题私信带引用文字无法阅读](https://meta.discourse.org/t/light-theme-dm-with-quotes-has-unreadable-text/197170)

<div class="topic-metadata">

**Author:** [@Zachary\_Stone](https://meta.discourse.org/u/Zachary_Stone)\
**回复:** 1\
**最近更新：:** [2021 年7 月 15 日 00:18 UTC](https://meta.discourse.org/t/light-theme-dm-with-quotes-has-unreadable-text/197170 "2021-07-15T00:18:20Z")

</div>

当用户发送或接收包含引用的私信时，在浅色主题模式下，被引用的部分几乎无法阅读。

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

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