[wp-hackers] Sharing Users/authentication
DD32
wordpress at dd32.id.au
Sat Aug 25 04:06:00 GMT 2007
On Sat, 25 Aug 2007 13:42:54 +1000, Curt Woodard <clwoodard at gmail.com>
wrote:
>> 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...
I dont see why they couldnt, As long as the view is present at the time of
querying, AND it has the same column names, then as far as a MySQL client
is concierned its just another database table?
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the wp-hackers
mailing list