![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
|
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.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Oct 2007
Location: No longer with Star Marketing Group.
Posts: 700
|
It's pretty easy.
Code:
define('CUSTOM_USER_TABLE', 'wp2_users'); define('CUSTOM_USER_META_TABLE', 'wp2_usermeta');
__________________
I no longer represent TrafficGigolos, please contact Justin or Rebecca with any issues.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
Quote:
![]()
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: May 2003
Posts: 3,765
|
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
__________________
flexx [dot] aeon [at] gmail |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Nov 2003
Location: Olongapo City, Philippines
Posts: 4,618
|
there's also routines needed to handle cookie creation, etc.. I'd imagine..
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Quote:
If you're sharing with a different script, obviously you'll have to have someone roll it for you.
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Jul 2007
Location: Montreal
Posts: 114
|
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,
__________________
Signature coming soon! Just as soon as my first site goes live! ETA this weekend ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |