Username blocking

Ticket for: User Verification
0
Username blocking 1
Kapseln Schuftet
Jul 22, 2022 06:25 PM 1 Answers
Member Since Jul 2022
Subscribed Subscribe Not subscribe
Flag(0)

Hi there,

I don't understand the User Name block feature.

You can following string match

  • ^username : String start with username
  • username$ : String end by username
  • username : String contain username

Could you make examples for me please, so I'll better understand?

 

Best regards

2 Subscribers
Username blocking 1
Username blocking 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Username blocking 4
Azizul Raju
Jul 23, 2022
Flag(0)

Hi Kapseln,
Thanks for your post.

Suppose you have a site and the admin name of the site is Kapseln. When visitors want to register on your site, they must choose a username. They might choose some usernames like kapselnadmin, adminkapseln or cheaterkapseln (sorry! It's for just demonstration purposes 😛 ). As an admin, you might not love this, and you want to prevent them from choosing these types of usernames and instead throw them an error message. Let me describe how our Spam Protection option setting can handle it.

^kapseln => if you use this, any of the names that start with kapseln will not be registered.
will not be registered: kapselnadmin, kapselnrealadmin, kapselncheater
will register: adminkapseln, realadminkapseln, cheaterkapseln

kapseln$ => if you use this, any of the names that end with kapseln will not be registered.
will not be registered: adminkapseln, realadminkapseln, cheaterkapseln
will register: kapselnadmin, kapselnrealadmin, kapselncheater

kapseln => if you don't use those special characters and just put plain text like this, then the name that includes the word kapseln will not be registered.
will not be registered: adminkapseln, realadminkapseln, cheaterkapseln, kapselnadmin, kapselnrealadmin, kapselncheater
Will register: any names that don't contain the word kapseln.

Note: To use this feature, don't forget to change the option setting Enable username block to Yes.
screenshot: https://i.imgur.com/y794DjP.png

Let us know if it helps!

Sign in to Reply
Replying as Submit