Username and Password structure?

zman
zman's picture

Joined: 2003-07-24
Posts: 196
Posted: Thu, 2006-11-30 03:21

Hello!

This might have already been discussed but search has not been working lately so it is nearly impossible for me to tell :)

I have a shopping cart site (CubeCart). It uses an sql database. I know G1 doesn't use any type of database like this but what I'd like to do is once a customer registers at my site to have their username and password automatically setup in a G1 picture gallery related to that site.

I might be able to figure it out if I study the code for many hours (not very good at this php stuff but can sometimes "wade" my way through it) but am wondering if anybody has done this before and can point me in the right direction?

What would be excellent is to be able to "wrap" my shopping cart site around Gallery but for now I think I'll just attempt to have them be "auto registered" so to speak when signing up in the shopping cart section of the site.

I realize you won't be able to tell me exactly how to modify my shopping cart program but if you can point me in the right direction for how to put the variables I have in the shopping cart site into the username/password file for G1 that would be great! Thanks for any guidance/recommendations!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Thu, 2006-11-30 08:44

Hi,

what you could do is, that you modify your G1.
If you are a little experienced with PHP, you can look how G1 handles phpBB2, or phpNuke users.

So you can make Gallery use your CubeCart user.

Jens
--
Last Gallery v1 Developer and v1 translation manager.

 
zman
zman's picture

Joined: 2003-07-24
Posts: 196
Posted: Thu, 2006-11-30 16:51

Gotcha. I'll take a look at that. Doing it that way, I presume, will make it even easier to "wrap" CubeCart around Gallery if I decide to do that as well :)

Thanks, Jens! I'll take a look and see if I can figure it out :)