WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Follow
Show "Following" entries of logged_in_user_id() on scope bp (1 post)

  1. mr-crunchy
    Member
    Posted 1 year ago #

    Hi,

    is there anyway to show the member's following activity?
    It seems that 'scope=following' isn't working at all.

    I've tried with this code, but I'm getting strange behaviours on the scope filter!

    $user_id = bp_loggedin_user_id();
    if ( bp_has_activities( 'user_id='.$user_id.'&scope=following' ) ) :
      while ( bp_activities() ) : bp_the_activity();
        if ( bp_get_activity_type() == 'new_blog_post') :
          locate_template( array( 'activity/entry.php' ), true, false );
        endif;
      endwhile;
    endif; ?>

    Any help?

    http://wordpress.org/extend/plugins/buddypress-followers/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic