Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of geistschatten
    geistschatten
    Participant

    @geistschatten

    So I got it to work when I put this after line 287:

    add_filter('bp_get_activity_action', 'pccf_filter');
    add_filter('bp_get_activity_content_body', 'pccf_filter');
    add_filter('bp_get_the_topic_title', 'pccf_filter');
    add_filter('bp_get_the_topic_post_content', 'pccf_filter');
    add_filter('bp_activity_comment_content', 'pccf_filter');

    I’m not really one for PHP though, so I’m not sure if that works entirely fine. I was able to filter the comments with that code too.

    Basically you’re adding it to the plugin filters so that it thinks it should also filter through the comments and activity.

    For further reference, line 284 should start like this and then end where it says “//bbPress specific filtering…” (make sure the apostrophes are showing up right, if you copy and paste code sometimes they get messed up but look the same, that’s why the comments weren’t happening before):

    	if ( isset( $tmp['chk_post_content'] ) ) {
    		if ( $tmp['chk_post_content'] == '1' ) {
    			add_filter( 'the_content', 'pccf_filter' );
    			add_filter( 'get_the_excerpt', 'pccf_filter' );
    add_filter('bp_get_activity_action', 'pccf_filter');
    add_filter('bp_get_activity_content_body', 'pccf_filter');
    add_filter('bp_get_the_topic_title', 'pccf_filter');
    add_filter('bp_get_the_topic_post_content', 'pccf_filter');
    add_filter('bp_activity_comment_content', 'pccf_filter');
    		}
    Avatar of geistschatten
    geistschatten
    Participant

    @geistschatten

    One more question:
    3) I also noticed that when a new reply is posted, the chat window doesn’t scroll to the reply, so you have to scroll down every time. That’s more of a nuisance than anything, but I read somewhere you can add some jQuery code to a field like that to help it auto-scroll?

    Avatar of geistschatten
    geistschatten
    Participant

    @geistschatten

    Seems to have helped here too! Just having a few of my members test it out. You leave the code in place permanently, correct?

    Avatar of geistschatten
    geistschatten
    Participant

    @geistschatten

    I found the quick solution! I clicked Appearance > Theme Options in the WP dashboard, there was a little tip that talks about the new WP admin bar. So I added `define(‘BP_USE_WP_ADMIN_BAR’, false);` to my wp-config.php file right above “/* That’s all, stop editing! Happy blogging. */” and it worked perfect!

    Personally I was disappointed in the absence of a quick option to just go back to the BuddyBar, the new WP admin bar just didn’t appeal to me. Happy BuddyPressing! =)

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