Restrict Usernames Emails Characters

Description

This plugin allows you to Restrict a particular or certain username, email addresses or symbols,
or email from specific domain names in the form registration when registering for your site
and you can allow to use a certain language (arabic cyrillic latin …)
or all languages and characters and symbols, you can also control and modify all errors messages
and allow certain characters (Symbols and characters accented as é û),
and allowing you to change the author slug (defaults to the username of the author),
and you can control and adjust all settings from the plugin settings page in admin Panel.

and here is all plugin settings in admin Panel:

  • enable/disable the plugin
  • disallow to use the spaces in username
  • disallow to use only numbers in username
  • disallow all characters (Symbols) in username
  • disallow characters (Symbols) permitted by wordpress in username: @ – . _
  • allow certain characters (Symbols and characters accented as é û)
  • restrict certain email addresses
  • restrict certain username
  • restrict certain domain names for example: yournamesite@com
  • No/yes uppercase in username
  • Compatible with single site, network (multi-site), buddypress and buddyboss.
  • The possibility to:
  • choose language (characters) in username (arabic cyrillic latin …) or all languages
  • remove all settings and data of the plugin from database when the plugin is disabled
  • reset default settings
  • control and modify all errors messages
  • restrict any name contains a part of word (partial matching)
  • prevent the use of email in the username
  • prevent the use of numbers more than letters and symbols in the user name.
  • allowing you to change the author slug
  • Author Slug Structure
  • Update of the author’s slug for all users
  • Limit the number of users to update (in batches) with every click, if your database is big
  • Update or convert only names (author slug) not latin
  • remove name field in buddypress.
  • hide or change message (Must be at least 4 characters, letters and numbers only.) of multisite.
  • add an notice or text in registration form.
  • etc…

TRANSLATED IN FOLLOWING LANGUAGES:

  • Arabic
  • English

Direct support page:

https://benaceur-php.com/?p=2268

Screenshots

  • Options page admin panel-1
  • Options page admin panel-2
  • Options page admin panel-3
  • Options page admin panel-4
  • Options page admin panel-5
  • Options page admin panel-6
  • Options page admin panel-7
  • Options page admin panel-8
  • Options page admin panel-9
  • Options page admin panel-10

Installation

  1. Upload Restrict Usernames Emails Characters to the “/wp-content/plugins/”
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Activate the plugin again in the control panel (the plugin page)
  4. Control your settings from the plugin settings page in admin Panel.

Reviews

March 16, 2024
I wanted to use the plugin to block temporary email domains. But now I found out that activation links for new customers would not work anymore for anyone. Once I deactivated the plugin it was fine again. No Support contact, contributor has only an arab homepage so I cannot contact him.
November 14, 2023
I am wary of hackers, so I have been trying to keep out spam accounts. I even have a captcha to sign up to comment, but the bots still get through, like 200 a day. I have been daily bulk deleting all those, “telegram,” “blogspot,” and “.ru” accounts. This plug-in relived me of the burden of having to do that so much. I think this might be one of my ‘essential’ plug-ins for any website build for new website clients from now on.
July 26, 2023
I was looking for a “Not allow these names” and this plugin did that for me. Now I can block mail.ru, blogspot, www., etc when trying to register. The admin area could use some love… I think if the addon better replicated the default wordpress admin style things would be better. remove hamburger in top right corner fix spelling “Extentions” to “Extensions” fix padding / margin spacing between UI elements sidebar admin menu name is huge “Restrict Usernames Emails Characters …” should be “Restrict Usernames” or something really short I liked and appreciated how the “leave review” banner was at the bottom of the page and not in my face at the top. That’s why I left this review… Great job! Thanks!

bug

March 14, 2023
wordpress的注册地方有两个,一个是官方提供的默认注册位置,你的插件只能对默认注册用户过滤,但是现在大多数都用的Elementor 提交的注册表单,我希望你能添加对Elementor提交病保存的 用户过滤的支持, There are two registration places for wordpress. One is the official default registration location. Your plug-in can only filter the default registered users. But now most of the registration forms submitted by Elementor are used. I hope you can add support for filtering the users submitted by Elementor,
Read all 23 reviews

