Category Archives: Snippets
When something happens within your BuddyPress Community, you usually want others to respond to this activity. That’s the whole core concept of Social networking. By default BuddyPress adds a “Reply” and “Favorite” button to activity stream items, and while this is cool, for some entries you would like the user to go somewhere. This simple→
We’ll show you how to display certain profile fields on your members profile page of your BuddyPress community.
Gravatars are pretty darn great in general. But for certain communities there might be privacy reasons to disable them. BuddyPress let’s you do this, but it does not stop the calls being made to the Gravatar servers. This can sometimes lead to slower page loading times, and thus the people at BuddyPress.org came to the→
Here’s a quick tip straight from the BP-Trac created by R-A-Y. Put the snippet below in your child theme’s functions.php or in your bp-custom.php: Now when a user changes his avatar a new entry gets added to the stream notifying everyone of the new profile picture. Awesome! This functionality will probably be added to BP→
There is a bug with WordPress Multisite and Buddypress that does not allow for member avatars to translate over to other Blogs on a Multisite network. This is both lame and frustrating, but here’s an easy fix: Look in your wp-content/plugins folder for a file called bp-custom.php. This is not to be confused with the→
The goal of this trick is to display the friends of a displayed user once in his member area. Just like on BuddyPress.org or wpmu.org.
Most people are not big fans of the default Gravatars BuddyPress uses. That’s why you might want to use your own default images for new Members and Groups.
Add the following to your functions.php or bp-custom.php file:
Sometimes you want to have full control over the excerpt that is shown in the activity stream when you publish a new post for your readers. R-A-Y from BuddyPress.org has created a simple snippet which gives you back control over how the excerpt will be displayed in new Blog Post entries. Here’s the code: Place→