This page is dedicated to code snippets, small codes which might do big things. The current code snippets posted on this page are helpful towards Wordpress and Buddypress.
This is a small code snippet to change your single page activities title tags in Buddypress. This is especially helpful when you want better SEO for your Buddypress website.
Copy this code snippet in your Wordpress theme's functions.php to add a page slug body class to your pages. With it, you can style specific page CSS a lot easier.
Block ''updated_profile', 'new_avatar', 'new_member', 'friendship_accepted', 'friendship_created', 'joined_group', 'new_blog_comment', 'bbp_topic_create', 'bbp_reply_create', in Buddypress from being added to the activity stream with this code snippet.
This code snippet makes the sitewide activity stream only show updates from your friends (and by default yourself and the groups you're a member of). It comes in handy with big sites with lots of Buddypress activity updates.