Skip to:
Content
Pages
Categories
Search
Top
Bottom

Weird permalink problem..


  • spencerp
    Member

    @spencerp

    Since I moved my domain name back onto Dreamhost.com, the “Options +MultiViews” line in the .htaccess file works partly, but not fully for ALL the links.. =/

    When adding that line, the memberlist and pm links work, but, when clicking on a username, or forum link, I get the old “No input file specified” message.. ?

    Now, when I use the rewrite rules from bb-admin/rewrite.php or whatever.. upload that to the forum’s root, then the memberlist and pm links don’t work.. >_<

    Does anyone have a clue, or work around for this maybe? Like, maybe adding a few lines in the bb-admin/rewrite.php verion of the .htaccess, just for those plugin links? Any thoughts, suggestions and such are welcome.. ;) :)

    http://spencerp.net/forums/

    spencerp

Viewing 6 replies - 1 through 6 (of 6 total)

  • ardentfrost
    Member

    @ardentfrost

    I know all the memberlist and pm links check for is if $bb->mod_rewrite is set to true… that’s in your config file.

    When you do the thing to make the rest of the forum work, does going to mlist.php work?


    spencerp
    Member

    @spencerp

    Hey Josh, yeah.. this link works:

    http://spencerp.net/forums/mlist.php

    Same for the pm.php one:

    http://spencerp.net/forums/pm.php

    Except whenever clicking on a message title link, and anything else related to that section, or what-not, it gives a 404.. =/ =( Is there a way to keep this from happening.. ?

    spencerp

    /I think this came up some where before, but I can’t find it now, my mind is spinning with so much crap going on lately sigh.. can’t think straight these days.. =P


    ardentfrost
    Member

    @ardentfrost

    you can look in bb-memberlist.php and bb-privatemessages.php in my-plugins and take out the part that looks for $bb->mod_rewrite. Of course, then it would just try to use mlist.php and pm.php


    spencerp
    Member

    @spencerp

    Thanks Josh, I took out the “if else” statements in the two main plugin files, and it’s working now.. ;):)

    In bb-memberlist.php found this:

    function bb_get_memberlist_link( $tag = ” ) {

    global $bb;

    if ( $bb->mod_rewrite )

    $r = bb_get_option(‘uri’) . “mlist” . ( ” != $tag ? “?$tag” : ” );

    else

    $r = bb_get_option(‘uri’) . “mlist.php” . ( ” != $tag ? “?$tag” : ” );

    return apply_filters( ‘get_memberlist_link’, $r );

    }

    Changed to this:

    function bb_get_memberlist_link( $tag = ” ) {

    global $bb;

    $r = bb_get_option(‘uri’) . “mlist.php” . ( ” != $tag ? “?$tag” : ” );

    return apply_filters( ‘get_memberlist_link’, $r );

    }

    Then, in bb-privatemessage.php.. Find these two:

    (near top of file)

    function get_pm_fp_link( $tag = ” ) {

    global $bb;

    if ( $bb->mod_rewrite )

    $r = bb_get_option(‘uri’) . “pm” . ( ” != $tag ? “$tag” : ” );

    else

    $r = bb_get_option(‘uri’) . “pm.php” . ( ” != $tag ? “$tag” : ” );

    return apply_filters( ‘get_pm_fp_link’, $r );

    }

    Changed to this:

    function get_pm_fp_link( $tag = ” ) {

    global $bb;

    $r = bb_get_option(‘uri’) . “pm.php” . ( ” != $tag ? “$tag” : ” );

    return apply_filters( ‘get_pm_fp_link’, $r );

    }

    Then, near the middle of the file, find this one:

    function bb_get_pm_link( $tag = ” ) {

    global $bb;

    if ( $bb->mod_rewrite )

    $r = bb_get_option(‘uri’) . “message” . ( ” != $tag ? “$tag” : ” );

    else

    $r = bb_get_option(‘uri’) . “message.php” . ( ” != $tag ? “$tag” : ” );

    return apply_filters( ‘get_pm_link’, $r );

    }

    Changed it to this:

    function bb_get_pm_link( $tag = ” ) {

    global $bb;

    $r = bb_get_option(‘uri’) . “message.php” . ( ” != $tag ? “$tag” : ” );

    return apply_filters( ‘get_pm_link’, $r );

    }

    This should be it, and should be right.. it’s working for me now, at least.. Hope it maybe helps someone else out there.. ;):)

    spencerp

    My problem is different. I moved all my WP & BBpress file into different directory in my server. Then all the links lead to 404 pages. I updated permalinks (by a single click) in wordpress and it solves the problem. Now i can’t update it in my BBpress site. Any help will be very appreciated.

    Thanks.


    chrishajer
    Participant

    @chrishajer

    Please start a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar