[wp-hackers] WP Universal Login

Eric Marden wp at xentek.net
Sun Aug 23 00:26:05 UTC 2009


On Aug 22, 2009, at 2:33 PM, Stephen Rider wrote:

>
> On Aug 22, 2009, at 1:24 PM, Eric Marden wrote:
>
>>> On Sat, Aug 22, 2009 at 9:34 AM, D. Stall <ds at dstall.com> wrote:
>>>
>>>> Is there a way to make one login for 2 different WP installs  
>>>> hosted on 2
>>>> separate domains?
>>
>> Couldn't use also use the shared user table? (Provided both sites  
>> are in the same DB)
>>
>> define('CUSTOM_USER_TABLE', 'wp_users');
>> define('CUSTOM_USER_META_TABLE', 'wp_usermeta');
>
> Sharing tables is only half a solution.  Users from one blog have no  
> rights in another blog, so it's no real use without further work.

That's why I wrote this: http://xentek.net/code/wordpress/plugins/wp-orphanage/

Not exactly full featured but you can easily extend the code to give  
them the roles and caps you want. This just sets all users to  
'subscriber' level on the other blogs.


- Eric Marden
__________________________________
http://xentek.net/code/wordpress/







More information about the wp-hackers mailing list