# 管理员/版主自定义帖子元数据

**URL:** https://meta.discourse.org/t/admin-mods-custom-post-metadata/369316
**Category:** Support
**Created:** [2025年六月8日 17:54 UTC](https://meta.discourse.org/t/admin-mods-custom-post-metadata/369316 "2025-06-08T17:54:22Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![HandSpy\_v3](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/handspy_v3/32/489737_2.png) [@HandSpy\_v3](https://meta.discourse.org/u/HandSpy_v3)
#### Post date: [2025年六月8日 17:54 UTC](https://meta.discourse.org/t/admin-mods-custom-post-metadata/369316/1 "2025-06-08T17:54:22Z")

</div>

大家好，

我需要一种方法让我的管理员/版主能够向帖子和主题添加私有元数据。例如，一个自定义字段 `note`，版主向帖子添加一个注释“此帖子可能具有争议性”

- 管理员可以查看/编辑注释
- 用户无法查看

有没有这样的插件？或者一个简单的我可以扩展的插件？

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [2025年六月8日 18:00 UTC](https://meta.discourse.org/t/admin-mods-custom-post-metadata/369316/2 "2025-06-08T18:00:41Z")

</div>

我认为这会有所帮助：

> **私语：用法和最佳实践
AI**
>
> **satonotdead:**
> 
> 介绍私语及其在 Discourse 基本工作流中的最佳应用
> 
> **DiscourseHelper:**
> 
> ### 什么是 Discourse 中的私语？
> 
> **私语** 是主题或私信中可见的特殊帖子，只有工作人员和您授予私语权限的任何组才能看到。普通用户看不到这些帖子。工作人员和版主通常使用私语直接在公开主题或私信中进行私密的幕后讨论。
> 
> * * *
> 
> ### 如何启用和使用私语
> 
> **1. 启用私语：**
> 
> - 转到您的站点设置。
> - 搜索设置：`whispers allowed groups`。
> - 添加您希望允许私语的组（例如，工作人员、版主）。
> 
> **2. 创建私语：**
> 
> - 在撰写帖子或回复时，单击帖子撰写器中的齿轮图标或回复切换菜单。
> - 选择“切换私语”。
> - 您会看到诸如斜眼图标和“私语”按钮之类的指示器。
> 
> **注意：** 发布后，私语不能转换为普通帖子（反之亦然）（除非您安装了额外的社区组件）。如果需要将私语更改为普通帖子，则必须将其删除并重新发布。
> 
> * * *
> 
> ### 基本工作流中的最佳应用
> 
> **最佳用例：**
> 
> - **版主讨论：** 使用私语讨论版主操作、澄清规则或协调对敏感主题的回复，而不会中断公开流程。
> - **内部注释：** 添加关于特定用户、主题或操作的私有上下文，供其他工作人员稍后查看。
> - **协调支持：** 在支持主题中，工作人员可以使用私语共享故障排除步骤、私下升级问题或记录做出决定的原因。
> - **培训：** 新版主可以通过私语观察他人的决定，获得上下文而无需向普通用户公开详细信息。
> 
> **权限：**
> 
> - 只有允许的组（在 `whispers allowed groups` 中设置）才能创建或查看私语。默认情况下，这通常只是工作人员，但您可以根据需要添加其他组。
> 
> * * *
> 
> ### 提示
> 
> - 对私语的回复默认也是私语，在工作人员讨论中保持隐私。
> - 私语 **不会** 显示给普通用户，除了工作人员和允许的组之外，它们是不可见的。
> - 使用私语来处理需要在您的工作人员组内保密的信息。
> 
> * * *
> 
> #### 参考资料
> 
> - [创建私语帖子](https://meta.discourse.org/t/creating-a-whisper-post/44247)
> - [在包含非工作人员的组中进行私语](https://meta.discourse.org/t/whispering-in-groups-containing-non-staff/81604)
> 
> 如果您有更具体的工作流场景，请随时提问！

---

<div class="post-metadata">

### Author: ![HandSpy\_v3](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/handspy_v3/32/489737_2.png) [@HandSpy\_v3](https://meta.discourse.org/u/HandSpy_v3)
#### Post date: [2025年六月8日 18:07 UTC](https://meta.discourse.org/t/admin-mods-custom-post-metadata/369316/3 "2025-06-08T18:07:42Z")

</div>

谢谢，但我想要的元数据需要与用户帖子相关联，所以我不认为这行得通。

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [2025年六月8日 18:16 UTC](https://meta.discourse.org/t/admin-mods-custom-post-metadata/369316/4 "2025-06-08T18:16:52Z")

</div>

> [@HandSpy\_v3](#):
>
> - 管理员可以查看/编辑笔记
> - 用户看不到

> [@Discourse User Notes](https://meta.discourse.org/t/discourse-user-notes/41026):
>
> discourse2Summary Share private notes with other staff about a user that normal users cannot see.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Configuration The User Notes plugin can be enabled either by the toggle or from its settings, both accessible from your /admin/plugins page: Features Sometimes staff members want to share notes about…

工作人员（又名版主和管理员）可以看到/创建笔记，但用户看不到。您也可以阻止版主删除笔记。

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2025年六月8日 18:18 UTC](https://meta.discourse.org/t/admin-mods-custom-post-metadata/369316/5 "2025-06-08T18:18:01Z")

</div>

正如 @ondrej 在我写这篇文章时所说，有 [Discourse 用户笔记](https://meta.discourse.org/t/discourse-user-notes/41026)，但这会将笔记附加到用户，而不是帖子。

如果你想将员工笔记添加到帖子中，我认为你需要另一个插件。

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [2025年六月8日 18:20 UTC](https://meta.discourse.org/t/admin-mods-custom-post-metadata/369316/6 "2025-06-08T18:20:57Z")

</div>

> [@pfaffman](#):
>
> 它将笔记附加到用户，而不是帖子

我曾考虑将笔记添加到帖子而不是用户，因为当你将笔记添加到帖子时，它会显示添加了笔记的帖子。但话说回来，你确实是正确的……这是一个_用户_笔记插件。

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/2/0/320be444ca1ea23e20b4017ca3eb85d7aa184b0a.png)

如果用户笔记插件对你有用，那太好了！如果不行，就听Jay的，别听我的 😆

---

<div class="post-metadata">

### Author: ![HandSpy\_v3](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/handspy_v3/32/489737_2.png) [@HandSpy\_v3](https://meta.discourse.org/u/HandSpy_v3)
#### Post date: [2025年六月8日 18:39 UTC](https://meta.discourse.org/t/admin-mods-custom-post-metadata/369316/7 "2025-06-08T18:39:01Z")

</div>

谢谢大家，我想我会根据自己的需求修改这个插件，因为我找不到任何符合我需求的插件 🙂

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [2025年六月8日 18:48 UTC](https://meta.discourse.org/t/admin-mods-custom-post-metadata/369316/8 "2025-06-08T18:48:16Z")

</div>

> [@HandSpy\_v3](#):
>
> 谢谢，但我需要的元数据需要与用户帖子关联，所以我觉得那行不通。

我理解。对我来说，那只是一个变通方法，之后我就继续使用了。

工作流程完全不同，所以也许你希望将其发布到 #Contribute > Feature 或前往 #Marketplace 进行开发。
