BuddyDev

Search

[Resolved] Facebook Like User Activity Stream Feature Suggestion

  • Participant
    Level: Master
    Posts: 474
    Tosin on #40917

    YES buddypress follow plugin from github

  • Keymaster
    (BuddyDev Team)
    Posts: 19540
    Brajesh Singh on #40921

    Thank you.

    Please put this code in your bp-custom.php

    
    // Disables 'follow' sub nav in activity.
    add_filter( 'bp_follow_show_activity_subnav', '__return_false' );
    
    

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 474
    Tosin on #40924

    Thanks for the feedback but the code did not work for activity directory it only worked for the user’s profile page

    see image I want it removed from the sitewide activity directory https://ibb.co/pzfcvJc

  • Keymaster
    (BuddyDev Team)
    Posts: 19540
    Brajesh Singh on #40948

    Hi Tosin,

    Please add the following code too.

    
    
    // disables activity directory follow tab.
    add_action( 'bp_follow_activity_loaded', function () {
    	remove_action( 'bp_before_activity_type_tab_friends', 'bp_follow_add_activity_tab' );
    
    } );
    

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 474
    Tosin on #40959

    Thank you Brajesh the code worked perfectly im marking this as resolved. I will raise the feature request about this plugin (https://wordpress.org/plugins/bp-whats-hot/) another time.

  • Keymaster
    (BuddyDev Team)
    Posts: 19540
    Brajesh Singh on #40971

    Thank you Tosin.

    Regards
    Brajesh

The topic ‘ [Resolved] Facebook Like User Activity Stream Feature Suggestion’ is closed to new replies.

This topic is: resolved