Suggestions for more awesomeness
-
Hi, this plugin is pretty much exactly what I’m looking for – the ability to block non-admins from logging in!
I have a couple of suggestions/requests for you, which I think will make the plugin even more awesome than it is… 🙂
1) It would be great to have a toggle switch to turn the entire thing on or off. Personally I just need a plugin like this on temporary occasions, eg. I’m doing some kind of major work on the site and I don’t want any other users to be able to log in during that time, but once I’m done, I want to turn the whole blocking off and let them log in again.
As things currently stand, I think I’d have to actually disable your plugin on the Plugins page to achieve that. Better to have a simple switch in the settings to turn it off there. (Maybe even a date/time option where I can set it to turn off automatically at a certain time in the future…)
2) I’d love to be able to limit by user role and not just by capability. Eg. having a third option there in the User Access section, where I can select another user role (eg. Author) and everyone with that role or below is not able to log in, but those with higher roles (Admins, Editors) can still log in.
Maybe even being able to input specific usernames to block would be nice too.
3) As an alternative to the URL redirection (which the admin can select in the settings), how about giving an error message on the login screen instead, with a customisable text – like this:
http://i.imgur.com/nDf7a.jpgSo the text in yellow appears when a user who isn’t allowed access, tries to log in. The text should be editable in the plugin settings. Thus, no URL redirection needed in this case. This way, it avoids confusion by the user in question – he’s not left wondering why he can’t log in and why he was redirected to the home page, and thinking that WP is broken – the message tells him that the Admin is doing work and he’s been locked out intentionally, or whatever. Make sense?!
What do you think?!
Cheers!
http://wordpress.org/extend/plugins/remove-dashboard-access-for-non-admins/
- The topic ‘Suggestions for more awesomeness’ is closed to new replies.