-
Author
Tagged: kleo, Activity Feed, buddypress
-
July 14, 2015 at 00:25 #68112fg123Participant
How would I remove the “All Members” tab in the activity feed? I have been researching online on how to do this, but I can’t figure it out.
Many mention deleting a specific line or lines in the index.php under the buddypress folder.
I’m new to working with buddypress and new to child themes, so please help me out by putting any answers in the simplest possible form.
Thanks everybody!
July 14, 2015 at 13:23 #68192sharmstrModeratorput this in your theme options quick css
COPY CODE#activity-all { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 14, 2015 at 13:53 #68202sharmstrModerator🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 14, 2015 at 14:00 #68204fg123Participant@sharmstr If I could bother you with one more thing? Sorry! When I followed your instructions it did exactly what I needed. The last bit of the problem I am having is that when the page loads, it doesn’t automatically select the appropriate tab and it’s information. So I got rid of everything but the “my groups” tab and when I load the page, it shows activity from the “all-members” activity tab still.
Is there a way to make the site automatically select the “my groups” tab first?
Again, thank you so much for you help!
July 14, 2015 at 14:12 #68206sharmstrModeratorBefore I answer, are you saying that you only want to show activity from the groups that the user is a member of. That’s all?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
July 14, 2015 at 14:41 #68210sharmstrModeratorAsk on the buddypress forum the best way to do that. You can filter the loop with this code in your childs theme functions.php file, but the second page (load more) still shows all activity so you’ll need to ask the bp developers how to fix that.
COPY CODEfunction filtering_activity_default( $query ) { if ( empty( $query ) && empty( $_POST ) ) { $query = 'scope=groups'; } return $query; } add_filter( 'bp_ajax_querystring', 'filtering_activity_default', 999 );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.