BuddyDev

Search

FB-like activity stream vs "sitewide activity"?

  • Participant
    Level: Enlightened
    Posts: 72
    Vivek Mathur on #23705

    Hi Brajesh, have a query about activity stream comparing the two pages below:

    1. https://yopune.com/members/jacksparrow/activity/ (ALL- ACTIVITY) FROM FB LIKE ACTIVITY PLUGIN

    2. https://yopune.com/activity/ (ALL MEMBERS TAB) – IS THIS THE ‘SITEWIDE ACTIVITY” – though it does show different results for diff users

    These two pages have the same activities listed – is that as expected?

    Some differences :

    1 : Has filters: UPDATES,NEW GROUPS,GROUP MEMBERSHIPS, GROUP UPDATES, POSTS, COMMENTS,LIKES
    2 : Has filters: NEW MEMBERS, PROFILE UPDATES + ALL FILTERS IN 1.

    1. HAS OPTION TO SELECT GROUP OR PROFILE TO POST WHATS NEW
    2. DOES NOT HAVE THIS OPTION?

    1. HAS COVER / PROFILE IMAGE AND MAIN TABS
    2. DOES NOT HAVE COVER IMAGE AND MAIN TABS

    For Reshare plugin:
    1. https://yopune.com/members/jacksparrow/activity/reshare/ (ACTIVITY > RESHARED ACTIVITIES TAB) – Shows members activities which are reshared by other members
    2. https://yopune.com/activity/ (MY RESHARES TAB) – Shows other members’ activities, which have been shared by this user (ie this users shared activities)

    Is there a way to get in this page : https://yopune.com/members/jacksparrow/activity/ the 2 main features available on the /activity page:
    1. Add the option to select posting on profile or one of the groups I am a member of
    2. Add the “My Reshares Tab” – showing me the activities which I have shared.

    Once this is done, then how can I redirect https://yopune.com/activity/ to the https://yopune.com/members/jacksparrow/activity/ for all users except admin?

    Any help with this would be hugely appreciated.
    thanks, Vivek

    FYI – i am not using friends but am using the BP Followers plugin

  • Participant
    Level: Enlightened
    Posts: 72
    Vivek Mathur on #23706
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #23708

    Hi Vivek,

    1. The difference depends on your FB Like Activity stream settings. If you have marked sitewide activity as well as personal stream to act like FB, they both will show same entries.

    Otherwise, the sitewide activity stream shows all activity from your site while the personal stream shows only related to the user.

    2. The FB Like Activity stream plugin works with BuddyPress Follow.

    3. About Reshare. I haven’t used it recently. Did use it a few years ago on some projects(2 projects to be precise). I assume you are using imath’s version from github? Will need some time to test and assist with Reshare.

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 72
    Vivek Mathur on #23749

    Thanks very much, Brajesh

    So i will keep the FB_like activity enabled for both “Activity Directory” and “User Profile” , but i am not sure how a user can access the domain.com/activity.

    I am accessing the sitewide activity stream by typing the url : domain.com/activity

    I would prefer to not confuse the user with 2 activity streams, and hence work only with members/username/activity. So, is there any way I can

    1. redirect users (except admin) from domain.com/activity to domain.com/members/username/activity to avoid confusion about 2 activity streams for the user

    2.Add the option to select posting on profile, or one of the groups I am a member of on the members/username/activity update box

    3.Add the “My Reshares Tab” (showing me the activities which I have shared), which is present under the domain.com/activity tab, to the domain.com/members/username/activity tab

    Any suggestions would be hugely appreciated.

    thanks, Vivek

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #23776

    Hi Vivek,
    Thank you.

    1. Yes, I can write a few lines of code for it. It is simple.

    2. That depends on theme and will need modification in theme’s activity posting form. It is available by default on directory but will be hidden on profile page for most of the theme.

    3. I am going to take a relook at the reshare plugin this weekend(your other topics related to the same) and will update you accordingly.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 72
    Vivek Mathur on #23782

    1. Thanks very much, Brajesh- that will be very useful. Can you share that please

    2. yes- have flagged it to the theme developer

    3. That will be super, and hugely appreciated. I have updated my observations on RESHARE in the thread https://buddydev.com/support/forums/topic/fb-like-activity-list-bp-reshare-plugin/

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #23938

    Hi Vivek,
    Hope you are doing well.

    1. Redirect all logged users except admin, to their profile activity from the sitewide activity

    
    add_action( 'bp_template_redirect', function () {
    
    	if ( is_user_logged_in() && bp_is_activity_directory() && ! is_super_admin() ) {
    		bp_core_redirect( bp_loggedin_user_domain() . bp_get_activity_slug() . '/' );
    	}
    } );
    
    

    3. I tested the BP Reshare(imath’s github repo) and the last update was from June 7.
    It is broken currently. The profile reshare tab does not work. The sitewide activity stream reshare tab is the only thing that works.

    Also, It is not generating a new activity for reshare. I will not suggest using it in its current state.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved