no list albums and links others for no registred users at index no list albums and links others for no registred users at index
 

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

no list albums and links others for no registred users at index

Started by pearlxjam, February 09, 2005, 03:11:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pearlxjam


Nibbler

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

pearlxjam

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


pearlxjam

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