Inserting username and password from outside cpg Inserting username and password from outside cpg
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Inserting username and password from outside cpg

Started by Hein Traag, December 14, 2004, 01:17:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hein Traag

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!

Nibbler

I'd say making a bridge file for the new system is the best option, it is exactly what it is designed to do.

Hein Traag

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 ;)

Nibbler

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.