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

Subscribe2 stopped sending emails

After you updated “User Role Editor” to version 4.3. you may meet the problem with plugin “Subscribe2”.
If you use Subscribe2 plugin at WordPress multisite with “User Role Editor” together, you may discover that Subscribe2 stopped sending emails after new posts are published.
The reason of this problem is simple: Subscribe2 checks if there was blog switching and interrupts email send operation if answer is positive. Read more Subscribe2 stopped sending emails