This is a great plugin, just what I need (thanks)
http://wordpress.org/extend/plugins/wp-hide-dashboard/
I changed the rol Subscriber to Author, this works correct when I log in as Author the menu's are hidden, so far great.
However, there is a problem.
There is still a way to wp-admin/tools.php directly from the browser.
Is there a way to fix this?
@grafcom: Sorry for the delay in responding. I've been out of town on vacation.
Yes, there is a way to fix that. Open wp-hide-dashboard.php in a plain text editor and change line 94 to read:
if (!current_user_can(''.$wphd_user_capability.'') && ($parent_file == 'index.php' || $parent_file == 'tools.php')) {
Let me know if this resolves the issue for you.
@kpdesign: Yes this works, only at the end
'tools.php')) {
this must be
'tools.php') {
right?
Thank you!
@grafcom: No, there needs to be 2 ending parentheses, just as I posted it. The last ending parentheses closes the condition statement that started right after if. Without it you'll get a fatal error.
Glad it's working for you!