<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>WordPress Ideas &#187; Topic: Page List and Editor Preferences: Apply to All Users</title>
		<link>http://wordpress.org/extend/ideas/topic/page-list-and-editor-preferences-apply-to-all-users</link>
		<description>WordPress Ideas &#187; Topic: Page List and Editor Preferences: Apply to All Users</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 23:49:12 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://wordpress.org/extend/ideas/rss/topic/page-list-and-editor-preferences-apply-to-all-users" rel="self" type="application/rss+xml" />

		<item>
			<title>bkjproductions on "Page List and Editor Preferences: Apply to All Users"</title>
			<link>http://wordpress.org/extend/ideas/topic/page-list-and-editor-preferences-apply-to-all-users#post-23222</link>
			<pubDate>Wed, 14 Nov 2012 17:06:34 +0000</pubDate>
			<dc:creator>bkjproductions</dc:creator>
			<guid isPermaLink="false">23222@http://wordpress.org/extend/ideas/</guid>
			<description><![CDATA[<p>WordPress has the ability to keep the preferences of both Lists of Posts and the Page/Post Editor layout. For example, in a List view of Pages, you can hide or show columns using the <strong>Screen Options</strong> link at the top right. Likewise, when editing a Post or Page, you can control the visibility of the various Metaboxes on the page (such as Custom Fields). When using WP as a CMS, it would be great if the users all had the same preferences initially, in particular if you're using a plugin like Yoast's SEO and there are extra columns in a list of Pages or Posts---it can get quite confusing for the novice to see them. </p>
<p>This information is stored in the database as part of the wp_usermeta table. For example, there is a meta_key named closedpostboxes_page with serialized data that expresses the current state of the Post editor's closed boxes.</p>
<p>In the SQL example below, we have several Custom Post Types: Committees, Misc and Notes. So the <strong>meta_key</strong> "closedpostboxes_committees" has a <strong>meta_value</strong> with serialized data {wrapped: like, this}.</p>
<p>In theory it should be easy to set the preferences for all users to have the same settings, which would make WordPress more like a CMS, as all users would have the same general Dashboard look.</p>
<p>As a workaround for now, we can do a SQL INSERT command, if we know the user's ID.<br />
I'm hoping some clever developer can pick up on this and create a plugin for applying preferences from, say, the Admin, to all other users. Or maybe make it part of WP core?</p>
<p>Here is an example for user ID 8:<br />
<pre><code>INSERT INTO  wp_usermeta
( user_id, meta_key, meta_value)
VALUES
( 8, &#039;closedpostboxes_committees&#039;, &#039;a:7:{i:0;s:11:&#34;categorydiv&#34;;i:1;s:16:&#34;tagsdiv-post_tag&#34;;i:2;s:11:&#34;postexcerpt&#34;;i:3;s:10:&#34;wpseo_meta&#34;;i:4;s:10:&#34;postcustom&#34;;i:5;s:16:&#34;commentstatusdiv&#34;;i:6;s:13:&#34;trackbacksdiv&#34;;}&#039;),
( 8, &#039;closedpostboxes_dashboard&#039;, &#039;a:1:{i:0;s:11:&#34;w3tc_latest&#34;;}&#039;),
( 8, &#039;closedpostboxes_misc&#039;, &#039;a:5:{i:0;s:11:&#34;categorydiv&#34;;i:1;s:16:&#34;tagsdiv-post_tag&#34;;i:2;s:10:&#34;wpseo_meta&#34;;i:3;s:10:&#34;postcustom&#34;;i:4;s:16:&#34;commentstatusdiv&#34;;}&#039;),
( 8, &#039;closedpostboxes_notes&#039;, &#039;a:3:{i:0;s:16:&#34;commentstatusdiv&#34;;i:1;s:10:&#34;postcustom&#34;;i:2;s:11:&#34;commentsdiv&#34;;}&#039;),
( 8, &#039;closedpostboxes_page&#039;, &#039;a:3:{i:0;s:10:&#34;wpseo_meta&#34;;i:1;s:10:&#34;postcustom&#34;;i:2;s:18:&#34;rs_event_sectionid&#34;;}&#039;),
( 8, &#039;closedpostboxes_post&#039;, &#039;a:3:{i:0;s:10:&#34;postcustom&#34;;i:1;s:18:&#34;rs_event_sectionid&#34;;i:2;s:10:&#34;wpseo_meta&#34;;}&#039;),
( 8, &#039;edit_committees_per_page&#039;, &#039;200&#039;),
( 8, &#039;edit_misc_per_page&#039;, &#039;200&#039;),
( 8, &#039;edit_notes_per_page&#039;, &#039;200&#039;),
( 8, &#039;edit_page_per_page&#039;, &#039;200&#039;),
( 8, &#039;edit_post_per_page&#039;, &#039;200&#039;),
( 8, &#039;upload_per_page&#039;, &#039;200&#039;),
( 8, &#039;manageedit-committeescolumnshidden&#039;, &#039;a:16:{i:0;s:9:&#34;Thumbnail&#34;;i:1;s:10:&#34;categories&#34;;i:2;s:4:&#34;tags&#34;;i:3;s:9:&#34;post_type&#34;;i:4;s:11:&#34;wpseo-score&#34;;i:5;s:11:&#34;wpseo-title&#34;;i:6;s:14:&#34;wpseo-metadesc&#34;;i:7;s:13:&#34;wpseo-focuskw&#34;;i:8;s:0:&#34;&#34;;i:9;s:0:&#34;&#34;;i:10;s:0:&#34;&#34;;i:11;s:0:&#34;&#34;;i:12;s:0:&#34;&#34;;i:13;s:0:&#34;&#34;;i:14;s:0:&#34;&#34;;i:15;s:0:&#34;&#34;;}&#039;),
( 8, &#039;manageedit-misccolumnshidden&#039;, &#039;a:12:{i:0;s:9:&#34;post_type&#34;;i:1;s:9:&#34;thumbnail&#34;;i:2;s:11:&#34;wpseo-score&#34;;i:3;s:11:&#34;wpseo-title&#34;;i:4;s:14:&#34;wpseo-metadesc&#34;;i:5;s:13:&#34;wpseo-focuskw&#34;;i:6;s:0:&#34;&#34;;i:7;s:0:&#34;&#34;;i:8;s:0:&#34;&#34;;i:9;s:0:&#34;&#34;;i:10;s:0:&#34;&#34;;i:11;s:0:&#34;&#34;;}&#039;),
( 8, &#039;manageedit-notescolumnshidden&#039;, &#039;a:4:{i:0;s:9:&#34;Thumbnail&#34;;i:1;s:9:&#34;post_type&#34;;i:2;s:0:&#34;&#34;;i:3;s:0:&#34;&#34;;}&#039;),
( 8, &#039;manageedit-pagecolumnshidden&#039;, &#039;a:14:{i:0;s:9:&#34;Thumbnail&#34;;i:1;s:8:&#34;comments&#34;;i:2;s:9:&#34;post_type&#34;;i:3;s:11:&#34;wpseo-score&#34;;i:4;s:11:&#34;wpseo-title&#34;;i:5;s:14:&#34;wpseo-metadesc&#34;;i:6;s:13:&#34;wpseo-focuskw&#34;;i:7;s:0:&#34;&#34;;i:8;s:0:&#34;&#34;;i:9;s:0:&#34;&#34;;i:10;s:0:&#34;&#34;;i:11;s:0:&#34;&#34;;i:12;s:0:&#34;&#34;;i:13;s:0:&#34;&#34;;}&#039;),
( 8, &#039;manageedit-postcolumnshidden&#039;, &#039;a:14:{i:0;s:4:&#34;tags&#34;;i:1;s:9:&#34;post_type&#34;;i:2;s:9:&#34;thumbnail&#34;;i:3;s:11:&#34;wpseo-score&#34;;i:4;s:11:&#34;wpseo-title&#34;;i:5;s:14:&#34;wpseo-metadesc&#34;;i:6;s:13:&#34;wpseo-focuskw&#34;;i:7;s:0:&#34;&#34;;i:8;s:0:&#34;&#34;;i:9;s:0:&#34;&#34;;i:10;s:0:&#34;&#34;;i:11;s:0:&#34;&#34;;i:12;s:0:&#34;&#34;;i:13;s:0:&#34;&#34;;}&#039;),
( 8, &#039;manageuploadcolumnshidden&#039;, &#039;a:2:{i:0;s:8:&#34;comments&#34;;i:1;s:0:&#34;&#34;;}&#039;),
( 8, &#039;meta-box-order_committees&#039;, &#039;a:3:{s:4:&#34;side&#34;;s:75:&#34;submitdiv,pageparentdiv,categorydiv,tagsdiv-post_tag,authordiv,postimagediv&#34;;s:6:&#34;normal&#34;;s:72:&#34;postexcerpt,wpseo_meta,postcustom,commentstatusdiv,trackbacksdiv,slugdiv&#34;;s:8:&#34;advanced&#34;;s:0:&#34;&#34;;}&#039;),
( 8, &#039;meta-box-order_dashboard&#039;, &#039;a:4:{s:6:&#34;normal&#34;;s:82:&#34;custom_help_widget,w3tc_pagespeed,dashboard_right_now,DashboardRecentPostsExtended&#34;;s:4:&#34;side&#34;;s:11:&#34;w3tc_latest&#34;;s:7:&#34;column3&#34;;s:0:&#34;&#34;;s:7:&#34;column4&#34;;s:0:&#34;&#34;;}&#039;),
( 8, &#039;meta-box-order_misc&#039;, &#039;a:3:{s:4:&#34;side&#34;;s:75:&#34;submitdiv,categorydiv,tagsdiv-post_tag,postimagediv,pageparentdiv,authordiv&#34;;s:6:&#34;normal&#34;;s:72:&#34;postexcerpt,wpseo_meta,trackbacksdiv,postcustom,commentstatusdiv,slugdiv&#34;;s:8:&#34;advanced&#34;;s:0:&#34;&#34;;}&#039;),
( 8, &#039;meta-box-order_notes&#039;, &#039;a:3:{s:4:&#34;side&#34;;s:63:&#34;submitdiv,pageparentdiv,postimagediv,authordiv,commentstatusdiv&#34;;s:6:&#34;normal&#34;;s:42:&#34;postexcerpt,postcustom,commentsdiv,slugdiv&#34;;s:8:&#34;advanced&#34;;s:0:&#34;&#34;;}&#039;),
( 8, &#039;meta-box-order_page&#039;, &#039;a:3:{s:4:&#34;side&#34;;s:46:&#34;submitdiv,pageparentdiv,postimagediv,authordiv&#34;;s:6:&#34;normal&#34;;s:26:&#34;be_gallery_metabox,slugdiv&#34;;s:8:&#34;advanced&#34;;s:40:&#34;rs_event_sectionid,postcustom,wpseo_meta&#34;;}&#039;),
( 8, &#039;meta-box-order_post&#039;, &#039;a:3:{s:4:&#34;side&#34;;s:61:&#34;submitdiv,categorydiv,tagsdiv-post_tag,postimagediv,authordiv&#34;;s:6:&#34;normal&#34;;s:49:&#34;be_gallery_metabox,postexcerpt,postcustom,slugdiv&#34;;s:8:&#34;advanced&#34;;s:29:&#34;rs_event_sectionid,wpseo_meta&#34;;}&#039;),
( 8, &#039;metaboxhidden_committees&#039;, &#039;a:4:{i:0;s:10:&#34;wpseo_meta&#34;;i:1;s:16:&#34;commentstatusdiv&#34;;i:2;s:13:&#34;trackbacksdiv&#34;;i:3;s:7:&#34;slugdiv&#34;;}&#039;),
( 8, &#039;metaboxhidden_dashboard&#039;, &#039;a:2:{i:0;s:14:&#34;w3tc_pagespeed&#34;;i:1;s:11:&#34;w3tc_latest&#34;;}&#039;),
( 8, &#039;metaboxhidden_misc&#039;, &#039;a:6:{i:0;s:11:&#34;categorydiv&#34;;i:1;s:16:&#34;tagsdiv-post_tag&#34;;i:2;s:10:&#34;wpseo_meta&#34;;i:3;s:13:&#34;trackbacksdiv&#34;;i:4;s:16:&#34;commentstatusdiv&#34;;i:5;s:7:&#34;slugdiv&#34;;}&#039;),
( 8, &#039;metaboxhidden_notes&#039;, &#039;a:7:{i:0;s:13:&#34;pageparentdiv&#34;;i:1;s:12:&#34;postimagediv&#34;;i:2;s:16:&#34;commentstatusdiv&#34;;i:3;s:11:&#34;postexcerpt&#34;;i:4;s:10:&#34;postcustom&#34;;i:5;s:11:&#34;commentsdiv&#34;;i:6;s:7:&#34;slugdiv&#34;;}&#039;),
( 8, &#039;metaboxhidden_page&#039;, &#039;a:1:{i:0;s:7:&#34;slugdiv&#34;;}&#039;),
( 8, &#039;metaboxhidden_post&#039;, &#039;a:3:{i:0;s:7:&#34;slugdiv&#34;;i:1;s:18:&#34;rs_event_sectionid&#34;;i:2;s:10:&#34;wpseo_meta&#34;;}&#039;)</code></pre>]]></description>
					</item>

	</channel>
</rss>
