Same Screen Options for all users
-
I wanna have the same screen options checked or unchecked for all users with the role author. I did not find any option to do this.
Where are the screen options stored? In the database?
-
closedpostboxes_post
metaboxhidden_post
wp_metaboxorder_postand the same for dashboard
in wp_usermeta
schraegschrift – I am trying to do the same thing…
Can you provide a little more information about how you accomplished this?
I am looking at the wp_usermeta table in PHPMyAdmin and I found this entry for the admin username:
16 2 metaboxhidden_dashboard a:4:{i:0;s:17:"dashboard_primary";i:1;s:19:"dashboard_secondary";i:2;s:24:"dashboard_incoming_links";i:3;s:17:"dashboard_plugins";}Problem is that the other usernames don’t have this parameter. Do I just add a database item with their userID as the index? I wasn’t clear on what the UmetaID index was for or how to generate that value.
Thanks for your help!!
Joe
For the benefit of everyone…
You can add a new database row with the desired value.
The umeta_id value is just a unique key that you can set to whatever the next available number is.
The user_id is the number of the user you’d like to change the screen options for.
The meta_key name specifies which screen you’d like to change the options on. Looking through your database you should be able to figure out what meta_key controls which screen.
Good luck!
A plugin for user specific screen options – controlled by admin would be fabulous.
this would definately worth as a setting in wordpress working as a cms with multiple users. is there a easier workaround, plugin… available by now?
Excuse me – is there any chance anyone could explain how the coding for Screen Options in the wp_usermeta works? (For instance – a:4:{i:0;s:17:”dashboard_primary”;i:1;s:19:”dashboard_secondary”;i:2;s:24:”dashboard_incoming_links”;i:3;s:17:”dashboard_plugins”;} translates to what?) I can’t seem to dig up any documentation on this. Thanks!
I have foolishly removed “Admin” from the site admin administration settings. I can no longer get into the site admin panel. does anyone have a way to work around this?
thanks
There is a hard but effective way to set Screen Options for all users.
Found it here.http://www.sudarpo.net/2009/screen-options-in-wordpress-admin
All you need to do is sign-in as the user and then change their screen options. The options are stored in the database, so it will work when they sign in themselves.
This obviously becomes a problem when you have many users. I’m surprised this isn’t a plugin yet.
The topic ‘Same Screen Options for all users’ is closed to new replies.