# Latest

**URL:** https://meta.discourse.org/latest.md?f=tracked%EF%BC%8C%E4%BB%85%E6%9F%A5%E7%9C%8B%E6%82%A8%E5%85%B3%E6%B3%A8%E7%9A%84%E5%88%86%E7%B1%BB%E5%92%8C%E6%A0%87%E7%AD%BE%E4%B8%8B%E7%9A%84%E6%9C%80%E6%96%B0%E4%B8%BB%E9%A2%98%E3%80%82&page=674

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

**Page:** 675

---

## [主题未显示在应有的“最新”中](https://meta.discourse.org/t/topic-not-showing-on-latest-where-it-should/261957)

<div class="topic-metadata">

**Author:** [@MarcP](https://meta.discourse.org/u/MarcP)\
**回覆:** 3\
**Last updated:** [2023年四月17日 14:49 UTC](https://meta.discourse.org/t/topic-not-showing-on-latest-where-it-should/261957 "2023-04-17T14:49:32Z")

</div>

我注意到一个特定主题没有显示在最新页面上。该类别中的其他主题显示正常。可以通过搜索找到缺失的主题。 它也没有显示在类别中。 N…

---

## [在搜索页面上使用来自另一个组件的操作](https://meta.discourse.org/t/using-actions-from-another-component-on-search-page/251895)

<div class="topic-metadata">

**Author:** [@misham](https://meta.discourse.org/u/misham)\
**回覆:** 1\
**Last updated:** [2023年四月17日 14:15 UTC](https://meta.discourse.org/t/using-actions-from-another-component-on-search-page/251895 "2023-04-17T14:15:19Z")

</div>

您好！是否可以在搜索页面触发类别更改操作？我的情况是：我在顶部有一个类别列表，当我点击它们时，底部的结果应根据类别而变化。我做了一个……

---

## [仅使用电话号码进行登录 oAuth](https://meta.discourse.org/t/login-oauth-using-just-phone-number/261947)

<div class="topic-metadata">

**Author:** [@Vivek\_Choksi](https://meta.discourse.org/u/Vivek_Choksi)\
**回覆:** 0\
**Last updated:** [2023年四月17日 13:40 UTC](https://meta.discourse.org/t/login-oauth-using-just-phone-number/261947 "2023-04-17T13:40:31Z")

</div>

我们希望为我们的社区使用SSO。我们希望使用我们公司的登录。对于我公司的登录，我们获取电话号码并通过OTP进行验证。成功验证OTP后，我们将生成会话。电子邮件地址是……

---

## [CSS 是否有方法可以在深色模式下修改特定元素？](https://meta.discourse.org/t/is-there-a-css-way-to-modify-specific-items-in-dark-mode/278613)

<div class="topic-metadata">

**Author:** [@satonotdead](https://meta.discourse.org/u/satonotdead)\
**回覆:** 1\
**Last updated:** [2023年四月17日 13:28 UTC](https://meta.discourse.org/t/is-there-a-css-way-to-modify-specific-items-in-dark-mode/278613 "2023-04-17T13:28:52Z")

</div>

在 CSS 中使用暗选择器来修改深色模式下的特定项目是否存在一种方法？我们的配色方案中的次要颜色看起来很奇怪，而一个简单的解决方法可能是使用一个选择器，但我没有看到 Discourse 使用类似的东西……

---

## [使用 API 更新自定义字段](https://meta.discourse.org/t/updating-custom-fields-using-api/153337)

<div class="topic-metadata">

**Author:** [@hjalali](https://meta.discourse.org/u/hjalali)\
**回覆:** 6\
**Last updated:** [2023年四月17日 11:08 UTC](https://meta.discourse.org/t/updating-custom-fields-using-api/153337 "2023-04-17T11:08:31Z")

</div>

我一直在查阅 API 文档，但似乎找不到如何编辑除电子邮件和头像之外的用户信息。例如，名字、姓氏，以及更重要的自定义字段。 有人能帮忙……

---

## [有没有办法在Discourse中禁用所有缓存](https://meta.discourse.org/t/is-there-any-way-to-disable-all-cache-in-discourse/261686)

<div class="topic-metadata">

**Author:** [@Swarndeep\_Poddar](https://meta.discourse.org/u/Swarndeep_Poddar)\
**回覆:** 3\
**Last updated:** [2023年四月17日 10:33 UTC](https://meta.discourse.org/t/is-there-any-way-to-disable-all-cache-in-discourse/261686 "2023-04-17T10:33:35Z")

</div>

有没有办法禁用Discourse中的所有缓存？我想禁用所有缓存。我在哪里可以更改缓存设置？

---

## [在帖子中显示个人资料标题](https://meta.discourse.org/t/show-profile-headline-in-the-posts/257917)

<div class="topic-metadata">

**Author:** [@Kushalghosh9899](https://meta.discourse.org/u/Kushalghosh9899)\
**回覆:** 20\
**Last updated:** [2023年四月17日 10:29 UTC](https://meta.discourse.org/t/show-profile-headline-in-the-posts/257917 "2023-04-17T10:29:16Z")

</div>

我想在全名下方添加个人资料标题字段，尝试寻找方法但没有找到 除此之外，还有一个错误/问题，即我在帖子中将 enable\_name 设置为 true，并隐藏了用户名……

---

## [PFP未显示](https://meta.discourse.org/t/pfp-not-displaying/261933)

<div class="topic-metadata">

**Author:** [@Adrienne\_Youngman](https://meta.discourse.org/u/Adrienne_Youngman)\
**回覆:** 1\
**Last updated:** [2023年四月17日 11:34 UTC](https://meta.discourse.org/t/pfp-not-displaying/261933 "2023-04-17T11:34:28Z")

</div>

我尝试将我的个人资料图片（PFP）上传为 JPEG 和 PNG 文件。每次上传似乎都成功了，但在我点击保存后它就消失了。是否有我还不了解的个人资料图片要求？

---

## [如何在Iframe中运行Discourse？](https://meta.discourse.org/t/how-to-run-the-discourse-in-iframe/261926)

<div class="topic-metadata">

**Author:** [@vivekAtcs](https://meta.discourse.org/u/vivekAtcs)\
**回覆:** 1\
**Last updated:** [2023年四月17日 10:21 UTC](https://meta.discourse.org/t/how-to-run-the-discourse-in-iframe/261926 "2023-04-17T10:21:50Z")

</div>

Discourse 应用程序无法在另一个应用程序的 Iframe 中运行。 错误详情为： 拒绝连接：https://xxxxxxxxxdiscourse.com/ 因为祖先违反了以下内容安全策略指令……

---

## [模态框隐藏了粘性标题](https://meta.discourse.org/t/modals-hides-the-sticky-header/261920)

<div class="topic-metadata">

**Author:** [@Don](https://meta.discourse.org/u/Don)\
**回覆:** 0\
**Last updated:** [2023年四月17日 09:40 UTC](https://meta.discourse.org/t/modals-hides-the-sticky-header/261920 "2023-04-17T09:40:19Z")

</div>

你好， 当你在移动设备上打开模态框时，粘性页眉会被隐藏。这行是否仍然必要？它似乎隐藏了它。 谢谢 :slightly\_smiling\_face:

---

## [隐藏主题/帖子](https://meta.discourse.org/t/hide-topic-post/261871)

<div class="topic-metadata">

**Author:** [@NoamH](https://meta.discourse.org/u/NoamH)\
**回覆:** 13\
**Last updated:** [2023年四月17日 08:53 UTC](https://meta.discourse.org/t/hide-topic-post/261871 "2023-04-17T08:53:20Z")

</div>

您好， 作为管理员，是否可以创建一个新主题，在决定发布之前将其隐藏？ 谢谢 Noam

---

## [如何限制我视频的下载？](https://meta.discourse.org/t/how-can-i-restrict-downloads-of-my-videos/261526)

<div class="topic-metadata">

**Author:** [@billmay](https://meta.discourse.org/u/billmay)\
**回覆:** 2\
**Last updated:** [2023年四月17日 05:57 UTC](https://meta.discourse.org/t/how-can-i-restrict-downloads-of-my-videos/261526 "2023-04-17T05:57:47Z")

</div>

大家好，我是asktug.com的网站管理员，asktug是关于TiDB的中文社区。我想请教一下大家关于如何限制视频下载的问题。我希望访客和注册用户都能…

---

## [Discourse 能否移除反应锁定？](https://meta.discourse.org/t/can-we-remove-the-reaction-locking-in-discourse/261898)

<div class="topic-metadata">

**Author:** [@sevadev-ramchandra](https://meta.discourse.org/u/sevadev-ramchandra)\
**回覆:** 2\
**Last updated:** [2023年四月17日 04:44 UTC](https://meta.discourse.org/t/can-we-remove-the-reaction-locking-in-discourse/261898 "2023-04-17T04:44:02Z")

</div>

我想移除主题的反应锁定，以便用户可以随时做出反应/更改他们的反应（喜欢/不喜欢）？所以有什么可以调整的地方吗？

---

## [如何创建类似Nvidia社区的网格类别列表？](https://meta.discourse.org/t/how-to-create-grid-category-list-like-nvidia-community/261895)

<div class="topic-metadata">

**Author:** [@tog](https://meta.discourse.org/u/tog)\
**回覆:** 1\
**Last updated:** [2023年四月17日 03:20 UTC](https://meta.discourse.org/t/how-to-create-grid-category-list-like-nvidia-community/261895 "2023-04-17T03:20:10Z")

</div>

我正在使用 discourse 设置新的社区论坛。 如何在网格中显示类别列表，类似于 NVIDIA 的社区网站。(https://forums.developer.nvidia.com/)

---

## [找不到本地镜像'local\_discourse/app:latest'](https://meta.discourse.org/t/unable-to-find-image-local-discourse-app-latest-locally/261881)

<div class="topic-metadata">

**Author:** [@Aleksander](https://meta.discourse.org/u/Aleksander)\
**回覆:** 1\
**Last updated:** [2023年四月17日 03:25 UTC](https://meta.discourse.org/t/unable-to-find-image-local-discourse-app-latest-locally/261881 "2023-04-17T03:25:44Z")

</div>

你好，我正在尝试启动我的应用程序，它已经在运行了，但遇到了问题。请有人帮帮我 :cry: root@Ubuntu-1804-bionic-64-minimal /var/discourse # ./launcher start app x86\_64 arch detected. + /usr/bin/d…

---

## [如何从侧边栏删除某些部分](https://meta.discourse.org/t/how-to-delete-some-sections-from-the-sidebar/261887)

<div class="topic-metadata">

**Author:** [@danielabc](https://meta.discourse.org/u/danielabc)\
**回覆:** 5\
**Last updated:** [2023年四月17日 01:19 UTC](https://meta.discourse.org/t/how-to-delete-some-sections-from-the-sidebar/261887 "2023-04-17T01:19:38Z")

</div>

我通过 创建了侧边栏菜单的新部分，但旧的部分也显示出来了，这让我的会员感到困惑，我该如何删除旧的部分？

---

## [A way to block individual posts from appearing](https://meta.discourse.org/t/a-way-to-block-individual-posts-from-appearing/63775)

<div class="topic-metadata">

**Author:** [@DeViLzzz](https://meta.discourse.org/u/DeViLzzz)\
**回覆:** 8\
**Last updated:** [2023年四月17日 00:38 UTC](https://meta.discourse.org/t/a-way-to-block-individual-posts-from-appearing/63775 "2023-04-17T00:38:01Z")

</div>

I would like to see a way to block individual posts from appearing. It is a feature that is very welcome on Facebook and other places for others and me and I hope I will see it soon at other sites I go to that use Disco…

---

## [我怎么能这样离开我的家？](https://meta.discourse.org/t/how-can-i-leave-my-home-like-this/260908)

<div class="topic-metadata">

**Author:** [@danielabc](https://meta.discourse.org/u/danielabc)\
**回覆:** 2\
**Last updated:** [2023年四月16日 23:36 UTC](https://meta.discourse.org/t/how-can-i-leave-my-home-like-this/260908 "2023-04-16T23:36:13Z")

</div>

如何只保留 topic、responses 和 views 这几列，以及包含 avatar、creation time 和 name 的 activity last？

---

## [\[琐事\] 这是 Discourse 主题吗？](https://meta.discourse.org/t/trivial-thats-a-discourse-theme/261867)

<div class="topic-metadata">

**Author:** [@satonotdead](https://meta.discourse.org/u/satonotdead)\
**回覆:** 4\
**Last updated:** [2023年四月16日 21:31 UTC](https://meta.discourse.org/t/trivial-thats-a-discourse-theme/261867 "2023-04-16T21:31:36Z")

</div>

我不知道是竞争限制了Discourse上的几乎所有内容，还是有人更改了系统的外观，但它看起来非常好，我真的很想要同样的东西： 它只是Air的复刻版，不同的框架或者……

---

## [为注册按钮添加图标](https://meta.discourse.org/t/add-icon-to-register-button/261802)

<div class="topic-metadata">

**Author:** [@EchoBilisim](https://meta.discourse.org/u/EchoBilisim)\
**回覆:** 2\
**Last updated:** [2023年四月16日 19:10 UTC](https://meta.discourse.org/t/add-icon-to-register-button/261802 "2023-04-16T19:10:38Z")

</div>

您好，我正在使用 Discourse，登录按钮上有一个图标，但注册按钮上没有图标，我想给它添加一个图标，请问该怎么做？非常感谢！

---

## [谁将某个主题标记为已解决](https://meta.discourse.org/t/who-has-marked-a-particular-topic-as-solved/261876)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 0\
**Last updated:** [2023年四月16日 19:06 UTC](https://meta.discourse.org/t/who-has-marked-a-particular-topic-as-solved/261876 "2023-04-16T19:06:41Z")

</div>

查找谁将某个特定主题标记为已解决： -- \[参数\] -- topic\_id :topic\_id SELECT target\_topic\_id, acting\_user\_id, created\_at::date FROM user\_actions WHERE target\_topic\_id = :topic\_id AND ac…

---

## [仅允许管理员和版主将主题标记为已解决](https://meta.discourse.org/t/only-allow-admins-and-moderators-to-mark-topics-as-solved/98248)

<div class="topic-metadata">

**Author:** [@j\_assuncao](https://meta.discourse.org/u/j_assuncao)\
**回覆:** 1\
**Last updated:** [2023年四月16日 17:43 UTC](https://meta.discourse.org/t/only-allow-admins-and-moderators-to-mark-topics-as-solved/98248 "2023-04-16T17:43:49Z")

</div>

有没有办法只允许管理员和版主将主题标记为已解决？我不希望用户将自己的回答标记为解决方案。

---

## [将“已解决”设为更醒目的选项](https://meta.discourse.org/t/make-solved-a-more-prominent-option/194588)

<div class="topic-metadata">

**Author:** [@emilio](https://meta.discourse.org/u/emilio)\
**回覆:** 5\
**Last updated:** [2023年四月16日 17:38 UTC](https://meta.discourse.org/t/make-solved-a-more-prominent-option/194588 "2023-04-16T17:38:18Z")

</div>

想知道是否有办法让“已解决”成为一个更突出的选项，也许可以在选项折叠时显示它。我认为因为它是一个插件，所以它不是帖子菜单设置中的一个选项，因此被隐藏了……

---

## [使用 Discourse API 更改头像失败](https://meta.discourse.org/t/failing-to-change-avatar-using-discourse-api/261828)

<div class="topic-metadata">

**Author:** [@EGreg](https://meta.discourse.org/u/EGreg)\
**回覆:** 6\
**Last updated:** [2023年四月16日 16:55 UTC](https://meta.discourse.org/t/failing-to-change-avatar-using-discourse-api/261828 "2023-04-16T16:55:38Z")

</div>

我有一个具有“全局”访问权限的 API 密钥，适用于“所有用户”。 我这样做： $updateAvatarUrl = sprintf("%s/u/%s/preferences/avatar/pick.json", $this-\>apiHost, $username); $headers = array( "Api-Key: ".$this-\>apiKey, …

---

## [每个用户已解决的统计列表](https://meta.discourse.org/t/list-of-solved-stats-per-user/275391)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 0\
**Last updated:** [2023年四月16日 16:05 UTC](https://meta.discourse.org/t/list-of-solved-stats-per-user/275391 "2023-04-16T16:05:00Z")

</div>

要生成每位用户的统计信息列表，并带有一个时间间隔变量（默认为 1 年）： -- \[参数\] -- string :interval = 1 year SELECT ua.acting\_user\_id, COUNT(CASE t.user\_id WHEN ua.acting\_user\_id T…

---

## [列出每个已“解决”的事件](https://meta.discourse.org/t/list-each-individual-solved-event/275390)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 0\
**Last updated:** [2023年四月16日 15:10 UTC](https://meta.discourse.org/t/list-each-individual-solved-event/275390 "2023-04-16T15:10:00Z")

</div>

要列出每个已“解决”的事件，您可以使用类似以下的查询： SELECT acting\_user\_id, target\_topic\_id AS topic\_id, target\_post\_id, created\_at::date FROM user\_actions WHERE action\_type=15……

---

## [我不知道这是我的妄想还是它真的存在](https://meta.discourse.org/t/i-dont-know-if-this-is-my-delusion-or-if-it-really-existed/261858)

<div class="topic-metadata">

**Author:** [@danielabc](https://meta.discourse.org/u/danielabc)\
**回覆:** 5\
**Last updated:** [2023年四月16日 14:05 UTC](https://meta.discourse.org/t/i-dont-know-if-this-is-my-delusion-or-if-it-really-existed/261858 "2023-04-16T14:05:53Z")

</div>

我看到了一种（也许没有）将所有表情符号的选择器放在反应所在位置的方法，这样我就不需要使用预先选择的表情符号，而是会出现一个框，里面有所有供人们用于反应的表情符号，但我可以……

---

## [是否有办法检测暗模式的使用情况？](https://meta.discourse.org/t/is-there-a-way-to-detect-dark-mode-usage/261821)

<div class="topic-metadata">

**Author:** [@ti0](https://meta.discourse.org/u/ti0)\
**回覆:** 3\
**Last updated:** [2023年四月16日 12:24 UTC](https://meta.discourse.org/t/is-there-a-way-to-detect-dark-mode-usage/261821 "2023-04-16T12:24:29Z")

</div>

是否有办法在插件/主题组件中检测当前主题是否正在使用暗模式？ 或者，是否有办法获取活动主题 ID？ 或者我们应该为浅色主题和深色主题创建不同的主题组件……

---

## [投票主题](https://meta.discourse.org/t/topics-voted-on/275399)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 0\
**Last updated:** [2023年四月16日 10:30 UTC](https://meta.discourse.org/t/topics-voted-on/275399 "2023-04-16T10:30:00Z")

</div>

投票主题 返回给定用户的当前和已归档投票的主题和创建日期 -- \[params\] -- user\_id :user SELECT tvv.topic\_id, tvv.created\_at::date AS "投票日期", CASE WHEN tvv.archive = TRUE THEN '已归档' ELSE '当前' END AS "当前?" FROM topic\_voting\_votes tvv WH…

---

## [投票统计摘要（每个用户）——所选用户](https://meta.discourse.org/t/vote-count-summary-per-user-selected-user-s/275397)

<div class="topic-metadata">

**Author:** [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**回覆:** 0\
**Last updated:** [2023年四月16日 08:30 UTC](https://meta.discourse.org/t/vote-count-summary-per-user-selected-user-s/275397 "2023-04-16T08:30:00Z")

</div>

投票计数摘要（按用户）- 选定的用户 -- \[params\] -- user\_list :users SELECT tvv.user\_id, SUM(CASE when tvv.archive = FALSE THEN 1 ELSE 0 END) AS "当前投票", SUM(CASE when tvv.archive = TRUE THEN 1 ELSE 0 END) AS "已存档投票", …

[上一頁](https://meta.discourse.org/latest.md?f=tracked%EF%BC%8C%E4%BB%85%E6%9F%A5%E7%9C%8B%E6%82%A8%E5%85%B3%E6%B3%A8%E7%9A%84%E5%88%86%E7%B1%BB%E5%92%8C%E6%A0%87%E7%AD%BE%E4%B8%8B%E7%9A%84%E6%9C%80%E6%96%B0%E4%B8%BB%E9%A2%98%E3%80%82&page=673)

[下一頁](https://meta.discourse.org/latest.md?f=tracked%EF%BC%8C%E4%BB%85%E6%9F%A5%E7%9C%8B%E6%82%A8%E5%85%B3%E6%B3%A8%E7%9A%84%E5%88%86%E7%B1%BB%E5%92%8C%E6%A0%87%E7%AD%BE%E4%B8%8B%E7%9A%84%E6%9C%80%E6%96%B0%E4%B8%BB%E9%A2%98%E3%80%82&page=675)
