coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 pnCPG (Coppermine for postNuke/Zikula) => Topic started by: zoufri on October 30, 2006, 03:44:04 PM

Title: How can i get directly to coppermine through Postnuke without login
Post by: zoufri on October 30, 2006, 03:44:04 PM
Hello,
i have the same Problem but no Answer. I can see in cpg149 all thing without login directly from the CPG URL:

http://apartments.ap.funpic.de/cpg149/index.php

but when i start my postnuke website i get always the login windows.

http://apartments.ap.funpic.de

How can i resolve that ??

I have configured as start Site in Postnuke cpg.

Thanks
Zoufri

???
Title: Re: How can i get directly to coppermine through Postnuke without login
Post by: casNuy on October 30, 2006, 07:02:11 PM
within the settings of pnCPG you can allow for anonymous access, this seems disabled.

Cas
Title: Re: How can i get directly to coppermine through Postnuke without login
Post by: zoufri on October 30, 2006, 08:18:42 PM
Hello,
Hier are the Setting in CPG (user Settings):
Allow new user registrations  Yes       
Allow unlogged users (guest or anonymous) access  Yes   

I have solved the Problem, i have commented this lines in pncpg/pnuser.php :

/* $home .= "user.php?op=loginscreen&module=NS-User" ;
if (!pnUserLoggedIn()) {
   if ($guest<1){
      pnRedirect($home) ;
   }
}
*/

I think there is perhaps another solution.

I had the Problem with an Old version. In the Old Version i have done this modification in the file module/pncpg/index.php.

Thanks
zoufri
:)