Installation Instructions
-------------------------

1. Install Coppermine and Drupal (see their respective installation
   documents).

2. Copy the script index_dr.php into your Coppermine installation.

3. Create a new page, remember the Node ID

4. Set the content to php.

5. The content of this page should be :

<?php
Global $user;
$url="http://www.xxx.com/coppermine/index_dr.php?parm=" ;
$url .= $user->name ;
$url .="|" ;
$url .= $user->mail ;
echo "<iframe src='$url' align='center' width='100%' height='800px' space=0 vspace=0 marginwidth=0 marginheight=0 frameborder=0 scrolling=auto name='pnCPG' onload='parent.scrollTo(0,0);' ></iframe>";
?>

Make sure you include the start and closing PHP tags.
Clearly adjust the URL variable to point to your own Coppermine installation.

6. You can access the page with "node/node-id from within a Drupal menu.

Cas Nuy <cas@nuy.info>
www.casnuy.com

BEFORE YOU INSTALL COPPERMINE
Password encryption
===================
During the upgrade from 1.3x to 1.4.1 you have been asked if you like to start encrypting your passwords. If you said "yes" pnCPG will not work without changing a setting "under water".
Installing from fresh does not even ask, just encrypts.
I have asked the developers to have it available as a choice but they are (untill now) not willing to do so.
There is a way to make it work again :
1. Open the database with a tool like phpMyAdmin
2. Select the table cpg141-config (possible you have a different prefix)
3. Find the record with the key "enable_encrypted_passwords" (record 104 in a fresh install)
4. Set the value to 0
