Not signed in (Sign In)

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

    • CommentAuthorkoko
    • CommentTimeDec 7th 2005
     
    hi,

    I would like to make a Plogger install on this page:

    http://kokohuyb.dyndns.org:8084/~koko/ChronosCSS/ingebruik.php

    But the folder with plogger is in

    http://kokohuyb.dyndns.org:8084/~koko/ChronosCSS/album

    If I modify the index.php, my includes aren't handled right (I am on a level deeper now), but when I just put the 3 line of code on ingebruik.php, is also gives problems with the levels. Is there a solution so I can make it working??
    • CommentAuthorniceday
    • CommentTimeDec 8th 2005
     
    Would you like to post here the content of ingebruik.php file?
    • CommentAuthorkoko
    • CommentTimeDec 8th 2005
     
    <?php include("connect.inc.php"); ?>
    <?php require("album/gallery.php"); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html>
    <head>
    <title>Chronos Timing: Home</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="description" content="De Homepage van Chronos Timing System">
    <meta name="keywords" content="Laptimer,Laptiming,Chronos,Chronos Timing,Chronos Timing System,Rondetijden,Chronometer">
    <meta name="owner" content="huybkoen@gmail.com">
    <meta name="author" content="koko">
    <meta http-equiv="expires" content="Never">
    <meta http-equiv="charset" content="ISO-8859-1">
    <meta http-equiv="content-language" content="Other">
    <meta http-equiv="vw96.object type" content="Index">
    <meta name="rating" content="General">
    <meta name="ROBOTS" content="index,follow">
    <meta name="REVISIT-AFTER" content="7 days">
    <meta name="ROBOTS" content="ALL">
    <link href="CSS/Stijlen.css" rel="stylesheet" type="text/css">
    <link rel="shortcut icon" href="Images/favicon.ico" >
    <?php include('googleanalytics.inc.php') ?>
    <?php the_gallery_head(); ?>
    </head>
    <body>
    <div id="force-scrollbar" style="height:0px; width:0px;" ></div>
    <div id="pagina">
    <?php include("header.inc.php"); ?>
    <div id="menu">
    <?php include("menu.inc.php"); ?>
    </div>
    <div id="inhoud">
    <?php the_gallery(); ?>
    </div>
    <div style="display: none;">
    <a href="http://www.chronostiming.be/hextra/lecternodd.php">lexicon</a>
    </div>
    </div>
    </body>
    </html>
    •  
      CommentAuthormike
    • CommentTimeDec 8th 2005 edited
     
    I'm afraid your gallery page (ingebruik.php) has to be in the same folder as gallery.php. Just move it up into album folder, change your includes ( require("album/gallery.php"); becomes require("gallery.php"); and include("header.inc.php"); becomes include("../header.inc.php"); etc.).

    The paths should resolve properly if you do this.
    • CommentAuthorkoko
    • CommentTimeDec 8th 2005
     
    hi,

    Thank you for the answer, I don't really like it, but I'll work with it ;-(

    koko
    • CommentAuthorniceday
    • CommentTimeDec 8th 2005 edited
     
    Mike, it is doable if we modify the value of $config["baseurl"] in plog-load_config.php file. Instead of using $_SERVER predefined variable to determine the baseurl, we can assign it manually in this case.

    Koko, open plog-load_config.php and set $config["baseurl"] as the following:
    $config["baseurl"] = "http://kokohuyb.dyndns.org:8084/~koko/ChronosCSS/album";

    Then in your ingebruik.php file just include the gallery.php file using
    <?php require("album/gallery.php"); ?>

    I did it successfully in :
    http://bne.neoboffinhosting.com/test
    which actually showing the album I previously installed in
    http://bne.neoboffinhosting.com

    I hope I correctly understood the issue here... and I hope this helps
    • CommentAuthorkoko
    • CommentTimeDec 9th 2005
     
    Almost ;-)

    I would like to surf to images without entering album/index.php (and now, when i click an images, i have to go to album/index.php)

    koko
    • CommentAuthorniceday
    • CommentTimeDec 11th 2005
     
    Koko, in that case you have to modify the generate_url function in plog-functions.php as well. Rename your plog-functions.php file and replace it with this:
    http://www.sourcematic.com/library/plog-functions.zip

    See if it works. It should.
    • CommentAuthorkoko
    • CommentTimeDec 13th 2005
     
    hi,

    Thanks for this file!! It works very well!! :-D (as you see, I like it ;-) )

    Can I use the same file for another website, or is this impossible?? (do I have to edit values in there to make is work?)

    koko
    • CommentAuthorkoko
    • CommentTimeDec 13th 2005
     
    sorry, I found it (i have to edit 3 lines in the code)

    anyway I LIKE IT :-D

    koko
    • CommentAuthorniceday
    • CommentTimeDec 13th 2005
     
    No worries. It is good to hear that you got what you want with your gallery.
    • CommentAuthorkoko
    • CommentTimeJan 28th 2006 edited
     
    Hi,

    I'm having a problem again with this thing...

    http://kijk-tf.cheapass.be/album/ (url album)

    http://kijk-tf.cheapass.be/media.php (this is the way normal people will see)

    This works fine, BUT, when you click the image (to go to the gallery), he won't go to media.php, like it should be, but he goes to a folder!

    Does anyone have a clue what could be wrong??