News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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