Contributors & Developers

“Restrict Usernames Emails Characters” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

4.1

  • New: add compatibility with buddyboss platform.
  • New: add first name and last name in “Author Slug Structure” option.
  • Fix: when “Prevent the use of all Symbols and letters accented in the username” option is enabled.
  • Fix: “Choose language (characters) in username -> Enter another language below” option, If we enter an invalid language.
  • Requires PHP version: minimum 5.3.19
  • New option: Remove the submit button (top): Ability to remove the send button at the top.
  • Tested up to wordpress 6.6

4.0.2

  • Fixed: “Prevent the use of all Symbols and letters accented in the username” option.

4.0.1

  • Important fixes.

4.0

  • Fixed: “Allow this characters” option and block of < > symbols.
  • Changing the way to save the user_nicename in the database when registering or updating the database.
  • You can now divide the total database update by the number of users to reduce the load on the server if your database is very big.
  • Fixed: user nicename issue with non-Latin languages like Arabic when registering a new user or updating a user.
  • Remove restrict username email character mu-plugins.
  • New filters: “user_nicename_updb_filter_benrueeg_rue” and “user_nicename_register_filter_benrueeg_rue”.
  • New option: “Limit the number of users to update (in batches) with every click”, “Update (convert) only user_nicename not latin”.
  • New option: “Author Slug Structure”.
  • New option: “Update (convert) only names (author slug) not latin”.
  • New notes.
  • Reinstatement of the option: “Error: multi whitespace and at the beginning or the end of the username”.
  • Tested up to wordpress 6.5
  • Other important adjustments.

3.1.4

  • Fixing a security issue (relatively low-risk).
  • Tested up to wordpress 6.4
  • Fix: Replace (Must be at least 4 characters …) translation option in multisite.

3.1.3

  • Tested up to wordpress 6.3

3.1.2

  • Tested up to wordpress 6.2

3.1.1

  • Fix: Some modifications needed for compatibility with php 8.1+ (for the moment wordpress is not 100% compatible with 8.1+).

3.1

  • Tested up to wordpress 6.1.
  • Fixed: user nicename non Latin when a user’s profile is updated with wordpress 6.1

3.0

  • Fixed: user nicename issue with non-Latin languages like Arabic when wordpress is updated or database is upgraded.
  • Fixed: user nicename issue with non-Latin languages like Arabic when registering a new user or updating a user.
  • Fixed: “Choose language (characters) in username” option.
  • Add new option: “Choose the user_nicename”.
  • Some other important adjustments.

2.9.7

  • Fixed: preg_match_all.

2.9.6

  • Add new option: “Make lowercase equal uppercase”.
  • Tested up to wordpress 5.8
  • Some adjustments.

2.9.5

  • trim the blank space in username.

2.9.4

  • Tested up to wordpress 5.7

2.9.3

  • Change of sanitize user filter priority.

2.9.2

  • Tested up to wordpress 5.6

2.9.1

  • Tested up to wordpress 5.5.
  • Some adjustments in page plugin options in admin panel.

2.9

  • Adding an option to change the name of username if the field ‘name’ of user_name in the registration form is changed.
  • Adding an option to change the name of email if the field ‘name’ of user_email in the registration form is changed.
  • Adding the options page of plugin to only network page if the multi site is installed.
  • Remove option ‘Allow spaces in usernames’ if baddypress or multisite is enabled.

2.8.2

  • Add array_filter and array_unique to array.

2.8.1

  • Fixed a problem with “array_filter” in options: “Not allow these names” and “Restriction by part (contain,doesn’t contain,starts with,ends with)”.
  • Fixed an error in the import process of the settings file.
  • Fixed an java error in options administration page.

