# 避免已设置用户接收通知

**URL:** https://meta.discourse.org/t/avoid-staged-users-to-receive-notifications/241815
**Category:** Support
**Created:** [2022年十月13日 12:14 UTC](https://meta.discourse.org/t/avoid-staged-users-to-receive-notifications/241815 "2022-10-13T12:14:20Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Globulle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/globulle/32/98005_2.png) [@Globulle](https://meta.discourse.org/u/Globulle)
#### Post date: [2022年十月13日 12:14 UTC](https://meta.discourse.org/t/avoid-staged-users-to-receive-notifications/241815/1 "2022-10-13T12:14:20Z")

</div>

您好，

在我的私有 Discourse 中，外部电子邮件创建的主题的发件人是暂存用户。我想避免在这些类型的主题上回复时向这些暂存用户发送通知。通常，我们的社区会讨论回复的最佳方式，让原始发件人阅读这些对话可能会非常烦人。

我们能否默认禁止向暂存用户发送电子邮件通知？谢谢。

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [2022年十月13日 15:50 UTC](https://meta.discourse.org/t/avoid-staged-users-to-receive-notifications/241815/2 "2022-10-13T15:50:45Z")

</div>

你好 @Globulle。 👋

> [@Globulle](#):
>
> 我们能否默认禁止对暂存用户发送电子邮件通知？谢谢。

暂存用户的一个主要用例是，他们能够通过电子邮件发送信息并接收回复，而无需创建帐户。

> [@Globulle](#):
>
> 通常，我们的社区会讨论回复的最佳方式，让原始发件人阅读这些对话会非常烦人。

查看“耳语”功能，它允许您网站上的一个群组使用“内部”消息，这些消息不会显示/发送给群组外的用户。

暂存用户 + 耳语功能是运行票务/支持系统的可靠解决方案，任何人都可以通过电子邮件发送信息，让您的社区成员进行讨论，然后在您准备好向暂存用户发送消息时，使用“常规”消息进行回复。 👍

---

<div class="post-metadata">

### Author: ![Globulle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/globulle/32/98005_2.png) [@Globulle](https://meta.discourse.org/u/Globulle)
#### Post date: [2022年十月13日 18:24 UTC](https://meta.discourse.org/t/avoid-staged-users-to-receive-notifications/241815/3 "2022-10-13T18:24:51Z")

</div>

感谢您的回复。我关心的是默认启用“无通知模式”。

“耳语”是可以的，但我需要默认在相关类别中启用此模式，因为我不能指望所有用户随时使用耳语模式。

我想到的另一种方法是取消勾选远程用户的通知偏好设置。但是，如何默认实现这一点？

---

<div class="post-metadata">

### Author: ![maiki](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maiki/32/233950_2.png) [@maiki](https://meta.discourse.org/u/maiki)
#### Post date: [2022年十月13日 20:47 UTC](https://meta.discourse.org/t/avoid-staged-users-to-receive-notifications/241815/4 "2022-10-13T20:47:33Z")

</div>

我还没有设置它，但我认为您可以创建一个允许来自暂存用户的电子邮件进入的类别，但权限配置为他们无法读取，因此不会收到回复通知。

但是，它不支持此用例：

> [@Globulle](#):
>
> 通常，我们的社区会在此主题上讨论最佳回复方式

“悄悄话”允许您进行对话，同时也允许参与者之间进行回复。您能否详细说明这些消息的上下文？您打算从 Discourse 回复它们吗？

---

<div class="post-metadata">

### Author: ![Globulle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/globulle/32/98005_2.png) [@Globulle](https://meta.discourse.org/u/Globulle)
#### Post date: [2022年十月13日 21:03 UTC](https://meta.discourse.org/t/avoid-staged-users-to-receive-notifications/241815/5 "2022-10-13T21:03:28Z")

</div>

Here is a typical use case :

- our Discourse is private
- diverse partners are sending emails to our generic address like [contact@example.com](mailto:contact@example.com) which redirects to the forum. For example: “hey, we inform you that our group organize a wonderful event. The members of your community are welcome!”  
_(Practically, the email arrive first in a private category, then moderators changes it to a public one when it is relevant.)_
- then the message is visible to our logged members, and we have internal discussion such as : “I am interested, who want to go with me? I have 3 seats in my car.”

When a reply has to be sent to the partner, we use our official email address to not confuse them. No need to send a reply from Discourse.

这里是一个典型的用例：

- 我们的 Discourse 是私有的
- 不同的合作伙伴会发送电子邮件到我们的通用地址，例如 [contact@example.com](mailto:contact@example.com)，该地址会重定向到论坛。例如：“嘿，我们通知您，我们的团体正在组织一个精彩的活动。欢迎您的社区成员！”
- （实际上，电子邮件首先到达一个私有类别，然后版主在相关时将其更改为公共类别。）
- 然后该消息对我们的登录会员可见，并且我们会有内部讨论，例如：“我有兴趣，谁想和我一起去？我的车有 3 个座位。”

当需要回复合作伙伴时，我们使用我们的官方电子邮件地址，以免混淆他们。无需从 Discourse 发送回复。

---

<div class="post-metadata">

### Author: ![Simon\_Manning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_manning/32/198596_2.png) [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)
#### Post date: [2022年十月13日 21:30 UTC](https://meta.discourse.org/t/avoid-staged-users-to-receive-notifications/241815/6 "2022-10-13T21:30:38Z")

</div>

我的印象是，您可能不关心分阶段用户与主题之间的关系。我想到的一个可能性是，您可以允许版主更改帖子的所有者（`moderators_change_post_ownership` 设置），如果这适合您的论坛，那么过程的一部分将是版主在移动主题之前更改所有权。

不过，这可能需要进行测试，我不能确定分阶段用户的通知是如何处理的，所以这可能实际上并不能阻止分阶段用户收到该主题的电子邮件。

另一种选择可能是编写（或委托编写）一个简单的插件来响应该私有类别中的新主题，检查作者是否是分阶段用户，如果是，则执行_某项操作_。这可能仍然是更改所有者，但不需要版主拥有该权限，并确保不会被遗忘，或者也许可以取消分阶段用户对该主题的关注。

**编辑** ：重新阅读后，我意识到您最终确实需要分阶段用户的电子邮件地址，因此更改所有者可能无济于事。我还注意到有一个 `allow_changing_staged_user_tracking` 设置，这表明分阶段用户跟踪/关注主题是通知的处理方式。

---

<div class="post-metadata">

### Author: ![Globulle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/globulle/32/98005_2.png) [@Globulle](https://meta.discourse.org/u/Globulle)
#### Post date: [2022年十月14日 11:48 UTC](https://meta.discourse.org/t/avoid-staged-users-to-receive-notifications/241815/7 "2022-10-14T11:48:21Z")

</div>

> [@Simon\_Manning](#):
>
> 你最终会想要暂存用户的电子邮件地址

确实如此。而且我们需要知道谁是消息的发送者。一些合作伙伴会定期给我们发邮件，所以他们确实是暂存用户是有意义的。

> [@Simon\_Manning](#):
>
> 有 `allow_changing_staged_user_tracking` 这个设置

我也注意到了这个设置，但不清楚它的作用是什么。

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2022年十月14日 12:05 UTC](https://meta.discourse.org/t/avoid-staged-users-to-receive-notifications/241815/8 "2022-10-14T12:05:30Z")

</div>

> [@maiki](#):
>
> 我还没有设置它，但我认为你可以创建一个允许邮件从暂存用户进入的类别，但权限配置为他们无法读取，因此不会收到回复通知。

这不就是所有暂存用户主题的工作方式吗？我们有很多客户依赖上述配置来处理支持场景，但用户会收到回复。

---

<div class="post-metadata">

### Author: ![Simon\_Manning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon_manning/32/198596_2.png) [@Simon\_Manning](https://meta.discourse.org/u/Simon_Manning)
#### Post date: [2022年十月14日 13:36 UTC](https://meta.discourse.org/t/avoid-staged-users-to-receive-notifications/241815/9 "2022-10-14T13:36:59Z")

</div>

> [@Globulle](#):
>
> 我也注意到了这个设置，但不清楚它的作用。

我认为这会导致在已分阶段用户的个人资料上显示与任何其他用户个人资料上可见的相同的通知偏好设置。因此，您可以例如进入并设置一个已分阶段用户来关注某个类别。

一个明显的用例是，将已分阶段用户设置为关注某个类别中的第一篇帖子，并在该类别中发布公告，这将提供类似新闻通讯的体验。

遗憾的是，用户偏好设置中并未列出关注的主题，因此您无法将此设置用于您的目的。
