• Brayden96

    (@brayden96)


    Hello Ray,

    I’m really happy to see some new activity happening with this plugin as it is a great plugin.

    I am just curious on how you would add a follow button to the activity stream, I stumbled upon this code but I am not sure how exactly to use it.

    bp_get_activity_user_id(),’follower_id’=>$bp->loggedin_user->id)) ?>

    Is there anything I have to echo for the button to appear? Any help would be appreciated, thanks.

    https://ww.wp.xz.cn/plugins/buddypress-followers/

Viewing 1 replies (of 1 total)
  • Thread Starter Brayden96

    (@brayden96)

    UPDATE: Why doesn’t this code add the follow button to the activity stream page, it only adds the button to the activity posts in a profile.

    function bp_follow_add_profile_follow_buttonn() {
    return
    }

    bp_follow_add_follow_button();
    }
    add_action( ‘bp_activity_entry_content’,’bp_follow_add_profile_follow_buttonn’ );

Viewing 1 replies (of 1 total)

The topic ‘Adding Follow Button to Activity Stream -Please Help’ is closed to new replies.