Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Changing the default index page  (Read 2972 times)

0 Members and 1 Guest are viewing this topic.

callahan

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Changing the default index page
« on: December 26, 2005, 01:39:35 am »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing the default index page
« Reply #1 on: December 26, 2005, 09:48:52 am »

in coppermine's config, use the option "Allow unlogged users (guest or anonymous) access". Please read the docs before asking questions.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.