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 [2]   Go Down

Author Topic: Single signon Coppermine & Drupal  (Read 62917 times)

0 Members and 1 Guest are viewing this topic.

perfecthill

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Single signon Coppermine & Drupal
« Reply #20 on: July 02, 2007, 11:02:08 pm »


Hi,
I realise this is an old topic, but I thought it would be worth seeing if I get a reply!
I've installed the CPG module and have both Drupal and Coppermine running fine.
Coppermine is visible through the iframe, but despite following the instructions for the single sign-on, users still need to login seperately for coppermine.

I was wondering if there had been any further progress with this module, or if any body knows where I might have gone wrong!

Thanks :)

P.S. I'm using drupal 5, running here: http://www.ridinginaction.co.uk/seasonair/
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Single signon Coppermine & Drupal
« Reply #21 on: July 02, 2007, 11:19:02 pm »

Well it should be working fine also with Drupal 5.
Please verify my dopwnload section on www.nuy.info/downloads to see if you have the latest version.

Cas
Logged

supafloh

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Single signon Coppermine & Drupal
« Reply #22 on: July 03, 2007, 11:37:46 am »

using your nice code since quite a while. works all just fine!

just one thing i see in my apache error log. as soon as i click on the CPG menuitem for getting my gallery to load, i get the following log entry:

PHP Notice:  Undefined index:  check in /srv/www/vhosts/<mydomain>/drupal/cpg/index_dr.php on line 19, referer: http://<mydomain>/drupal/?q=cpg

it works all fine. just curious what the above notice wants to tell me. any idea?
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Single signon Coppermine & Drupal
« Reply #23 on: July 03, 2007, 10:41:06 pm »

yes, i know where that comes from. In the past that script was called with 2 parameters. Nowadays only with one (1).
To get rid of the message, simply remove the following line from index_dr.php:
Quote
"
$check = $form_vars['check'] ;
That should take care of this.

Cas
Logged

perfecthill

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Single signon Coppermine & Drupal
« Reply #24 on: July 04, 2007, 06:43:45 pm »

Hi, The Drupal 5 version is the one that I downloaded and followed the instructions for so I don't know what i'm doing wrong.  Everything is fine except that it doesn't log me in to coppermine when I log in and as Coppermine is easily the best gallery tool that I've found for what I want I'd really like to get it working.

If it helps at all you can log in as admin and have a look your self: www.ridinginaction.co.uk/seasonair
*** | *** [Edit GauGau] Edited out your admin account. This is a public board. Never post admin details. Change your password immediately! [/Edit]

There is also a regular user called test, password test incase you want to check that.

Any help will be greatfuly recieved.
Thanks
« Last Edit: July 05, 2007, 10:26:13 am by GauGau »
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Single signon Coppermine & Drupal
« Reply #25 on: July 10, 2007, 09:31:25 pm »

A few questions for you:
1.what platform are you running on ?
2. what is the version of Coppermine ?
3. Can You also pm me a admin account for coppermine ?

Cas
Logged

idezmax

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Single signon Coppermine & Drupal
« Reply #26 on: July 24, 2007, 06:24:26 am »

thank


----------------------------
http://www.idezmax.com
Logged

Saudor

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Single signon Coppermine & Drupal
« Reply #27 on: August 06, 2007, 04:39:22 am »

go to Administer, Site configuration & cpg module settings

The above is valkid for Drupal 5.

Cas

hmm..cant seem to find that option in drupal 5.1? Does it not work in 5.1? Thanks
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Single signon Coppermine & Drupal
« Reply #28 on: August 06, 2007, 08:51:46 pm »

Just upgraded to Drupal 5.2 and those options are still there.
You do need to activate this module under Sitebuilding-Modules though.

Cas
Logged

rmas

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Single signon Coppermine & Drupal
« Reply #29 on: August 27, 2007, 04:35:13 pm »

hmm..cant seem to find that option in drupal 5.1? Does it not work in 5.1? Thanks
I'm using drupal 5.2 with drupal5_cpg and also can't find "Administer, Site configuration & cpg module settings" . I assume I need to go there to define the path to coppermine
drupal is installed in my document root directory
coppermine 1.4.12 is installed in a sub-directory
cpg module is enabled
coppermine appears in the top-level menu
coppermines password is set using profiles
Maybe I'm missing something?
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Single signon Coppermine & Drupal
« Reply #30 on: August 28, 2007, 08:25:49 pm »

Have done a test from scratch and if you follow the instructions, it works on my machine:
*******************
Within Drupal you need to activate the Profiles module.
This module allows you to add fields to the user definition
Go to the profile module
Add a single line text field with the following criteria :
Category : Passwords
Title : Your Coppermine Password
Formname : profile_cpg_pwd
Explanation : The password you use to access the Coppermine photo gallery
Check  option : Private field, content only available to privileged users
Click Save the field
Now if you go to your account, you will notice a new Tab called Passwords.
Here you can enter your Coppermine password. This allows you to also use Coppermine outside Drupal
*********

Make sure you use the correct name for the field and that you have entered a password under your account.

Cas
Logged

rmas

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Single signon Coppermine & Drupal
« Reply #31 on: August 29, 2007, 03:49:07 am »

Have done a test from scratch and if you follow the instructions, it works on my machine:
Followed instructions, but didn't work
Now I've done a clean re-install and it works perfectly.
Previous coppermine installation was an upgrade to 1.4 from v1.3.3 - don't know whether that might have caused a problem.
:-[ Sorry to have prompted you to do another test. 
Thanks for a great module- exactly what I need   :)
Logged

jolly

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Single signon Coppermine & Drupal
« Reply #32 on: March 10, 2009, 10:18:17 am »

Is there any module  which working with drupal 6.8 ?
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Single signon Coppermine & Drupal
« Reply #33 on: March 10, 2009, 12:41:02 pm »

No, not at the moment.
Is somewhere on my todo list but have no target for that
Logged

jolly

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 34
Re: Single signon Coppermine & Drupal
« Reply #34 on: March 11, 2009, 12:30:22 pm »

Is 100$ makes this case at 1st place on your list ?
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Single signon Coppermine & Drupal
« Reply #35 on: March 12, 2009, 05:26:18 pm »

No that will not help. This activity is something on the side next to my normal job.
There are various other things which I really need to habdle first...........
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.024 seconds with 19 queries.