Advanced search  

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

Pages: [1]   Go Down

Author Topic: Inserting username and password from outside cpg  (Read 3691 times)

0 Members and 1 Guest are viewing this topic.

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Inserting username and password from outside cpg
« 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!
Logged

Nibbler

  • Guest
Re: Inserting username and password from outside cpg
« Reply #1 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.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Inserting username and password from outside cpg
« Reply #2 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 ;)
Logged

Nibbler

  • Guest
Re: Inserting username and password from outside cpg
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.