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: Website and CPG login Mod needed (login to both at the same time)  (Read 4773 times)

0 Members and 1 Guest are viewing this topic.

russellb

  • Coppermine newbie
  • Offline Offline
  • Posts: 8

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Website and CPG login Mod needed (login to both at the same time)
« Reply #1 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
Logged

russellb

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Website and CPG login Mod needed (login to both at the same time)
« Reply #2 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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.