I had to go into the code and comment out some lines in order to allow guests to view coppermine through the postNuke link.
I tried every option in the pnCPG admin panel first, but gave up when nothing seemed to work.
I am looking for a reason why only registered / logged in users of postNuke are able to view.
Thanks in advance for any help. Here is what I commented out:
//if ($guest<1){
//pnRedirect($home) ;
//}
What are your settings within pnCPG ?
Cas
You need to comment out the following in "index.php" in the /modules/pnCPG folder. The code has changed a bit from a the earlier query on the same topic, so it looks different. From what you noted as being commented you have not included enough.
For lines 11 - 16 of the code, add the comment codes noted in red, save, and upload the modified index.php to the server.
/*if (!pnUserLoggedIn()) {
if ($guest<1){
pnRedirect($home) ;
}
}*/
I will dive into this issue, thought i solved this one !!
Cas