Info
- 5 posts
- 2 voices
- Started 4 years ago by theclearing
- Latest reply from theclearing
- This topic is resolved
CSS Integration problems
-
- Posted 4 years ago #
Having a few little problems with css integration.
Also a problem with backslashes appearing before apostrophes.
Would greatly appreciate help.
Thanks in advance...
-
- Posted 4 years ago #
resolved the backslash problem.
-
- Posted 4 years ago #
Please post your solution for the benefit of others who might be having the same problem. Thanks.
-
- Posted 4 years ago #
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
-
- Posted 4 years ago #
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.
-
You must log in to post.