Hi, I'm using pnCPG 3.2 and Coppermine 1.4.2 and I read somewhere there was a little hack so that Coppermine couldn't be accesed directly via web, so that everyone who wants to see the Coppermine web has to first go to my web and use the link there. Could someone give me a link to it? thnx ;)
Read the docs, it is in there.
Quote
Only PostNuke access
====================
In addition one needs to change a few files in Coppermine to have people always routed through pnCPG.
Insert the following code :
if (!USER_ID) cpg_die(ERROR, '<a href=../index.php?module=pnCPG&func=main target=_top>Click here to access the Gallery</a>', __FILE__, __LINE__);
into the following files :
index.php, thumbnails.php, search.php, dispaly(image/card).php and showthumb.php
Insert this code just after :
require('include/init.inc.php');
Cas