[wp-hackers] Sharing Users/authentication
Curt Woodard
clwoodard at gmail.com
Sat Aug 25 03:42:54 GMT 2007
> Yes. There are defines in the wp-settings.php file that can be defined
> in the wp-config.php file.
>
> wp-config.php
> -----------------------
>
> // Underneath database config info
> define('CUSTOM_USER_TABLE', 'wp_users');
> define('CUSTOM_USER_META_TABLE', 'wp_usermeta');
>
> In this way, you only need to have one wordpress users table and
> usermeta table. You will have to keep track of the prefix of the
> wordpress installation you have all of the users in.
>
> Jacob Santos
>
> Chris Lott wrote:
> > Faculty members have discovered CommentPress and would like to use
> > CommentPress enabled blogs alongside their regular class blogs... is
> > there a simple way to share the usernames/logins between two WP
> > installations? All that really needs to be shared is the login name
> > and password...
> >
> > c
Quick question:
Can these defines point to a MySQL view instead of actual tables? If
that's the case then my work will be MUCH easier than I think...
-Curt
More information about the wp-hackers
mailing list