Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bainternet

    (@bainternet)

    This simply means that the BuddyPress activity stream is not using the_content filter to display the content as it should.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    It’s funny you mention that: it came up with another thread a while back.

    BuddyPress activity stream doesn’t use the_content filter. It uses bp_get_activity_content_body. 😉

    add_filter( 'bp_get_activity_content_body' , 'your_function_here' );

    I’m not sure how to add that to your plugin (or even if you’d want to consider that) but I was surprised when I saw that.

    Plugin Author Bainternet

    (@bainternet)

    If you have the last version (0.9.7) you can hook the filter to custom hooks using the newly added action hook User_specific_content_filter_add like this:

    add_action('User_specific_content_filter_add','enable_bp_activity');
    function enable_bp_activity($obj){
    	add_filter( 'bp_get_activity_content_body' , array($obj,'User_specific_content_filter' ));
    }

    Hello @bainternet,

    this plugin is exactly what i need, but then again i can’t seem to make it work with Buddypress. I’m not sure where to enter the action hook – in which file and where in that file.
    Would you please lighten this up for me?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘plugin doesn't work with buddypress activities stream’ is closed to new replies.