forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: russellb on October 08, 2004, 10:25:10 pm

Title: Website and CPG login Mod needed (login to both at the same time)
Post by: russellb on October 08, 2004, 10:25:10 pm
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
Title: Re: Website and CPG login Mod needed (login to both at the same time)
Post by: Joachim Müller on October 09, 2004, 05:56:26 am
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
Title: Re: Website and CPG login Mod needed (login to both at the same time)
Post by: russellb on October 09, 2004, 07:40:22 pm
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.
Title: Re: Website and CPG login Mod needed (login to both at the same time)
Post by: Joachim Müller on October 10, 2004, 11:42:22 am
try http://forum.coppermine-gallery.net/index.php?topic=10727.0