@neononcon: The Media tab is not visible to Subscribers by default in WordPress – only the Dashboard and Profile tabs are on for Subscribers. If it is appearing on your install, then another plugin is causing this.
Disable all plugins (except for Akismet and WP Hide Dashboard) and see if the Media tab disappears. If it does, then you need to figure out what plugin is causing it to show up. To do that, reactivate 1 plugin at a time, checking to see if the Media tab is back after each one. When it reappears, make a note of the plugin and post your results back here please.
@kpdesign Thanks I found that it was being caused by uCan Post plugin.
In the admin there is an option for:
Allow uploads on sumbission:
NOTE: For security reasons, only registered members can upload files
It was activated just to test and ever since turning that option on, the media tab exists in the dashboard even when unchecked.
I know this is nothing to do with WP Hide Dashboard at least now. Thanks for the great plugin and service.
It has to be visible to allow subscribers to upload media files.
@cartpauj hi thanks for answering in this thread. It is understandable that the media tab should be visible when the option for allowing registered subscribers to upload files is checked on. But when that option is unchecked and off, it should no longer be visible. How can this be fixed? This is conflicting with the purpose of using WP Hide Dashboard.
hi, i am having the same problem. was there a solution? thank you!
If you do not want users to have access to media, please find lines in the ucan-post-class.php file:
$role = get_role('contributor');
$role->add_cap('upload_files');
$role = get_role('subscriber');
$role->add_cap('upload_files');
$role->add_cap('unfiltered_html');
Change them to this:
$role = get_role('contributor');
$role->remove_cap('upload_files');
$role = get_role('subscriber');
$role->remove_cap('upload_files');
$role->remove_cap('unfiltered_html');
After changing these lines you will need to de-activate and re-activate the plugin before it will take affect.