# Hot

**URL:** https://meta.discourse.org/hot.md?page=1907

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

**Page:** 1908

---

## [注册或登录以查看内容](https://meta.discourse.org/t/register-or-log-in-to-see-the-content/305851)

<div class="topic-metadata">

**Author:** [@Afkadam](https://meta.discourse.org/u/Afkadam)\
**回覆:** 1\
**Last updated:** [2024年四月29日 07:53 UTC](https://meta.discourse.org/t/register-or-log-in-to-see-the-content/305851 "2024-04-29T07:53:21Z")

</div>

已开启的主题将对所有人可见，但需要注册才能看到我想要的链接或区域。有没有类似“注册或登录后才能查看内容”这样的插件？

---

## [为什么 avatar\_proxy 文件夹是一个临时文件夹](https://meta.discourse.org/t/why-is-the-avatar-proxy-folder-a-temporary-folder/324573)

<div class="topic-metadata">

**Author:** [@LeBlanc](https://meta.discourse.org/u/LeBlanc)\
**回覆:** 0\
**Last updated:** [2024年九月3日 02:30 UTC](https://meta.discourse.org/t/why-is-the-avatar-proxy-folder-a-temporary-folder/324573 "2024-09-03T02:30:41Z")

</div>

为什么系统的默认头像在临时文件夹“Rails.root/tmp/avatar\_proxy”中，导致每次构建后都会有大量头像请求。用户通常在注册后不上传自定义头像。所以我想将此文件夹挂载为一个普通文件夹，以防每次构建时出现大量头像请求。这有什么问题吗？谢谢。

---

## [从 OAuth2.0 插件中提取用户 auth0 sub](https://meta.discourse.org/t/pulling-user-auth0-sub-from-oauth2-0-plugin/355903)

<div class="topic-metadata">

**Author:** [@jafab](https://meta.discourse.org/u/jafab)\
**回覆:** 0\
**Last updated:** [2025年三月5日 18:15 UTC](https://meta.discourse.org/t/pulling-user-auth0-sub-from-oauth2-0-plugin/355903 "2025-03-05T18:15:34Z")

</div>

您好！我正在尝试调用一个外部网站的 API，该 API 需要 discourse 用户的 auth0 sub 作为参数。我目前已禁用本地注册（因此所有 discourse 用户都通过 auth0 登录）。OAuth2.0 插件 在我的 discourse 实例上，如何访问当前用户的 auth0 sub，然后将其传递给所述 API 调用？ 非常感谢您的帮助！谢谢！

---

## [禁用IMDSv1时，备份到S3失败](https://meta.discourse.org/t/backups-to-s3-fail-when-imdsv1-disabled/324006)

<div class="topic-metadata">

**Author:** [@nskerl](https://meta.discourse.org/u/nskerl)\
**回覆:** 0\
**Last updated:** [2024年八月29日 16:17 UTC](https://meta.discourse.org/t/backups-to-s3-fail-when-imdsv1-disabled/324006 "2024-08-29T16:17:52Z")

</div>

Backups fail to write to S3 when IMDSv1 is disabled and the setting “s3 use iam profile” is enabled. As an internal security requirement, we disabled the use of IMDSv1 on the EC2 instance hosting our Discourse installat…

---

## [OneDrive 视频嵌入无法工作](https://meta.discourse.org/t/onedrive-video-embed-not-working/323536)

<div class="topic-metadata">

**Author:** [@emeka](https://meta.discourse.org/u/emeka)\
**回覆:** 0\
**Last updated:** [2024年八月27日 10:33 UTC](https://meta.discourse.org/t/onedrive-video-embed-not-working/323536 "2024-08-27T10:33:38Z")

</div>

当我发布来自 OneDrive 的视频链接时，它不会生成缩略图。它只显示链接。有什么方法可以解决这个问题吗？ 提前感谢。

---

## [当话题或帖子被标记时提醒管理员/版主](https://meta.discourse.org/t/alert-admin-mod-when-a-topic-or-post-is-flagged/85225)

<div class="topic-metadata">

**Author:** [@Curtis\_Kephart](https://meta.discourse.org/u/Curtis_Kephart)\
**回覆:** 2\
**Last updated:** [2024年八月26日 17:02 UTC](https://meta.discourse.org/t/alert-admin-mod-when-a-topic-or-post-is-flagged/85225 "2024-08-26T17:02:23Z")

</div>

I am an admin on a discourse forum and I’d love to get mobile (and email) notifications pushed as content is flagged. The discussion linked below suggests this should be straightforward by now via the mobile app, but it’…

---

## [使用Namecheap电子邮件托管进行电子邮件设置](https://meta.discourse.org/t/install-emailing-using-namecheap-email-hosting/32963)

<div class="topic-metadata">

**Author:** [@mootzoo](https://meta.discourse.org/u/mootzoo)\
**回覆:** 6\
**Last updated:** [2024年八月26日 17:33 UTC](https://meta.discourse.org/t/install-emailing-using-namecheap-email-hosting/32963 "2024-08-26T17:33:57Z")

</div>

Trying to install discourse. Domain is hosted my Namecheap. Using Namecheap email hosting. address is set to admin@mydomain.com Using Digital Ocean for VPS Hosting. Email between me@gmail.com - admin@mydomain.com wo…

---

## [无法查看GIF](https://meta.discourse.org/t/unable-to-see-gif/324064)

<div class="topic-metadata">

**Author:** [@Diego\_J\_Meléndez](https://meta.discourse.org/u/Diego_J_Mel%C3%A9ndez)\
**回覆:** 0\
**Last updated:** [2024年八月29日 22:32 UTC](https://meta.discourse.org/t/unable-to-see-gif/324064 "2024-08-29T22:32:50Z")

</div>

你好！ 我尝试使用 Tenor API 替换 Giphy，似乎可行。但是，发布后它只添加了一个外部链接。在帖子中看不到。

---

## [CSS函数？用来为多个不同元素设置样式](https://meta.discourse.org/t/css-function-to-style-several-dif-elements/323779)

<div class="topic-metadata">

**Author:** [@Heliosurge](https://meta.discourse.org/u/Heliosurge)\
**回覆:** 0\
**Last updated:** [2024年八月28日 14:28 UTC](https://meta.discourse.org/t/css-function-to-style-several-dif-elements/323779 "2024-08-28T14:28:22Z")

</div>

我想看看是否有办法创建一个函数，其中包含一组样式，可以在主题组件中反复使用。 在这种情况下，是一个通用的 bbcode 包装器。 是否有办法使用 &\[data\] 而无需通过 bbcode 包装器调用它？ \[Wrap="foo" X="bar"\] 我想使用类似这样的东西，但无需调用带有 x=bar 的样式集。 我想让 Foo、foo1、foo2 都具有一组通用的样式，然后具有独特的额外样式。

---

## [关于页面：网站统计参考指南](https://meta.discourse.org/t/about-page-site-statistics-reference-guide/245984)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**回覆:** 0\
**Last updated:** [2022年十一月18日 00:00 UTC](https://meta.discourse.org/t/about-page-site-statistics-reference-guide/245984 "2022-11-18T00:00:26Z")

</div>

:bookmark: 本参考指南介绍了 /about 页面上的统计数据是如何计算的，以及如何找到每个统计项对应的 Ruby 代码。 :person\_raising\_hand: 所需用户级别：所有用户 Abou…

---

## [民意调查中的绝对数字](https://meta.discourse.org/t/absolute-numbers-in-polls/32771)

<div class="topic-metadata">

**Author:** [@lightyear](https://meta.discourse.org/u/lightyear)\
**回覆:** 12\
**Last updated:** [2024年八月7日 10:18 UTC](https://meta.discourse.org/t/absolute-numbers-in-polls/32771 "2024-08-07T10:18:24Z")

</div>

Heyah, I remember there was a great topic once explaining the usage of the poll-plugin, but even after searching the forum for 15min I can find it (found a reference to it, that leads to a 404 though). So in case that i…

---

## [为用户生成登录链接](https://meta.discourse.org/t/generate-a-login-link-for-a-user/315456)

<div class="topic-metadata">

**Author:** [@anon82911141](https://meta.discourse.org/u/anon82911141)\
**回覆:** 1\
**Last updated:** [2024年七月9日 06:34 UTC](https://meta.discourse.org/t/generate-a-login-link-for-a-user/315456 "2024-07-09T06:34:49Z")

</div>

您好， 是否可以从管理员端生成用户账户的登录链接？ 谢谢。

---

## [Discourse Connect 流程](https://meta.discourse.org/t/discourse-connect-flow/263137)

<div class="topic-metadata">

**Author:** [@Ankit\_Kumar\_Jha](https://meta.discourse.org/u/Ankit_Kumar_Jha)\
**回覆:** 3\
**Last updated:** [2024年五月3日 04:50 UTC](https://meta.discourse.org/t/discourse-connect-flow/263137 "2024-05-03T04:50:48Z")

</div>

我们希望使用discourse API建立一个社区。我们在流程中遇到问题。我们的前端是React应用，后端基于NodeJS，采用微服务架构。我们管理所有的认证流程……

---

## [人工智能角色无法搜索Google（错误302）](https://meta.discourse.org/t/an-ai-persona-can-t-search-google-error-302/323028)

<div class="topic-metadata">

**Author:** [@Jagster](https://meta.discourse.org/u/Jagster)\
**回覆:** 2\
**Last updated:** [2024年八月27日 18:06 UTC](https://meta.discourse.org/t/an-ai-persona-can-t-search-google-error-302/323028 "2024-08-27T18:06:05Z")

</div>

我尝试从 Google 获取一个（OpenAI）的 Persona 搜索。之前已经做过几次了。这次失败了，当我问原因时，它告诉我因为它无法跟踪 302 重定向。 是 Google 更改了什么，还是有其他问题？我昨天升级了论坛。

---

## [谷歌上的网站名称不正确](https://meta.discourse.org/t/site-name-on-google-is-not-correct/289765)

<div class="topic-metadata">

**Author:** [@Yt.w](https://meta.discourse.org/u/Yt.w)\
**回覆:** 3\
**Last updated:** [2024年九月2日 09:24 UTC](https://meta.discourse.org/t/site-name-on-google-is-not-correct/289765 "2024-09-02T09:24:31Z")

</div>

大家好， 我想知道为什么谷歌没有在我的网站上显示正确的名称？ 我是否设置错了什么？

---

## [如何使用 Discourse API 上传图片](https://meta.discourse.org/t/how-to-upload-image-using-discourse-api/148869)

<div class="topic-metadata">

**Author:** [@Saurabh\_Khandelwal](https://meta.discourse.org/u/Saurabh_Khandelwal)\
**回覆:** 5\
**Last updated:** [2024年八月28日 11:47 UTC](https://meta.discourse.org/t/how-to-upload-image-using-discourse-api/148869 "2024-08-28T11:47:26Z")

</div>

Hello All, I’m trying to upload image using below discourse api through JAVA code: https://discourse.example.com/uploads.json by passing json in Body: { “type” : “avatar”, “user\_id”: 1, “synchronous”: true, “file…

---

## [🇨🇳 How to back up Discourse to S3 | Discourse 如何备份到 S3](https://meta.discourse.org/t/how-to-back-up-discourse-to-s3-discourse-s3/245552)

<div class="topic-metadata">

**Author:** [@honeymoose](https://meta.discourse.org/u/honeymoose)\
**回覆:** 8\
**Last updated:** [2024年七月26日 15:47 UTC](https://meta.discourse.org/t/how-to-back-up-discourse-to-s3-discourse-s3/245552 "2024-07-26T15:47:39Z")

</div>

Discourse 与 S3 是对好基友，如果你对 S3 比较熟悉的话，那么对你来说帮助会非常大。 很多人的虚拟主机空间是有限并且资源也是有限的。 使用 S3 进行备份能够更好的利用空间。 你可以按照下面的步骤进行配置： 设置备份频率 进入 admin \> backup，然后设置 backup\_frequency 为 1。这个是参数是表示备份的频率，默认为 7 。 1 表示的是每天进行备份一次。 7 表示的是每 7 天进行备…

---

## [在UI界面中的LLM插件设置标签页](https://meta.discourse.org/t/al-plugin-llm-setting-tab-in-ui-interface/324501)

<div class="topic-metadata">

**Author:** [@Jaskaran](https://meta.discourse.org/u/Jaskaran)\
**回覆:** 1\
**Last updated:** [2024年九月2日 13:04 UTC](https://meta.discourse.org/t/al-plugin-llm-setting-tab-in-ui-interface/324501 "2024-09-02T13:04:59Z")

</div>

我在我的自托管网站上添加了 AI 插件，地址是 Discourse AI 现在我正在按照 Discourse AI - AI bot - Documentation / Site Management - Discourse Meta 进行操作。但在第四个配置步骤中，他们提到转到 LLMs 设置选项卡，并为之前已配置的相应 LLM 勾选 Allow AI Bot 选项。 我在我的插件界面中看不到 LLMs 设置选项卡。有人能帮帮我吗…

---

## [Flag -&gt; 删除垃圾信息用户 - 不再有效](https://meta.discourse.org/t/flag-delete-spammer-does-not-work-anymore/192748)

<div class="topic-metadata">

**Author:** [@markersocial](https://meta.discourse.org/u/markersocial)\
**回覆:** 8\
**Last updated:** [2024年八月9日 14:25 UTC](https://meta.discourse.org/t/flag-delete-spammer-does-not-work-anymore/192748 "2024-08-09T14:25:18Z")

</div>

This was working well on 2.6.x Upgraded to 2.7.1 Stable and get this error immediately when trying to use this option (flag → delete spammer) on a post or topic: There was an error deleting that user. Make sure all po…

---

## [Docker 日志应用程序？](https://meta.discourse.org/t/docker-logs-app/346805)

<div class="topic-metadata">

**Author:** [@qiancsf](https://meta.discourse.org/u/qiancsf)\
**回覆:** 6\
**Last updated:** [2025年一月20日 11:28 UTC](https://meta.discourse.org/t/docker-logs-app/346805 "2025-01-20T11:28:55Z")

</div>

全新安装后，什么都不做就会报这个错误， 我在另一台VPS上安装了不同的域名，但仍然遇到这些错误

---

## [如何在浏览器标签中自定义三级类别标题以优化SEO](https://meta.discourse.org/t/how-to-customize-3-level-category-titles-for-better-seo-in-browser-tabs/349915)

<div class="topic-metadata">

**Author:** [@thaidb](https://meta.discourse.org/u/thaidb)\
**回覆:** 0\
**Last updated:** [2025年一月31日 15:55 UTC](https://meta.discourse.org/t/how-to-customize-3-level-category-titles-for-better-seo-in-browser-tabs/349915 "2025-01-31T15:55:31Z")

</div>

我希望在浏览器标签中重构我的 Discourse 论坛的分类标题，使其对 Google 搜索更加SEO 友好。我的论坛使用三级层级结构根据房地产位置对主题进行分类： 出售 / 行政区 / 具体街道 出售 / 第一区 / Mac Thi Buoi 街 出售 / 第一区 / Bui Thi Xuan 街 出租 / 行政区 / 具体街道 出租 / 第一区 / Mac Thi Buoi 街 出租 / 第二区 / Tran Nao 街 …

---

## [如何修改插件的翻译？](https://meta.discourse.org/t/how-to-modify-the-translation-of-a-plugin/319443)

<div class="topic-metadata">

**Author:** [@sheng\_hualuo](https://meta.discourse.org/u/sheng_hualuo)\
**回覆:** 0\
**Last updated:** [2024年七月31日 11:32 UTC](https://meta.discourse.org/t/how-to-modify-the-translation-of-a-plugin/319443 "2024-07-31T11:32:43Z")

</div>

“我的社区使用中文，但我安装了一些以英文显示的插件。我尝试使用网站内置的语言设置修改文本，但没有效果。”

---

## [排查失效链接](https://meta.discourse.org/t/troubleshooting-broken-link/323406)

<div class="topic-metadata">

**Author:** [@putty](https://meta.discourse.org/u/putty)\
**回覆:** 2\
**Last updated:** [2024年八月26日 15:59 UTC](https://meta.discourse.org/t/troubleshooting-broken-link/323406 "2024-08-26T15:59:14Z")

</div>

我使用以下链接指向直播演示者 本指南: https://developer.sailpoint.com/discuss/livestream-guest 在新标签页中打开链接时可以正常工作，但在同一窗口中打开时会显示损坏/私有页面错误： 我在向侧边栏导航添加新快捷方式时遇到过类似的情况。是不是我遗漏了什么？

---

## [关于机器人](https://meta.discourse.org/t/regarding-bots/321720)

<div class="topic-metadata">

**Author:** [@kryptosurfer64](https://meta.discourse.org/u/kryptosurfer64)\
**回覆:** 0\
**Last updated:** [2024年八月14日 22:07 UTC](https://meta.discourse.org/t/regarding-bots/321720 "2024-08-14T22:07:05Z")

</div>

大约 2 个月前，在我（目前自托管且已完成/完全按照我需要的方式构建）的 discourse 论坛的 beta 版本中，我设法安装了一个 AI ChatBot：gpt3.5\_bot 它在 USERS 面板中，然而我在 6 月 9 日的管理员笔记中看到，它确实无法工作，因此我暂时搁置了它，并完全忘记了它，因为我当时正计划测试我如何能够利用它并使其正常工作以及更多！但是，我似乎无法直接“删除”它，因为它目前没有任何用途，而且我也不希望它在…

---

## [AI聊天机器人是否可以在Discourse论坛上对房地产查询进行聚合和响应，并使用最小/最大过滤？](https://meta.discourse.org/t/can-an-ai-chat-bot-aggregate-and-respond-to-real-estate-queries-with-min-max-filtering-on-a-discourse-forum/347947)

<div class="topic-metadata">

**Author:** [@thaidb](https://meta.discourse.org/u/thaidb)\
**回覆:** 0\
**Last updated:** [2025年一月20日 02:35 UTC](https://meta.discourse.org/t/can-an-ai-chat-bot-aggregate-and-respond-to-real-estate-queries-with-min-max-filtering-on-a-discourse-forum/347947 "2025-01-20T02:35:11Z")

</div>

大家好， 我正在探索使用人工智能聊天机器人来聚合和响应 Discourse 论坛上的房地产相关内容。论坛上的内容通常包括： 街道名称、街区、区域、省份/城市。 尺寸（宽度、长度、面积）、销售或租赁价格。 房地产类型：联排别墅、别墅、空地、建筑物、公寓。 我的主要问题是： 人工智能聊天机器人能否分析和总结论坛上大约 1,000 个最新主题，并响应需要最小/最大过滤的查询？例如： 价格范围：“正在寻找价格在 200 亿到 1…

---

## [关于页面未显示同时具有管理员权限的版主](https://meta.discourse.org/t/the-about-page-does-not-display-moderators-that-are-also-administrators/86329)

<div class="topic-metadata">

**Author:** [@danekhollas](https://meta.discourse.org/u/danekhollas)\
**回覆:** 14\
**Last updated:** [2024年八月10日 12:11 UTC](https://meta.discourse.org/t/the-about-page-does-not-display-moderators-that-are-also-administrators/86329 "2024-08-10T12:11:26Z")

</div>

It seems that when you are both admin and a moderator, you are listed only as an admin at /about page. I assuming this is a bug…

---

## [添加电子邮件头以区分回复邮件与其他邮件](https://meta.discourse.org/t/add-email-header-to-distinguish-reply-emails-from-other-emails/205577)

<div class="topic-metadata">

**Author:** [@tophee](https://meta.discourse.org/u/tophee)\
**回覆:** 1\
**Last updated:** [2024年五月6日 20:00 UTC](https://meta.discourse.org/t/add-email-header-to-distinguish-reply-emails-from-other-emails/205577 "2024-05-06T20:00:33Z")

</div>

随着 discourse 越来越接近成为论坛的 WordPress 目标，我成为越来越多 discourse 论坛的成员，这些论坛都向我的收件箱发送电子邮件。大多数通知电子邮件，我都希望…

---

## [新主机上的SSL](https://meta.discourse.org/t/ssl-on-new-host/306299)

<div class="topic-metadata">

**Author:** [@Genisis](https://meta.discourse.org/u/Genisis)\
**回覆:** 4\
**Last updated:** [2024年五月1日 19:03 UTC](https://meta.discourse.org/t/ssl-on-new-host/306299 "2024-05-01T19:03:17Z")

</div>

我整夜未睡！我换了主机，但我意识到Let's Encrypt是罪魁祸首，现在我只能使用Cloudflare边缘的SSL，不能使用完整SSL，我换了主机，使用相同的app.yml文件，所有东西都一样，为什么Let's Encrypt不能用？我还……

---

## [任意非比例图像缩放](https://meta.discourse.org/t/arbitrary-nonproportional-image-resizing/348023)

<div class="topic-metadata">

**Author:** [@connrrr](https://meta.discourse.org/u/connrrr)\
**回覆:** 1\
**Last updated:** [2025年一月20日 15:06 UTC](https://meta.discourse.org/t/arbitrary-nonproportional-image-resizing/348023 "2025-01-20T15:06:03Z")

</div>

你好！ 我们论坛以前使用 Flarum 时，有一个有趣的功能是添加尺寸标签来修改图片的宽度和高度，使其拉伸和压缩，就像这样（可能记错了标签的写法） 我尝试在 Discourse 中对上传的图片使用 HTML 等效标签，但这只会裁剪图片。 我没有看到在 Discourse 中对上传的图片进行此操作的方法。是我弄错了吗？

---

## [我正在使用cookiebot，如何在用户同意cookies之前阻止资源加载？](https://meta.discourse.org/t/i-am-using-cookiebot-how-can-i-block-resource-loading-till-user-consent-cookies/323765)

<div class="topic-metadata">

**Author:** [@walid.zaki](https://meta.discourse.org/u/walid.zaki)\
**回覆:** 1\
**Last updated:** [2024年八月28日 13:31 UTC](https://meta.discourse.org/t/i-am-using-cookiebot-how-can-i-block-resource-loading-till-user-consent-cookies/323765 "2024-08-28T13:31:33Z")

</div>

我需要阻止加载资源，直到用户同意 cookie，因为对于所有与资源相关的 cookie，我在 Cookiebot 报告中遇到以下不合规之处： 用户接受前阻止： 否

[上一頁](https://meta.discourse.org/hot.md?page=1906)

[下一頁](https://meta.discourse.org/hot.md?page=1908)
