Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: BuddyPress multisite Blog Comment Stream

@nicholmikey

Participant

Tried this plugin and it worked ok : https://buddypress.org/community/groups/buddypress-activity-as-blog-comments/

It did not work on sub blogs as it was making bad links for the reply, favorite, and remove favorite buttons. I type this out into my bp-custom.php file and now it all works fine :

`//fix replying to activity streams on sub blogs
add_filter(‘bp_get_activity_favorite_link’,’fix_activity_link’,10,2);
add_filter(‘bp_get_activity_unfavorite_link’,’fix_activity_link’,10,2);
add_filter(‘bp_get_activity_comment_form_action’,’fix_activity_link’,10,1);

function fix_activity_link($link,$setting=’none’){

$root = $_SERVER;
$pos = strpos($link, ‘/activity/’);
$length = strlen($link);
$fixed_link = ‘http://’ . $root . substr($link,$pos,$length);
return $fixed_link;
}`

Skip to toolbar