theclearing (@theclearing)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • more or less resolved the CSS integration problem.

    I used Firefox along with the Firebug Add-on to trouble-shoot problem areas. All I can suggest if you have the same problem is have patience and use trial and error.

    To fix the backslash problem:

    Open bb-includes/template-functions.php

    Search for – function post text

    add these two lines between the brackets:

    global $bb_post;

    return stripslashes($bb_post->post_text);

    It should look something like this:

    function post_text( $post_id = 0 ) {

    echo apply_filters( ‘post_text’, get_post_text( $post_id ), get_post_id( $post_id ) );

    global $bb_post;

    return stripslashes($bb_post->post_text);

    }

    Next search for – function get_post_text ( it should be just below the other function)

    add these two lines again between the brackets:

    global $bb_post;

    return stripslashes($bb_post->post_text);

    It should look something like this:

    function get_post_text( $post_id = 0 ) {

    global $bb_post;

    return stripslashes($bb_post->post_text);

    $bb_post = bb_get_post( get_post_id( $post_id ) );

    return apply_filters( ‘get_post_text’, $bb_post->post_text, $bb_post->post_id );

    }

    I’m sure this is sloppy but it worked for me. Hope this helps

    resolved the backslash problem.

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