forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: Hein Traag on December 14, 2004, 01:17:54 pm

Title: Inserting username and password from outside cpg
Post by: Hein Traag on December 14, 2004, 01:17:54 pm
Not sure if the title is correct but here goes.

Building a concept gallery for the national scouting hq here and the people higher up want the gallery behind password
but they also want to limit the amount of registration processes a member has to perform to login to either the main site
or the gallery.

What i want to suggest to them is to add some code to the main site registration page which , when a member hits the OK button, inserts the username and password of that new member into the gallery usertable as well. I looked at bridging but the system they are building is completely from scratch and pretty exotic  :P

Not a very big programmer myself so maybe someone on the board has dealt with a similiar situation or knows how to perform such a action and maybe even has a snippet to share  ;)

Thanks!
Title: Re: Inserting username and password from outside cpg
Post by: Nibbler on December 14, 2004, 02:29:58 pm
I'd say making a bridge file for the new system is the best option, it is exactly what it is designed to do.
Title: Re: Inserting username and password from outside cpg
Post by: Hein Traag on December 14, 2004, 07:27:03 pm
Ah right.. to transport the files from the new system to the cpg usertable..
Got it. Any hints or tips on building a bridge file ? Things to think about when beginning.

Looked on the board but could not find a bridge-file-building-for-dummies ;)
Title: Re: Inserting username and password from outside cpg
Post by: Nibbler on December 15, 2004, 05:43:05 pm
Well you wouldn't use the cpg user table atall with a bridge. Unfortunately there is no bridge building guide available, you'd need to take a look at the existing bridge files.