Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: CSS Integration problems

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

Skip to toolbar