# Hoe bepaalde soorten gebruikersregistraties te blokkeren

**URL:** https://meta.discourse.org/t/how-to-block-certain-types-of-user-registrations/348130
**Category:** Support
**Created:** [21 januari 2025 om 06:51 UTC](https://meta.discourse.org/t/how-to-block-certain-types-of-user-registrations/348130 "2025-01-21T06:51:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rext](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rext](https://meta.discourse.org/u/rext)
#### Post date: [21 januari 2025 om 06:51 UTC](https://meta.discourse.org/t/how-to-block-certain-types-of-user-registrations/348130/1 "2025-01-21T06:51:41Z")

</div>

Hello,

I’m moderating a community running on Discourse, and I’m kind of new to the platform, so forgive me if there’s already a topic about this.

Is it possible to block _certain_ types of users on my forum?

We’re being inundated by Indian bots that keep trying to register. So far, the built-in filter blocks their registration, but some inevitably fall through the cracks, and then proceed to create multiple topics with nonsensical gibberish, “hotline numbers,” or even entire posts in Hindi, in another alphabet.

What are my options regarding this? Do I create a filter to block certain words (but they don’t always use the same words) or the Hindi alphabet? How do I do it so I automatically block these spam bots? I don’t want to block the entire country of India if I could help it though, as there’s some legit traffic from them.

Thanks!

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [21 januari 2025 om 10:40 UTC](https://meta.discourse.org/t/how-to-block-certain-types-of-user-registrations/348130/2 "2025-01-21T10:40:22Z")

</div>

I would just use the AI spam detector (in the AI plugin). You can ask it to be more aggressive towards non-English posts, and posts containing hotline numbers, etc.

> [@Discourse AI - Spam detection](https://meta.discourse.org/t/discourse-ai-spam-detection/343541/1):
>
> bookmark This guide explains how to configure and use Discourse AI’s spam detection feature, including the setup process, scanning criteria, classification logic, customizations, and contrasts with AI triage. person_raising_hand Required user level: Administrator megaphone This is now default turned on for [Starter and Pro customers](https://meta.discourse.org/t/discourse-ai-spam-detection-replaces-akismet-plugin/354602), as well as our legacy Basic, Open Source, Creator, and Business customers. Discourse AI provides an efficient spam detection feature that identifies and…

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [21 januari 2025 om 12:21 UTC](https://meta.discourse.org/t/how-to-block-certain-types-of-user-registrations/348130/3 "2025-01-21T12:21:27Z")

</div>

> [@NateDhaliwal](#):
>
> I would just use the AI spam detector

I have not tried this, but I feel it might be a bit of a hassle to install, configure, subscribe to a paid external service, manage the account to suggest to “just use” this plugin 🤔

I’d try to tweak Discourse spam settings and thresholds first : [https://meta.discourse.org/t/tips-for-preventing-spam/264020#p-1285092-spam-related-site-settings-5](https://meta.discourse.org/t/tips-for-preventing-spam/264020#p-1285092-spam-related-site-settings-5)

Then, also install the Akismet plugin. You can obtain a free key very easily by just registering an account: [https://meta.discourse.org/t/tips-for-preventing-spam/264020#p-1285092-akismet-anti-spam-plugin-3](https://meta.discourse.org/t/tips-for-preventing-spam/264020#p-1285092-akismet-anti-spam-plugin-3)

My forum has a lot of spam (most from India as well), but the vast majority is caught either by Akismet, or by the `Min first post typing time setting`.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [21 januari 2025 om 12:49 UTC](https://meta.discourse.org/t/how-to-block-certain-types-of-user-registrations/348130/4 "2025-01-21T12:49:02Z")

</div>

> [@Canapin](#):
>
> paid external service

OpenRouter is free, and Gemini keys are free to a certain limit, IIRC.
