Hi,
I’ve just purchased the “Facebook Like User Activity Stream for BuddyPress” plugin, and its currently not showing the activity from people the user is following.
Any help greatly appreciated.
Hi Laurie,
My apologies for the inconvenience.Since most the users are only interested in seeing the activity of the users they follow, This plugin includes that by default.
Still, It is very easy to make it include the activity of followers. You can add following line to your bp-custom.php or theme’s functions.php and It will include followers activity too
add_filter( 'fblike_activity_get_friend_ids', 'fb_like_custom_include_follower_user_ids', 10, 2 ); function fb_like_custom_include_follower_user_ids( $user_ids, $current_user_id ) { $follower_ids = bp_follow_get_followers( array( 'user_id' => $current_user_id ) ); return array_merge( $user_ids, $follower_ids ); }
Hope that helps.
Thank you
Brajesh
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
This topic is: not resolved