# Latest

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

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

**Page:** 459

---

## [在特定类别显示欢迎链接横幅](https://meta.discourse.org/t/show-welcome-link-banner-for-specific-categories/309234)

<div class="topic-metadata">

**Author:** [@Diego\_Santos](https://meta.discourse.org/u/Diego_Santos)\
**回复:** 6\
**最近更新：:** [2024 年5 月 25 日 10:42 UTC](https://meta.discourse.org/t/show-welcome-link-banner-for-specific-categories/309234 "2024-05-25T10:42:03Z")

</div>

您好， 我想在类别页面（/c/xxx 或 /c/yyy）隐藏欢迎横幅。是否有办法将其设置为参数？

---

## [视频自行播放](https://meta.discourse.org/t/video-playing-on-its-own/309380)

<div class="topic-metadata">

**Author:** [@PeakProsperity](https://meta.discourse.org/u/PeakProsperity)\
**回复:** 0\
**最近更新：:** [2024 年5 月 25 日 09:51 UTC](https://meta.discourse.org/t/video-playing-on-its-own/309380 "2024-05-25T09:51:31Z")

</div>

我收到一个用户的请求，似乎不仅仅发生在一个人身上，但似乎并不一直发生。基本上，如果视频暂停，它会自己继续播放……

---

## [🇨🇳 Synchronizing DiscourseConnect user data using sync\_sso \[Java\] | 使用 sync\_sso 同步 DiscourseConnect 用户数据 \[Java\]](https://meta.discourse.org/t/synchronizing-discourseconnect-user-data-using-sync-sso-java-sync-sso-discourseconnect-java/309367)

<div class="topic-metadata">

**Author:** [@honeymoose](https://meta.discourse.org/u/honeymoose)\
**回复:** 0\
**最近更新：:** [2024 年5 月 25 日 05:25 UTC](https://meta.discourse.org/t/synchronizing-discourseconnect-user-data-using-sync-sso-java-sync-sso-discourseconnect-java/309367 "2024-05-25T05:25:39Z")

</div>

最近有一个使用 SSO 把已有的用户同步到 Discourse 的需求。 所以，我就根据官方针对 PHP 实现（Sync DiscourseConnect user data with the sync\_sso route - developers - Discourse Meta ）写了一个有关 Java 的实现。 实现的方法很简单，但是需要用到一些额外的包，最重要的是 Apache commons codec 和 Okhttp。 …

---

## [背书提示](https://meta.discourse.org/t/endorsement-prompts/269092)

<div class="topic-metadata">

**Author:** [@justintime](https://meta.discourse.org/u/justintime)\
**回复:** 4\
**最近更新：:** [2024 年5 月 25 日 03:46 UTC](https://meta.discourse.org/t/endorsement-prompts/269092 "2024-05-25T03:46:01Z")

</div>

我已在我们的 Discourse 实例中添加了类别专家插件，但让 400 人了解新功能并采取额外步骤点击别人用户资料再点击……依然充满挑战。

---

## [开始AI对话的快捷方式是用户设置吗？](https://meta.discourse.org/t/is-the-shortcut-to-start-ai-conversation-a-user-setting-or-not/309113)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**回复:** 10\
**最近更新：:** [2024 年5 月 24 日 22:07 UTC](https://meta.discourse.org/t/is-the-shortcut-to-start-ai-conversation-a-user-setting-or-not/309113 "2024-05-24T22:07:11Z")

</div>

关于用户在拥有机器人访问权限时看到的这个图标： 我们进行了一次内部投票，25%的公司员工不喜欢它。 我认为，不想要机器人在顶部的人可以分为两组： 人们……

---

## [小错误：标记自己帖子仍会收到“您的帖子被社区标记”的提示](https://meta.discourse.org/t/slight-bug-flagging-your-own-post-will-still-get-you-the-your-post-was-flagged-by-the-community-note/309351)

<div class="topic-metadata">

**Author:** [@someuser](https://meta.discourse.org/u/someuser)\
**回复:** 0\
**最近更新：:** [2024 年5 月 24 日 22:06 UTC](https://meta.discourse.org/t/slight-bug-flagging-your-own-post-will-still-get-you-the-your-post-was-flagged-by-the-community-note/309351 "2024-05-24T22:06:04Z")

</div>

当你不是管理员且想删除旧帖子时，最好通过“标记”选择“其他原因”，然后输入“请删除此内容，它是重复、过时等。”然后管理员删除帖子，你会...

---

## [按产品划分的客户群论坛](https://meta.discourse.org/t/forum-for-a-group-of-customers-separated-by-product/78963)

<div class="topic-metadata">

**Author:** [@marcus7](https://meta.discourse.org/u/marcus7)\
**回复:** 3\
**最近更新：:** [2018 年1 月 25 日 16:10 UTC](https://meta.discourse.org/t/forum-for-a-group-of-customers-separated-by-product/78963 "2018-01-25T16:10:10Z")

</div>

大家好， 如果之前提到过，抱歉。这是我第一次使用Discourse，所以我还在学习如何浏览旧话题。 我工作的公司为各地的客户提供软件……

---

## [针对长上下文LLMs的提示注入作为RAG的替代方案？](https://meta.discourse.org/t/prompt-injection-for-long-context-llms-as-an-alternative-to-rag/309086)

<div class="topic-metadata">

**Author:** [@StevePlex](https://meta.discourse.org/u/StevePlex)\
**回复:** 8\
**最近更新：:** [2024 年5 月 24 日 21:02 UTC](https://meta.discourse.org/t/prompt-injection-for-long-context-llms-as-an-alternative-to-rag/309086 "2024-05-24T21:02:18Z")

</div>

在系统提示中将中等大小的文档（例如最多100KB）注入到Discourse AI角色机器人会话的上下文中是否可行？ 用例 一个连接到像Llama3-8b这样的私有LLM的定制AI角色……

---

## [在创建新主题编辑器中预设标签](https://meta.discourse.org/t/preset-a-tag-in-create-new-topic-composer/154093)

<div class="topic-metadata">

**Author:** [@wyudong](https://meta.discourse.org/u/wyudong)\
**回复:** 3\
**最近更新：:** [2024 年5 月 24 日 20:42 UTC](https://meta.discourse.org/t/preset-a-tag-in-create-new-topic-composer/154093 "2024-05-24T20:42:57Z")

</div>

启用标签后，用户可以在他们的话题中添加标签。我的额外场景是在打开话题撰写器时，根据用户的地区设置预设一个语言标签。 当用户使用类似这样的URL：meta.examp…

---

## [向电子邮件主题变量添加 optional\_cat\_slug](https://meta.discourse.org/t/add-optional-cat-slug-to-email-subject-variables/64048)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**回复:** 6\
**最近更新：:** [2024 年5 月 24 日 20:27 UTC](https://meta.discourse.org/t/add-optional-cat-slug-to-email-subject-variables/64048 "2024-05-24T20:27:26Z")

</div>

继续关于为标准电子邮件定制主题格式的讨论： 我刚刚也有客户问过这个问题。

---

## [在情感回填 Rake 任务中遇到错误](https://meta.discourse.org/t/encountering-error-in-sentiment-backfill-rake-task/297275)

<div class="topic-metadata">

**Author:** [@RBoy](https://meta.discourse.org/u/RBoy)\
**回复:** 3\
**最近更新：:** [2024 年5 月 24 日 20:20 UTC](https://meta.discourse.org/t/encountering-error-in-sentiment-backfill-rake-task/297275 "2024-05-24T20:20:52Z")

</div>

我正在尝试运行 sentiment backfill rake，它开始工作一段时间（大约6-10分钟），然后就会抛出错误。 :/var/www/discourse# rake ai:sentiment:backfill --trace \*\* 调用 ai:sentiment:backfill …

---

## [图片投票](https://meta.discourse.org/t/images-polls/309252)

<div class="topic-metadata">

**Author:** [@eisammy](https://meta.discourse.org/u/eisammy)\
**回复:** 3\
**最近更新：:** [2024 年5 月 24 日 19:57 UTC](https://meta.discourse.org/t/images-polls/309252 "2024-05-24T19:57:15Z")

</div>

如何在“你更喜欢什么”游戏的投票功能中插入图片，我试图插入但在创建帖子时没有显示。 我尝试了这种方式 \[poll type=regular results=always public=true chartType=bar\] \* 一个礼物……

---

## [绿色线条出现在类别“专家”帖子下是有意为之的吗？](https://meta.discourse.org/t/is-the-green-line-under-the-category-expert-s-posts-intended/309457)

<div class="topic-metadata">

**Author:** [@patrickemin](https://meta.discourse.org/u/patrickemin)\
**回复:** 4\
**最近更新：:** [2024 年5 月 24 日 18:09 UTC](https://meta.discourse.org/t/is-the-green-line-under-the-category-expert-s-posts-intended/309457 "2024-05-24T18:09:47Z")

</div>

虽然这可能无关紧要，但我今天注意到我的新文章下有一条绿色的水平线，只在我是类别专家的那篇下……是不是与Experts插件有关？

---

## [Discourse Hub 使用错误无效化 Discord OAuth](https://meta.discourse.org/t/discourse-hub-invalidates-discord-oauth-with-error/309316)

<div class="topic-metadata">

**Author:** [@lawmixeraintalive](https://meta.discourse.org/u/lawmixeraintalive)\
**回复:** 3\
**最近更新：:** [2024 年5 月 24 日 17:32 UTC](https://meta.discourse.org/t/discourse-hub-invalidates-discord-oauth-with-error/309316 "2024-05-24T17:32:34Z")

</div>

我只有 Discord OAuth 作为我的验证方法，它在桌面版 Discourse 上运行得很好，但在移动版上却会出错，这很糟糕。 错误： (discord) 身份验证失败！csrf\_detected: OmniAuth::Strategies::OAuth2::CallbackError, csrf\_detected | CSRF 检测到 配置： 重定向：https://forum.orosiuslabs.com/auth/…

---

## [打开和关闭反应菜单而不选择反应会禁用高亮显示](https://meta.discourse.org/t/opening-and-closing-the-reactions-menu-without-picking-a-reaction-disables-highlighting/287064)

<div class="topic-metadata">

**Author:** [@Firepup650](https://meta.discourse.org/u/Firepup650)\
**回复:** 1\
**最近更新：:** [2024 年5 月 24 日 17:26 UTC](https://meta.discourse.org/t/opening-and-closing-the-reactions-menu-without-picking-a-reaction-disables-highlighting/287064 "2024-05-24T17:26:05Z")

</div>

我记得这个问题已经出现一段时间了，而且（虽然我尽量避免）我仍然经常导致这个问题发生。 Jammy 可能比我解释得更好：

---

## [休息一下！主题组件](https://meta.discourse.org/t/take-a-break-theme-component/140248)

<div class="topic-metadata">

**Author:** [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)\
**回复:** 18\
**最近更新：:** [2024 年5 月 22 日 18:23 UTC](https://meta.discourse.org/t/take-a-break-theme-component/140248 "2024-05-22T18:23:57Z")

</div>

这是什么？ 在关于版主们花费大量时间在屏幕上的讨论之后，我决定最好提醒工作人员（以及非工作人员！）在浏览论坛后经常休息……

---

## [Discourse \> Zendesk 插件漏洞：工单中缺失 Discourse 帖子](https://meta.discourse.org/t/discourse-zendesk-plugin-bug-missing-discourse-posts-in-tickets/288501)

<div class="topic-metadata">

**Author:** [@Arthur\_Arakelyan](https://meta.discourse.org/u/Arthur_Arakelyan)\
**回复:** 1\
**最近更新：:** [2024 年5 月 24 日 15:29 UTC](https://meta.discourse.org/t/discourse-zendesk-plugin-bug-missing-discourse-posts-in-tickets/288501 "2024-05-24T15:29:42Z")

</div>

这个漏洞影响Discourse与Zendesk之间的集成，有时一些Discourse帖子无法被创建为Zendesk工单。看起来这个问题发生在与话题的首次互动是回复，而不是...

---

## [隐藏 /about 页面中的电子邮件地址](https://meta.discourse.org/t/hide-email-address-from-about-page/148433)

<div class="topic-metadata">

**Author:** [@dizzit](https://meta.discourse.org/u/dizzit)\
**回复:** 3\
**最近更新：:** [2020 年4 月 19 日 04:16 UTC](https://meta.discourse.org/t/hide-email-address-from-about-page/148433 "2020-04-19T04:16:19Z")

</div>

在Discourse论坛的/about页面上，显示主要管理员的电子邮箱地址： 联系我们 如果发生重大问题或紧急事项影响本网站，请通过email@example.com联系我们 我该如何隐藏……

---

## [带预填信息的新DM/私人聊天消息链接](https://meta.discourse.org/t/link-for-new-dm-personal-chat-message-with-pre-filled-information/256988)

<div class="topic-metadata">

**Author:** [@jimkleiber](https://meta.discourse.org/u/jimkleiber)\
**回复:** 20\
**最近更新：:** [2024 年5 月 24 日 09:44 UTC](https://meta.discourse.org/t/link-for-new-dm-personal-chat-message-with-pre-filled-information/256988 "2024-05-24T09:44:19Z")

</div>

继续之前关于创建一个链接，以开始带有预填信息的私人信息的讨论： 我希望能有一个我可以给别人，或者方便放在主题组件中的网址，如果……

---

## [如何启用 CopyLink？](https://meta.discourse.org/t/how-to-enable-copylink/309269)

<div class="topic-metadata">

**Author:** [@Bathinda](https://meta.discourse.org/u/Bathinda)\
**回复:** 2\
**最近更新：:** [2024 年5 月 24 日 09:38 UTC](https://meta.discourse.org/t/how-to-enable-copylink/309269 "2024-05-24T09:38:35Z")

</div>

是否有需要开启的管理员网站设置，以便我的网站反映这种行为？即使我的实例完全是最新的，仍然当我点击帖子下方的小‘链’按钮时，会弹出一个分享的弹出窗口……

---

## [如何在章节中添加按钮](https://meta.discourse.org/t/how-to-add-button-in-section/309255)

<div class="topic-metadata">

**Author:** [@pradeepkumar0555](https://meta.discourse.org/u/pradeepkumar0555)\
**回复:** 3\
**最近更新：:** [2024 年5 月 24 日 07:07 UTC](https://meta.discourse.org/t/how-to-add-button-in-section/309255 "2024-05-24T07:07:36Z")

</div>

需要帮助用自定义代码在部分添加按钮，有人知道怎么做吗？请帮忙，我想添加一个按钮。 请参考下面的截图。 你能帮忙吗？

---

## [如何查看 sidekiq dashboard?](https://meta.discourse.org/t/how-to-view-sidekiq-dashboard/309228)

<div class="topic-metadata">

**Author:** [@Mudit\_Maheshwari](https://meta.discourse.org/u/Mudit_Maheshwari)\
**回复:** 0\
**最近更新：:** [2024 年5 月 23 日 23:59 UTC](https://meta.discourse.org/t/how-to-view-sidekiq-dashboard/309228 "2024-05-23T23:59:25Z")

</div>

我们最近发现我们同时使用了 Unicorn (bin/unicorn -c config/unicorn.conf.rb) 和 Sidekiq (sidekiq -C ./sidekiq.yml) 命令来运行 sidekiq。然而，当检查 Sidekiq 仪表板 ({DISCOURSE\_

---

## [有没有办法拥有一个链接，可以给所有工作人员私信？](https://meta.discourse.org/t/is-there-a-way-to-have-a-link-that-will-pm-all-staff/309215)

<div class="topic-metadata">

**Author:** [@Onlyanegg](https://meta.discourse.org/u/Onlyanegg)\
**回复:** 2\
**最近更新：:** [2024 年5 月 23 日 22:27 UTC](https://meta.discourse.org/t/is-there-a-way-to-have-a-link-that-will-pm-all-staff/309215 "2024-05-23T22:27:08Z")

</div>

我已经浏览了很多——我想要一些非常显眼的内容，能迅速让他们发出PM给所有员工。理想情况下是一个简单的链接，能直接开始只发给员工的PM。非常感谢您的任何帮助……

---

## [是否可以只将看板视图作为唯一视图？](https://meta.discourse.org/t/is-it-possible-to-have-the-board-view-as-the-only-view/309189)

<div class="topic-metadata">

**Author:** [@jordan-violet](https://meta.discourse.org/u/jordan-violet)\
**回复:** 3\
**最近更新：:** [2024 年5 月 23 日 21:02 UTC](https://meta.discourse.org/t/is-it-possible-to-have-the-board-view-as-the-only-view/309189 "2024-05-23T21:02:25Z")

</div>

我们刚开始使用此主题组件，并且有一些问题： 在类别中使用看板视图时，是否可以隐藏普通的主题列表，使看板成为唯一的视图……

---

## [提示：测试入站电子邮件时使用虚假用户帐户](https://meta.discourse.org/t/tip-when-testing-inbound-email-with-fake-user-accounts/288363)

<div class="topic-metadata">

**Author:** [@ToddZ](https://meta.discourse.org/u/ToddZ)\
**回复:** 1\
**最近更新：:** [2024 年5 月 23 日 20:35 UTC](https://meta.discourse.org/t/tip-when-testing-inbound-email-with-fake-user-accounts/288363 "2024-05-23T20:35:39Z")

</div>

…记得使用假账户电子邮件地址的别名发送。 我花了令人尴尬的时间来排查入站电子邮件，因为 Discourse 拒绝了我发送的来自假用户的每一封电子邮件回复。几周前我首次测试时，它本来工作得很好…… 我终于意识到，在 Gmail 中，我一直忘记将我的“发件人”地址切换到假 Discourse 账户的别名：my.name+DiscourseTest@gmail.com 拍额头 我有点分心了，因为在“拒绝”列表里显示的错误是 Email…

---

## [为 Docker 容器添加标签](https://meta.discourse.org/t/add-a-label-to-the-docker-container/230254)

<div class="topic-metadata">

**Author:** [@Grunskin](https://meta.discourse.org/u/Grunskin)\
**回复:** 8\
**最近更新：:** [2024 年5 月 23 日 19:03 UTC](https://meta.discourse.org/t/add-a-label-to-the-docker-container/230254 "2024-05-23T19:03:37Z")

</div>

在我写了一篇关于如何为 discourse 容器添加标签的帖子时，我找到了解决方法，所以我想在这里分享一下，以便人们在谷歌搜索时能更容易找到。 我想给我的 discourse 容器添加一个标签，这样 Watchtower 就不会每次都尝试更新它。 我忽略了 launcher 脚本打印的帮助信息，没有注意到 --docker-args。 要添加我想要的标签，我必须使用以下命令启动它： ./launcher start app --…

---

## [名为 settings 的未初始化变量](https://meta.discourse.org/t/uninitialized-variable-named-settings/309192)

<div class="topic-metadata">

**Author:** [@jlc](https://meta.discourse.org/u/jlc)\
**回复:** 1\
**最近更新：:** [2023 年2 月 17 日 11:24 UTC](https://meta.discourse.org/t/uninitialized-variable-named-settings/309192 "2023-02-17T11:24:22Z")

</div>

我还在学习主题和插件开发，所以有很多我不太了解的地方，但如果可能的话，我想为这个主题组件做贡献。所以我一直在看 natha 的“修复版面按钮分类”…

---

## [使用标签过滤器增强看板视图](https://meta.discourse.org/t/enhancing-board-views-with-tag-filters/309187)

<div class="topic-metadata">

**Author:** [@Julien\_Palard](https://meta.discourse.org/u/Julien_Palard)\
**回复:** 1\
**最近更新：:** [2024 年5 月 23 日 18:39 UTC](https://meta.discourse.org/t/enhancing-board-views-with-tag-filters/309187 "2024-05-23T18:39:30Z")

</div>

是否有可能让标签选择框与看板视图兼容？目前：当我在看板视图中，如果从标签选择框（靠近类别选择框）选择一个标签，它会跳转到 /tags/c/...

---

## [在名字前添加特定标题的选项？](https://meta.discourse.org/t/option-to-add-certain-titles-before-name/308986)

<div class="topic-metadata">

**Author:** [@Shauny](https://meta.discourse.org/u/Shauny)\
**回复:** 1\
**最近更新：:** [2024 年5 月 23 日 15:13 UTC](https://meta.discourse.org/t/option-to-add-certain-titles-before-name/308986 "2024-05-23T15:13:51Z")

</div>

我对一些徽章有一个有趣的想法，如果人们为我的网站做出巨大贡献，我希望能够在他们的名字显示中添加头衔，比如“Professor”标题，显示如下： The norma…

---

## [x.com 预览的问题](https://meta.discourse.org/t/issue-with-x-com-previews/308546)

<div class="topic-metadata">

**Author:** [@MarcP](https://meta.discourse.org/u/MarcP)\
**回复:** 3\
**最近更新：:** [2024 年5 月 23 日 14:34 UTC](https://meta.discourse.org/t/issue-with-x-com-previews/308546 "2024-05-23T14:34:19Z")

</div>

opengraph.xyz 一切似乎正常——不确定是否是 Discourse 端的问题？但是： https://x.com/X/status/1791399086182031741 发布旧的 twitter.com 链接是有效的。

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

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