![]() |
Wordpress experts - use another DB for members?
Does anyone have any info on using a membership table from another DB for WordPress?
I have a links directory with a blog, and I want them to share a DB for members, eg, you log into one you log into both.. Not sure how possible this is.. |
It's pretty easy.
Code:
define('CUSTOM_USER_TABLE', 'wp2_users'); |
Quote:
|
yeah u gotta make sure the user tables line up, that the headers don't conflict, etc
search support forums on wordpress site - it's been done many times over but quite a few factors are involved |
there's also routines needed to handle cookie creation, etc.. I'd imagine..
|
Quote:
If you're sharing with a different script, obviously you'll have to have someone roll it for you. |
you cannot share cookies cross-domain without some serious hacking :p
however, you can easily have them login twice in both sites. note in shawns example, you must be using the same database, |
| All times are GMT -7. The time now is 06:27 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123