Block user login

If you need to block user login at WordPress, especially if you wish to block login for the group of users, you may assign them special empty role, created with the help of “User Role Editor”. Let’s name it “block-login”, for example. “Empty” means that role does not contain any capability. Role Editor include the ‘read’ capability into new role by default. Turn it off in order to get empty role. It’s easy, right? But user with empty role will see the message “You do not have sufficient permissions to access this page” at empty grey background after every login try.
Is it possible to make this blocking more user friendly, if this action could be named user friendly at all? The answer is “Yes”.
Add code below to your active theme file functions.php: Read more Block user login

Gravity Forms menu not showing or missed capability

You created custom user role with User Role Editor, added all Gravity Forms plugin user capabilities there, but “Add-Ons” item of Gravity Forms menu not showing. You see it under Administrator user, but do not see under other user with all needed capabilities included into his role or even for user with “Administrator” role assigned. What’s the reason? What to do? Read more Gravity Forms menu not showing or missed capability

User Role Editor version 4.5.2

Version 4.5.2 of User Role Editor WordPress plugin is available for download in both, free and Pro editions. Please update. Changes applied to the version 4.5.2 are:

  • User capabilities editor updated to support capabilities beyond the user roles. Capabilities added by other plugins directly to the users, or deleted from the user roles are available now inside User Role Editor.
  • Bug fixed – custom capabilities was not shown in User capabilities editor in some cases.
  • Opening php tag shortcut ‘<?’ found and replaced with full variant ‘<?php’ at “class-export-import.php” file to exclude syntax error on some installations.
  • Confirm compatibility of per form access restriction feature with Gravity Forms version 1.7.9.
  • Spanish translation was added for the free version. Thanks to Dario Ferrer.

Free and Pro versions compatibility

One user of free version of User Role Editor asked me via the Contact form:
– What is the process of switch from the version I am using now and the Pro Version, are there any migration issues I should be aware of?
I think that the answer I sent that user could be useful for other potential users of User Role Editor Pro. So I publish it here for your reference:
Read more Free and Pro versions compatibility

Update to the version 4.5.1

Version 4.5.1 of User Role Editor is the critical bug fix release. You did not install version 4.5 yet, as the next 4.5.1 update followed. The bug with multi-site super-admin access to the User Role Editor was fixed. Version 4.5. showed message “Insufficient permissions to work with User Role Editor” until add “manage_network_users” capability to the “Administrator” role. It is enough now to be the “Superadmin” at multi-site network.