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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-10-2008, 03:06 PM   #1
fusionx
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..
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2008, 03:08 PM   #2
GigoloShawn
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.
GigoloShawn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2008, 03:19 PM   #3
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
Quote:
Originally Posted by GigoloShawn View Post
It's pretty easy.

Code:
define('CUSTOM_USER_TABLE', 'wp2_users');
define('CUSTOM_USER_META_TABLE', 'wp2_usermeta');
probably will need a bit more to make it work with a different script...
__________________
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
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2008, 03:29 PM   #4
FlexxAeon
Confirmed User
 
FlexxAeon's Avatar
 
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
FlexxAeon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2008, 03:36 PM   #5
fusionx
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..
fusionx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2008, 03:37 PM   #6
GrouchyAdmin
Now choke yourself!
 
GrouchyAdmin's Avatar
 
Industry Role:
Join Date: Apr 2006
Posts: 12,085
Quote:
Originally Posted by GigoloShawn View Post
It's pretty easy.

Code:
define('CUSTOM_USER_TABLE', 'wp2_users');
define('CUSTOM_USER_META_TABLE', 'wp2_usermeta');
That's all you need for using a different table on the same SQL server between WordPress installs these days.

If you're sharing with a different script, obviously you'll have to have someone roll it for you.
__________________
GrouchyAdmin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2008, 08:13 PM   #7
cryptie
Confirmed User
 
cryptie's Avatar
 
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
cryptie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.