2.8

  • Tested with the latest wordpress update (5.4).
  • Fixed an error when entering a language that does not exist, in “Choose language -> Enter another langage below”.
  • Replacing “ERROR” with “Error” in wordpress (5.4).
  • Adding “text direction” option in textarea in options administration page.
  • New option in “Restriction by part (contain,doesn’t contain,starts with,ends with)”.
  • New option: “Restrict everything except the following (after @)” and “Restrict everything except the following (after .)” in “Not allow these emails domain”.
  • New option “Solved the problem of not being able to register with certain languages”.
  • Adding an class (css) in “Add text (notice) to the registration form” option by this filter: “benrueeg_filter_class_txt_register_form”.
  • Fixed an error in “Import Settings” option.
  • new note in “Important to read”.
  • Tested with the latest php version (5.1.5 to 7.4.x).
  • Some other important adjustments.

2.7.3

  • Tested with the latest wordpress update (5.3).

2.7.2

  • Tested with the latest wordpress update (5.2).
  • Some corrections.

2.7.1

  • Direct support page.

2.7

  • Fixed an issue if space is allowed in username in baddypress and multisite.
  • Fixed an issue in other errors message in baddypress and multisite.
  • Remove (Allow multi whitespace and space at the beginning or the end of the username) option.
  • Added the possibility to remove name field and the possibility to hide the full profile section in baddypress.
  • Remove this filter: “benrueeg_rue_filter_trans_err_must”.
  • Added new filters (old_options_tw_mupb_filter_BENrueeg_RUE,old_options_tw_word_filter_BENrueeg_RUE).
  • Some other necessary adjustments and corrections.

2.6

  • Fixed some errors that are generated in log of errors.
  • Some other important adjustments.

2.5

  • Fixed an issue in language (Choose language (characters) in username).

2.4.3

  • An important adjustment.

2.4.2

  • Fixed an issue in errors message if username (user login) exist and it’s numeric and beginning is +, example: +258694.
  • New filter (wp_signup_mu_filter_BENrueeg_RUE).

2.4.1

  • Fixed an issue in some errors.
  • An adjustment of priority of error messages.
  • An adjustment in the style of settings page.

2.4

  • Compatibility with plugins of registering.
  • Restrict these symbols ( ‘ \ ” ) to avoid problems when registering.
  • New error messages.
  • added an error message when you press the Import button with empty file or invalid json.
  • An important adjustments.

2.3

  • Fixed a problem in username restricted (in multisite and buddypress).
  • Added new language (العربية المغربية).
  • An adjustment in compatibility (old versions of wordpress).
  • Added a notification if the registration is disabled.
  • Other important adjustments.

2.2.3

  • Fixed a problem in uppercase option.
  • Fixed a problem if the username exist (in multisite or buddypress).
  • Other adjustments.

2.2.2

  • Fixed a problem if the username exist (in multisite or buddypress).
  • Other adjustments.

2.2.1

  • Added the possibility to not allowed to use multi whitespace or whitespace at the beginning or the end of the username.
  • Added some filters.
  • Some other adjustments.

2.2

  • Compatibility with network (multi-site).
  • Compatibility buddypress.
  • No uppercase in username.
  • Fixed a problem if a language is selected with latin.
  • Added the possibility to display the restricted part in error message (partial matching).
  • Prevent the use of numbers more than letters and symbols in the user name.
  • Added the error message for (partial matching).
  • Arrange (order) error messages.
  • Prevent the use of email in the username.
  • Some adjustments and corrections.

2.1

  • Fixed a problem if a language is selected with latin.
  • Added the possibility to display the restricted part in error message (partial matching).
  • Prevent the use of numbers more than letters and symbols in the user name.
  • Added the error message for (partial matching).
  • Arrange (order) error messages.

2.0

  • Added the possibility to restrict any name contains a part of word (partial matching).
  • Tested with the latest wordpress update (4.8).

1.2.2

  • Fixed some translation errors in the error messages.

1.2.1

  • An adjustment in reset options.

1.2

  • Some corrections.

1.1.4

  • Some corrections.

1.1.3

  • Added the possibility to control the settings by other capability.
  • Some adjustments in translation.

1.1.2

  • Fixed a problem if the field of language is empty.
  • Add the possibility to limit the length of the username (min and max) and take account the space.

1.1.1

  • Added the possibility of export and import plugin settings.
  • Added the possibility to enter your language or another language.
  • Some adjustments and corrections.

1.1

  • Some adjustments in page plugin options in admin panel.

1.0

  • First released version.