<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Installing two WordPress blogs with the same users</title>
	<atom:link href="http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users/feed" rel="self" type="application/rss+xml" />
	<link>http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users</link>
	<description>Life, Blogging, and WordPress</description>
	<lastBuildDate>Wed, 17 Mar 2010 18:36:20 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: RROD</title>
		<link>http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users#comment-181166</link>
		<dc:creator>RROD</dc:creator>
		<pubDate>Fri, 12 Mar 2010 19:48:22 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1033#comment-181166</guid>
		<description>So this trick is so that you can login with the same username and password on 2 different blogs? Is this correct? From 2 different domains or the same domain?</description>
		<content:encoded><![CDATA[<p>So this trick is so that you can login with the same username and password on 2 different blogs? Is this correct? From 2 different domains or the same domain?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Riveroll</title>
		<link>http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users#comment-176666</link>
		<dc:creator>David Riveroll</dc:creator>
		<pubDate>Sun, 31 Jan 2010 06:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1033#comment-176666</guid>
		<description>I really don&#039;t know if this will work, cause I&#039;m kinda a beginner in WP. But I&#039;d try to share only 
define(&#039;CUSTOM_USER_TABLE&#039;, &#039;wp_users&#039;);

and not
define(&#039;CUSTOM_USER_META_TABLE&#039;, &#039;wp_usermeta&#039;);

because this is were the capabilities are set, but as I said, I don&#039;t know if that would mess with something and I haven&#039;t tried it yet.</description>
		<content:encoded><![CDATA[<p>I really don&#8217;t know if this will work, cause I&#8217;m kinda a beginner in WP. But I&#8217;d try to share only<br />
define(&#8216;CUSTOM_USER_TABLE&#8217;, &#8216;wp_users&#8217;);</p>
<p>and not<br />
define(&#8216;CUSTOM_USER_META_TABLE&#8217;, &#8216;wp_usermeta&#8217;);</p>
<p>because this is were the capabilities are set, but as I said, I don&#8217;t know if that would mess with something and I haven&#8217;t tried it yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brooks</title>
		<link>http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users#comment-175248</link>
		<dc:creator>Brooks</dc:creator>
		<pubDate>Mon, 18 Jan 2010 22:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1033#comment-175248</guid>
		<description>I am using 2.8.6 and am having a similar permissions problem when logging into my secondary blog.  

These are the pieces of code I have added:

in wp-config.php:

&lt;pre&gt;&lt;code&gt;define(&#039;CUSTOM_CAPABILITIES_PREFIX&#039;, &#039;wp_&#039;);&lt;/code&gt;&lt;/pre&gt;

in wp-includes/capabilities.php:
replaced:

&lt;pre&gt;&lt;code&gt;$this-&gt;cap_key = $wpdb-&gt;prefix . &#039;capabilities&#039;;&lt;/code&gt;&lt;/pre&gt;

with:

&lt;pre&gt;&lt;code&gt;if (defined (&#039;CUSTOM_CAPABILITIES_PREFIX&#039;)) {
	$this-&gt;cap_key = CUSTOM_CAPABILITIES_PREFIX . &#039;capabilities&#039;;
	}
	else {	$this-&gt;cap_key = $wpdb-&gt;prefix . &#039;capabilities&#039;;
	}&lt;/code&gt;&lt;/pre&gt;

Does anyone know if this code still works with 2.8.6 or is there another fix?  Basically, if I can&#039;t get this to work, I am locked out of my admin for my secondary blog.</description>
		<content:encoded><![CDATA[<p>I am using 2.8.6 and am having a similar permissions problem when logging into my secondary blog.  </p>
<p>These are the pieces of code I have added:</p>
<p>in wp-config.php:</p>
<pre><code>define('CUSTOM_CAPABILITIES_PREFIX', 'wp_');</code></pre>
<p>in wp-includes/capabilities.php:<br />
replaced:</p>
<pre><code>$this-&gt;cap_key = $wpdb-&gt;prefix . 'capabilities';</code></pre>
<p>with:</p>
<pre><code>if (defined ('CUSTOM_CAPABILITIES_PREFIX')) {
	$this-&gt;cap_key = CUSTOM_CAPABILITIES_PREFIX . 'capabilities';
	}
	else {	$this-&gt;cap_key = $wpdb-&gt;prefix . 'capabilities';
	}</code></pre>
<p>Does anyone know if this code still works with 2.8.6 or is there another fix?  Basically, if I can&#8217;t get this to work, I am locked out of my admin for my secondary blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raize</title>
		<link>http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users#comment-172426</link>
		<dc:creator>Raize</dc:creator>
		<pubDate>Thu, 31 Dec 2009 21:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1033#comment-172426</guid>
		<description>Worked perfectly with 2.9

thanks</description>
		<content:encoded><![CDATA[<p>Worked perfectly with 2.9</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frank P. Walentynowicz</title>
		<link>http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users#comment-168250</link>
		<dc:creator>Frank P. Walentynowicz</dc:creator>
		<pubDate>Sat, 12 Dec 2009 15:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1033#comment-168250</guid>
		<description>&lt;strong&gt;&lt;em&gt;Ed&lt;/em&gt;&lt;/strong&gt; - I think you forgot to reapply changes to &lt;em&gt;capabilities.php&lt;/em&gt; file after the upgrade.</description>
		<content:encoded><![CDATA[<p><strong><em>Ed</em></strong> &#8211; I think you forgot to reapply changes to <em>capabilities.php</em> file after the upgrade.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samson</title>
		<link>http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users#comment-159865</link>
		<dc:creator>samson</dc:creator>
		<pubDate>Fri, 30 Oct 2009 06:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1033#comment-159865</guid>
		<description>i have 2 wp blogs (main and sub domain) so, i want them to share a wedgets is there any one helping me...?</description>
		<content:encoded><![CDATA[<p>i have 2 wp blogs (main and sub domain) so, i want them to share a wedgets is there any one helping me&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharing users across multiple WordPress installations &#124; Frank P. Walentynowicz</title>
		<link>http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users#comment-159326</link>
		<dc:creator>Sharing users across multiple WordPress installations &#124; Frank P. Walentynowicz</dc:creator>
		<pubDate>Wed, 28 Oct 2009 00:32:39 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1033#comment-159326</guid>
		<description>[...] reading Justin Tadlock&#8217;s article &#8220;Installing two WordPress blogs with the same users&#8221; I have decided to implement this method in two of my test installations. Well&#8230; it did [...]</description>
		<content:encoded><![CDATA[<p>[...] reading Justin Tadlock&#8217;s article &#8220;Installing two WordPress blogs with the same users&#8221; I have decided to implement this method in two of my test installations. Well&#8230; it did [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ed</title>
		<link>http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users#comment-154161</link>
		<dc:creator>Ed</dc:creator>
		<pubDate>Thu, 24 Sep 2009 23:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1033#comment-154161</guid>
		<description>Everything was working perfectly until I upgraded my blogs to WP version 2.8.4 recently.  Is anyone out there experiencing similar issue?  Better yet, does anyone know how to resolve the issue?  I checked the wp-config.php on all of my blogs and they were left intact during the upgrade....</description>
		<content:encoded><![CDATA[<p>Everything was working perfectly until I upgraded my blogs to WP version 2.8.4 recently.  Is anyone out there experiencing similar issue?  Better yet, does anyone know how to resolve the issue?  I checked the wp-config.php on all of my blogs and they were left intact during the upgrade&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brandon</title>
		<link>http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users#comment-152797</link>
		<dc:creator>brandon</dc:creator>
		<pubDate>Fri, 18 Sep 2009 20:08:02 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1033#comment-152797</guid>
		<description>how do i add a second blog to an existing blog and database?
i wanted my main blog for my website news, a second for a current project im doing, and a third for my girlfriend and i to record the times with our dog.

is there a benefit to having the same user name and info from one blog for all of them?
or cant i just install 3 wordpress databases/blogs and make all the logins the same for all the 3?</description>
		<content:encoded><![CDATA[<p>how do i add a second blog to an existing blog and database?<br />
i wanted my main blog for my website news, a second for a current project im doing, and a third for my girlfriend and i to record the times with our dog.</p>
<p>is there a benefit to having the same user name and info from one blog for all of them?<br />
or cant i just install 3 wordpress databases/blogs and make all the logins the same for all the 3?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesper</title>
		<link>http://justintadlock.com/archives/2008/09/20/installing-two-wordpress-blogs-with-the-same-users#comment-151835</link>
		<dc:creator>Jesper</dc:creator>
		<pubDate>Sun, 13 Sep 2009 21:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://justintadlock.com/?p=1033#comment-151835</guid>
		<description>Well, i have used this for a while now but i have always had the same problem, when a user register at blog A, he get the appropriate roles, but on blog B he´s roll is set to None and i manually have to set user roles!

Any solution to this without using any plugins?</description>
		<content:encoded><![CDATA[<p>Well, i have used this for a while now but i have always had the same problem, when a user register at blog A, he get the appropriate roles, but on blog B he´s roll is set to None and i manually have to set user roles!</p>
<p>Any solution to this without using any plugins?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
