Website and CPG login Mod needed (login to both at the same time) Website and CPG login Mod needed (login to both at the same time)
 

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

Website and CPG login Mod needed (login to both at the same time)

Started by russellb, October 08, 2004, 10:25:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

russellb

I have been using Coppermine for a month on my site and love it with one exception. I need help (maybe a mod) that will log users into my members section on my site and Coppermine at the same time preventing them from having to log in twice.

Example:    If I log into my website them CPG knows that I am the admin.
               If bob logs into my website CPG knows that he is registered.
               If the person is not logged in CPG knows they are a guest... etc.

Is it possible to use the cpg login database as a website login? Maybe a script that can be placed on the sites.

Thanks

Joachim Müller

yes, just read the cookie - should be available on your site everywhere. You might want to take a look into http://forum.coppermine-gallery.net/index.php?topic=3141.0 as well, or just use the authentification bit. There's no actual code to copy and paste though (although planned).

Joachim

russellb

Thanks for the help GauGau. When I click on the link it tells me that topic 3141.0  "appears to be either missing or off limits to you".

Can you help.