Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorpeanut
    • CommentTimeSep 28th 2005
     
    Hi All

    First of all ... excellent script! Exactly what I was looking for. Just 2 questions ...

    1. As strange as it may sound, how do I remove the login feature when I log into the admin section?

    2. How do I resize the pages to make the whole page fit into a 1024 x 764 resolution? I presume it would be somewhere in the CSS?

    Thanks in advance!
    •  
      CommentAuthoranti
    • CommentTimeSep 28th 2005
     
    To remove the login screen

    1. Open up admin/plog-globals.php in a text editor
    2. Locate the following line
    if (!isset($_SESSION["plogger_logged_in"])){
    (it's on or around line 33) and comment the whole if block out

    Afterwards it should look like this:

    /*
    if (!isset($_SESSION["plogger_logged_in"])){
    header("Location: index.php");
    exit;
    }
    */
    • CommentAuthorpeanut
    • CommentTimeSep 29th 2005
     
    Thanks for the reply anti. I commented the whole block out but it didnt work. Is it only the block in the plog-globals.php file I have to block out?
    •  
      CommentAuthoranti
    • CommentTimeSep 29th 2005
     
    Yes, that's all. You should now be able to access /admin/plog-upload wihout ever entering a password.

    If you want http://yourgallery/admin work as well, then open admin/index.php and add the following lines to the beginning of the file (after <?php)

    header("Location: plog-upload.php");
    exit;
    • CommentAuthorpeanut
    • CommentTimeSep 29th 2005
     
    ahhhhhh! I did not change my link from index.php to plog-upload.php. Works like a charm!
    Thanks