I think this is one of those small things that should be added to BuddyPress core, but the following snippet allows you to change the default Notification settings for new users. This snippet is taken directly from the BuddyDev blog. Buddydev is run by my friend Brajesh and his team Changing the default BuddyPress email notifications settingsRead More …[....]
If you need high quality BuddyPress avatars that look amazing on retina devices and are also served through the blazing fast Jetpack Photon CDN, this is the trick for you. Requirements: - BuddyPress 1.5+ - Jetpack with Photon enabled Step 1: Change the default BuddyPress Avatar values Add the code High quality BuddyPress avatars with Jetpack Photon supportRead More …[....]
I found this quick little snippet on the BuddyBoss support forums, and thought i'd share it here. The snippet below will display an user @mention name directly below their avatar within a BBPress forum topic. Add the snippet below to bp-custom.php https://gist.github.com/BoweFrankema/82e400ecba4f97d87aa8 Props to BuddyBoss!
The following snippet adds a "My Purchases" page to a member profile. In order for this to work you need the following Easy Digital Downloads set up and configured BuddyPress 2+ Both plugins needs to be active and running on the same site (in case of Multisite) Add the following Add a Easy Digital Downloads “My Purchases” page to a BuddyPress Member profileRead More …[....]
It's often in the small things, and this post will give you two small but valuable tricks that make the lives of your community members a lot easier. Trick #1: Automatically check the "Remember me" box on your login form. Add the following snippet to bp-custom.php https://gist.github.com/BoweFrankema/ed84f99937961f27ad5d This quick snippet Two BuddyPress login tricks you should be using for your communityRead More …[....]
This is one of those super specific things 99% of you guys probably won't ever have to do. But it still might be useful for someone out there. If you are running a multilingual BuddyPress community where users can switch languages, the following snippet allows you to make your BuddyPress Translate default BuddyPress widgets (or any other widget!)Read More …[....]
I wanted to show the BuddyPress username of the currently logged in user in a regular WordPress page through a shortcode. Here is how you do it. Add the following code to BP-Custom.php https://gist.github.com/BoweFrankema/decdbae7ee4be82dbc1d Now you can use the shortcode in your post content like this: Hi there [cfc_bp_username]! Bonus A Simple BuddyPress Shortcode: Display the usernameRead More …[....]
The following snippet allows you to display a custom message as soon as one of your members has successfully created a new site on your Multisite BuddyPress community. Add the Following to bp-custom.php https://gist.github.com/BoweFrankema/95166be93b4f05a70a13 That's it!
When I write my CSS/LESS I often use body classes to target elements on specific pages on my site. BuddyPress does a good job of adding it's own custom body classes to the BuddyPress pages, but it also inherits some of the WordPress classes like .page. The snippet below adds Adding a CSS class to the body when the page is not a BuddyPress pageRead More …[....]
The snippet below allows you to hide the BuddyPress widgets for the bloggers in your Multisite network. Add the code below to bp-custom.php https://gist.github.com/BoweFrankema/45202c5387f406779d1e Edit: This snippet was updated with the help of geminorum and Ãœnsal