Not signed in (Sign In)

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

    • CommentAuthortryfuhl
    • CommentTimeSep 30th 2008 edited
     
    THIS ISSUE SEEMS TO BE FIXED BUT PLEASE CHECK 2ND REPLY/3rd post FOR NEW ISSUE!!1 THANK YOU!!1

    Hi, loving the software so far with the exception one one issue.

    Let me preface this by saying that I have not yet modified anything in the software and it is the newest copy available from the site.

    I have Plogger setup in a subdirectory such as url.com/gallery/. In the options in the Admin CP it also shows as url.com/gallery/. I even verified that this was the case in the database.

    However, when I try to browse to page 2 in the Collections, it tries to take me to url.com/?plog_page=2 rather than url.com/gallery/?plog_page=2.

    This is the only case that I can find it happening. When in the Admin Control Panel if I go to manage and click for page 2 on the collections, it takes it correctly to plog-manage from within /gallery/admin/. But as stated, when just viewing it as a normal person, it doesn't send you to the gallery subdirectory when traveling pages in Collections.

    If I go into an album and click the Collections link to go back to Collections, it goes to url.com/gallery/ just fine, this is literally the only thing not working.

    Any clue how to fix this or where the code that changes pages is at? Is there an .htaccess function that I can add? Maybe something in plog-functions for generating the pages is off?

    Please help and thank you in advance!
    • CommentAuthortryfuhl
    • CommentTimeSep 30th 2008 edited
     
    I believe that I have solved this issue. I read some issues with other people having writing problems, but not quite this one (they were having issues with &s instead of ?s). It led me to a bit of code:

    // if adding arguments to mod_rewritten urls, then I need ? (question mark) before the arguments
    // otherwise I want &
    $last = substr($url,-1);

    if ($last == "/") {
    //$url = substr($url,0,-1);
    $separator = "?";
    } else {
    $separator = "&";
    }


    I wasn't quite sure why the if statement would have its function commented out and figuring that since my separator should have been ? and not &, I decided to remove the comment blocks (//) from in front of the function. Voila, it works!
    • CommentAuthortryfuhl
    • CommentTimeOct 1st 2008
     
    Okay, here we go, another issue, hopefully I can fix, but if I don't, might as well submit this.

    Now when I go into an album, and try to view page two it displays as such... url.com/gallery/collectionname/albumname?plog_page=2

    whereas it should be "url.com/gallery/collectionname/albumname/?plog_page=2" with a slash after the albumname to direct it to the url within that directory rather than a false url

    like I said, I will try to fix this on my own, but any help would be appreciated
    • CommentAuthortryfuhl
    • CommentTimeOct 9th 2008
     
    help? :)