Changing the default index page Changing the default index page
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Changing the default index page

Started by callahan, December 26, 2005, 01:39:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

callahan

Hi,

I've just upgraded to the latest version of Coppermine. All went smoothly but I need to change the setup back to prompt users to logon before they can see any pics in the albums. It's been a while since I did this so a memory jog is required. The sction in the FAQ -

edit
displayimage.php
and search for

/**************************************************************************
* Local functions definition
**************************************************************************/


and add before it
if (!USER_ID) cpg_die(ERROR, 'You need to register to access this page', __FILE__, __LINE__);

doesn't cover it so if anyone can tell me which file to edit and with what I'd appreciate it.

Cheers.

Joachim Müller

in coppermine's config, use the option "Allow unlogged users (guest or anonymous) access". Please read the docs before asking questions.