Skip to:
Content
Pages
Categories
Search
Top
Bottom

Personal + Friends activity = ‘All’ activity tab?


  • BackpackersUnion
    Participant

    @backpackersunion

    Is it possible to add an “All” activity tab to the Activity Submenu on a users profile (Personal + Friends = All [Excluding none friends, unlike the main feed])? It appears an issue preventing this was fixed in this trac, but I haven’t seen any successful implementation of this using bp-custom or a child function.php.

    The only viable solution I’ve seen is this plugin which goes beyond what I’d need. Has anyone had any luck implementing this with custom code (or even modifying a page template as a last resort)?

    Thanks!

    BP + WP Current Versions, 2014 theme

Viewing 4 replies - 1 through 4 (of 4 total)

  • sharmavishal
    Participant

    @sharmavishal

    can u check buddypress wall plugin if that would meet ur requirements?


    BackpackersUnion
    Participant

    @backpackersunion

    @sharmavishal Thanks for the suggestion! “BuddyPress Wall” goes beyond what I’m looking for and seems to have quite a few unhappy users (Even most of the 5 star reviews are issues). So, I’m afraid it will cause more issues than it would solve.

    I’ve found a tutorial here using bp_parse_args() to create an activity loop with ‘Personal’ and ‘Friends Activity’ only, but not a way to isolate the loop into its own subnav tab “All” (The code currently effects all activity loops universally [i.e. Friends, Personal, Mentions, Favorites, Site wide, all become Friends+Personal loops]).

    Here’s the code to filter the activity loop into Friends+Personal,

    function my_filter_activity( $loop ) {
        
        $loop['scope'] = 'just-me,friends';
     
        return $loop;
    }
    add_filter( 'bp_after_has_activities_parse_args', 'my_filter_activity' );

    The next step would be isolating the loop into an ‘All’ activity subnav tab/button.

    Any ideas?


    sharmavishal
    Participant

    @sharmavishal

    Regrets am not a coder.. Try wall plugin of buddyboss…else check this

    Me and My Friends Only Activity Stream

    The author bp-help has done some good work


    BackpackersUnion
    Participant

    @backpackersunion

    Brajesh with BuddyDev coming through with the save!

    Make your BuddyPress Sitewide Activity Stream Friends Only

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar