Skip to:
Content
Pages
Categories
Search
Top
Bottom

CSS Integration problems

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

  • theclearing
    Member

    @theclearing

    resolved the backslash problem.


    chrishajer
    Participant

    @chrishajer

    Please post your solution for the benefit of others who might be having the same problem. Thanks.


    theclearing
    Member

    @theclearing

    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


    theclearing
    Member

    @theclearing

    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.

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