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 12-04-2011, 04:02 PM   #1
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,098
howto: bridge multiple user accounts between different scripts?

I've got a few scripts running on a single domain and would like to have a single login to access each script. Does anyone have any links or a tutorial to achieve this?

I'm assuming it's as simple as choosing a main script to redirect all signups to then fetching variables from mysql database to assign to the other scripts.


Thanks
GFED is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-04-2011, 04:13 PM   #2
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,057
Quote:
Originally Posted by GFED View Post
I've got a few scripts running on a single domain and would like to have a single login to access each script. Does anyone have any links or a tutorial to achieve this?

I'm assuming it's as simple as choosing a main script to redirect all signups to then fetching variables from mysql database to assign to the other scripts.


Thanks
Depends on the scripts.

Each script will probably have it's own user table (and related tables) so you either have to modify each one to read from one common user table, covering all vars from each table in the one. Or you need to modify the main sign up script to populate all the individual user tables from the initial sign up.

The first method, modifying all to use one is probably the better bet maintenance wise.

How easy it would be to do can't be called until you have examined each one to see what all has to change.

Hope that helps.



.
__________________
All cookies cleared!
sarettah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-04-2011, 04:44 PM   #3
GFED
Confirmed User
 
GFED's Avatar
 
Industry Role:
Join Date: May 2002
Posts: 8,098
Quote:
Originally Posted by sarettah View Post
Depends on the scripts.

Each script will probably have it's own user table (and related tables) so you either have to modify each one to read from one common user table, covering all vars from each table in the one. Or you need to modify the main sign up script to populate all the individual user tables from the initial sign up.

The first method, modifying all to use one is probably the better bet maintenance wise.

How easy it would be to do can't be called until you have examined each one to see what all has to change.

Hope that helps.



.
Thanks, the only thing I've managed to bridge before is CPG and phpBB but it was just a plugin. I'm pretty much cut and paste when it comes to programming or need a book/website open. Haven't programmed since learning BASIC on my Commodore 64. Checking out php.net to see if I can find something.
GFED 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.