Personal + Friends activity = ‘All’ activity tab?
-
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
-
can u check buddypress wall plugin if that would meet ur requirements?
@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?
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
Brajesh with BuddyDev coming through with the save!
- You must be logged in to reply to this topic.