Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: no list albums and links others for no registred users at index  (Read 3241 times)

0 Members and 1 Guest are viewing this topic.

pearlxjam

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
no list albums and links others for no registred users at index
« on: February 09, 2005, 03:11:24 pm »

how i can do that? please help me  :\'(
Logged

Nibbler

  • Guest
Re: no list albums and links others for no registred users at index
« Reply #1 on: February 09, 2005, 03:12:13 pm »

Try explaining what you want properly. Moving this to appropriate board.
Logged

pearlxjam

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: no list albums and links others for no registred users at index
« Reply #2 on: February 09, 2005, 03:38:21 pm »

i don't like show album list, last files .... only if the users are logged i show my pictures. how i can do that?
Logged

pearlxjam

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: no list albums and links others for no registred users at index
« Reply #4 on: February 09, 2005, 04:46:45 pm »

ok but where i can edit?

edit
displayimage.php and index.php and search.php and thumbnails.php
and search for

require('include/init.inc.php');


and add after it

if (USER_ID){
                        ???????????????????????  what is this? all the script?
} else {
{
   $redirect = $redirect . "login.php";
   header("Location: $redirect");

   exit();
        }
}



is only for album list link
« Last Edit: February 09, 2005, 04:58:33 pm by pearlxjam »
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.