# 按时区屏蔽/静音用户？

**URL:** https://meta.discourse.org/t/silence-block-user-by-time-zone/333278
**Category:** Support
**Tags:** moderation
**Created:** [2024年十月28日 23:09 UTC](https://meta.discourse.org/t/silence-block-user-by-time-zone/333278 "2024-10-28T23:09:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![BrightMoon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brightmoon/32/459753_2.png) [@BrightMoon](https://meta.discourse.org/u/BrightMoon)
#### Post date: [2024年十月28日 23:09 UTC](https://meta.discourse.org/t/silence-block-user-by-time-zone/333278/1 "2024-10-28T23:09:33Z")

</div>

我是一个自托管 Discourse 社区的志愿版主。我不是管理员。

最近，我一直在努力应对垃圾邮件账户的创建及其垃圾邮件帖子。我已要求管理员查看 Akismet 插件。

我的问题是；是否有任何插件可以根据时区围绕用户注册过程构建工作流程？我认为我们的管理员不想被迫批准所有新用户，但如果有一种方法可以实现以下逻辑：

如果新用户时区是“Africa/Juba”，则需要批准，否则自动批准新用户

如果目前不可用，API 是否允许构建此类插件？

我知道有地理定位插件，但我需要阻止的活动的 IP 地址不像记录到他们个人资料中的时区那样一致。

---

<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: [2024年十月29日 11:30 UTC](https://meta.discourse.org/t/silence-block-user-by-time-zone/333278/2 "2024-10-29T11:30:14Z")

</div>

嘿 BrightMoon 👋

> [@BrightMoon](#):
>
> 有没有什么插件可以围绕用户时区来构建一个工作流程？

据我所知没有。

阻止或限制某个时区或 IP 的缺点是，它会阻止该地区合法用户注册。Akismet 插件是一个不错的起点。您是否查看了下面的主题，其中有一些您可以转交给管理员的其他想法？例如，您可以自己添加一些像“监视的词语”这样的功能。

> [@Tips for Preventing Spam](https://meta.discourse.org/t/tips-for-preventing-spam/264020):
>
> bookmark This documentation provides a comprehensive guide on preventing spam in Discourse forums, and includes information about various settings and tools designed to help maintain a spam-free community environment. person_raising_hand Required user level: Administrator On most forums spam is rare. However, if you’re having problems with spam on your site, Discourse comes with numerous tools to help you automatically prevent spam. The following guide offers some recommendations on how…

---

<div class="post-metadata">

### Author: ![BrightMoon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/brightmoon/32/459753_2.png) [@BrightMoon](https://meta.discourse.org/u/BrightMoon)
#### Post date: [2024年十月30日 13:11 UTC](https://meta.discourse.org/t/silence-block-user-by-time-zone/333278/3 "2024-10-30T13:11:15Z")

</div>

谢谢，我看到了那个链接。我也向管理员提到了监视单词，但垃圾信息发送者正在以垃圾信息发送者使用的所有方式变得越来越有创意，例如使用带重音的元音、Unicode 黑色/圆圈数字等。

该社区与公司相关，没有人应该在我想阻止的时区（不是我上面列出的示例时区）注册，我的目标主要是标记它们以供手动审核，而不是 100% 绝对不问任何问题地阻止它们进入 /dev/null。

我意识到 IP 地址可以被伪造和 VPN，所以我没有建议这样做。我通过查看垃圾信息帐户确实知道的一件事是，至少目前他们没有想到要混淆他们的时区，而且他们所在的位置与该网站合法用户的足迹不重叠。
