Not signed in (Sign In)

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

    • CommentAuthormalemovies
    • CommentTimeNov 20th 2007
     
    Hi,
    I have recently installed plogger and finding it great except for one minor problem, when you finally click on any image it will take you directorly to the location of the image file however this is the link problem i am getting
    http://www.mydomainname.com/index.phpimages/etc/etc/image.jpg, its meant to be http://www.mydomainname.com/images/etc/etc/image.jpg. How can this be fixed up ?
    • CommentAuthorxenoriz
    • CommentTimeNov 23rd 2007
     
    It same here. It is a bug???? i even cannot create album.. i need to create it manually..
    • CommentAuthorxenoriz
    • CommentTimeNov 23rd 2007
     
    Hahahahaaaaaaaaaaaaaaaaaaaa............... this is my stupid solution.....

    Hope you understand what i'm writing here, coz i'm bad in english ;) and i dunno how to programming php, but i can read it.

    open plog-function.php and find this

    function plogger_get_source_picture_url() {
    global $config;
    return (!empty($config['allow_fullpic'])) ? $config["baseurl"].'images/'.SmartStripSlashes($GLOBALS["current_picture"]["path"]) : "#";
    }

    change this ---> $config["baseurl"].'images/'

    TO

    if you install plogger in specific dir like /plogger

    change to ---> 'http://www.yourdomain.com/plogger/images/'

    if you install plogger to main dir

    change to ---> 'http://www.yourdomain.com/images/'

    Remember to include ' '
    'http://www.yourdomain.com/images/' <-- correct
    http://www.yourdomain.com/images/ <-- wrong

    After that upload and overwrite plog-function.php at you server ;)

    Good Luck.... i already try it and it work!
    • CommentAuthorxenoriz
    • CommentTimeNov 29th 2007
     
    Huh david... your solution better than me. hahahaa... sorry.. that is because i dunno how to program with php. i try using your solution for my new gallery. so thank to jammindice to k.

    michaeloz..

    function plogger_get_source_picture_url() { <- find this
    global $config;
    return (!empty($config['allow_fullpic'])) ? $config["baseurl"].'images/'.SmartStripSlashes($GLOBALS["current_picture"]["path"]) : "#"; <- part u need to change
    }

    find code same like above, there are only one ;)