Want to add a country select field to your BuddyPress xprofile fields? This gem of a snippet provided by ShaneBP will do this automatically. Add the code below to your bp-custom.php file! Note: This only works for BP 2.1+ Thank you ShaneBP!
This one is for the theme developers! When you’re building a custom BuddyPress theme sometimes you need to enhance the activity stream with some jQuery magic. For example if you want to open images in a lightbox, or want to add some custom CSS classes to certain activity entries. The problem is that when the activity stream→
The snippet below will allow you to easily block certain activity types from being recorded from the activity stream. Step 1: Add the following snippet to bp-custom.php Step 2: Edit the blocked activity types You can add/remove activity types as you see fit. You can easily find the unique IDs of the activity types by→
The snippet below allows you to quickly display BuddyPress groups based on ID. Groups IDs can be found by hovering over the “Edit Group” button on the Group administration page. Fill in the Group IDs of the groups you want to use in the ‘Include” line. Props to Ryan aka Modemlooper!
I needed a simple way to hide the main site from showing up in the WordPress admin bar across my Multisite community. The following snippet shows you how to hide your main site from showing up from everyone except super admins Add the following to functions.php or your functions plugin // Add specific CSS class→
This quick tip comes in quite handy for those who are having issues with setting up BuddyPress 1.6+ and the BBPress 2 Forums. The Commons in a Box plugin is meant to make setting up your BuddyPress powered social network a snap. The plugin contains some code written by BuddyPress core developers Boone and R-A-Y→
Lately I’ve had a couple of people ask me if it was possible to show the most recent topics on the forum homepage of their BBPress Forums. This is quite easy by adding the following snippet to functions.php of your active (child) theme. You can see this in action on our PressCrew Community Forums. Enjoy!
Usually BP-Tricks is dedicated to bringing you tips and tricks related to BuddyPress but today we’re going to do something different. We’ll give you a quick tour of our latest Premium BuddyPress Theme called Balance! (Spoiler Alert: it’s the theme that is powering BP-Tricks right now) Completely Responsive design for your BuddyPress Community! Balance has→
I think it’s safe to say that the Groups Component in BuddyPress is the most powerful component within BuddyPress. There are countless plugins available that extend the groups component, and I use Groups for pretty much every BuddyPress project I do. What has been missing though, is a flexible and powerful solution for BuddyPress site→
Today I received a question on Twitter from @Calzo: [tweet https://twitter.com/#!/calzo/status/167981462283501568] I’d thought I’d share the solution with everyone, in case someone else would like to know! We’ll be using some simple CSS to quickly hide any profile or members tabs we don’t need. “Why would you do this?” I hear you ask. Well if→