Single signon Coppermine & Drupal - Page 2 Single signon Coppermine & Drupal - Page 2
 

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

Single signon Coppermine & Drupal

Started by casNuy, November 24, 2005, 10:33:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

perfecthill


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/

casNuy

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

supafloh

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?

casNuy

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

perfecthill

#24
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

casNuy

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

idezmax


Saudor

Quote from: casNuy on March 01, 2007, 09:39:03 PM
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

casNuy

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

Cas

rmas

Quote from: Saudor on August 06, 2007, 04:39:22 AM
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?

casNuy

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

rmas

Quote from: casNuy 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:
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   :)

jolly

Is there any module  which working with drupal 6.8 ?

casNuy

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

jolly

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

casNuy

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...........