[wp-hackers] Re: Sharing Users/authentication

Curt Woodard clwoodard at gmail.com
Tue Aug 28 05:23:14 GMT 2007

> Have you worked on this more? I am still trying to get two blogs to
> share the same user data :)
> c

OK, here's a question: How intertwined do you want this to be? Also, are you
installing the WordPress servers from scratch or are they already installed?

If you already have users, are they the same users? If not, how do you want to
handle user_id collisions?

And are you using two copies of WordPress or two different blogs?

I have successfully created a simple plugin that allows for multiple WordPress
installations to share one user base. There is an issue, however, since the keys
use the $wpdb->prefix for the user_level and capabilities keys. I had to put in
a way to copy the slave copy's versions over to the master copy's usermeta. Once
that's done, I set the slave copy's user and usermeta tables to be those of the
master copy's.

It works well, though you might want to make sure your slave copy has a password
you can remember. As far as I'm aware at this point, everything should work

Let me know the answer to these questions, also, if there are other features
you're looking for...

With this plugin, you should be able to easily create several slave blogs and
one master... Though that requires several copies of WP to be installed ;) Not
really a space-saver, but one way to do it... heh

More information about the wp-hackers mailing list