nanome (@nanome)

Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • In reply to: What is a bozo?

    @nanome

    Member

    I couldn’t find what a Bozo was either.

    Here is the link for others.

    https://bbpress.org/forums/topic/51?replies=4#post-241

    @nanome

    Member

    Weird as I am not having any trouble in the admin area.

    Prehaps, the more experienced mods here will be able to help.

    What are you running on?

    @nanome

    Member

    Last time I checked (about a minute ago :) ) I was still a man.

    Glad it worked for you as well.

    Since I only downloaded BBpress today this hack comes with “use at own risk warning”. Don’t know what other effects it may have on other parts of the script. Saying that, it works ok for me so far.

    @nanome

    Member

    Ghoulash and Spencerp

    Have a look at my post at the bottom of the thread.

    Same problem and not solved by the plug-in. A few tweaks and now works great.

    https://bbpress.org/forums/topic/700/page/2?replies=48

    @nanome

    Member

    Testing bbpress on localhost (xampp, windows) and viewing with firefox I get the same error in the stylesheet link.

    <link rel="stylesheet" href="http://localhost/leebbpress/bb-templates/kakumei/style.css" type="text/css" />

    Created the plugin as Trent suggested but that didn’t solve the problem. Played around with the code a bit and now it does work.

    Here is my hacked version.

    <?php

    function fix_bb_path_to_url( $url ) {
    $url = str_replace(array('//', '\\', '\'), array('/', '\', '/'), $url);
    return preg_replace( '|:/([^/])|', '://$1', $url );
    }

    add_filter( 'bb_path_to_url', 'fix_bb_path_to_url', 1, -1 );

    ?>

    Only difference is adding ‘\’ to the str_replace.

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