Use the bp_get_template_part filter when you want to filter the template returned by BuddyPress’s bp_get_template_part() function. Your filter should accept three arguments ( $templates, $slug, $name ). The example below illustrates how you can use the bp_get_template_part filter to change the template that’s used to display the activity tab of a member’s profile. Note: For […]
bp_get_template_part Filter
Published on February 28th, 2013 by modemlooperChecking for Active Components in Plugins or Themes
Published on February 22nd, 2013 by Mathieu VietBuddyPress plugins (and sometimes themes), in order to extend (or display the content of) BuddyPress components generally use their hooks, their functions, template tags or even template parts. In order to avoid errors, it’s even more important to check for active components in BuddyPress 1.7. On a fresh install, version 1.7 only activates the Activity […]
Using BP Theme Compat in Plugins
Published on February 19th, 2013 by Mathieu VietA BuddyPress plugin can need to display content in several areas of a BuddyPress powered community : In its own directory In the member’s profile pages In groups The goal of this tutorial is to show you a way to take benefit of the magic that will be introduced in the next major release of […]
Template Pack Walkthrough – Twenty Twelve
Published on January 12th, 2013 by @mercimeArchived file. Good only up to BP 1.6.5 version BP TEMPLATE PACK 1.2.1 == BUDDYPRESS 1.6.3 == WORDPRESS 3.5 There are two ways to implement Step Three of the compatibility process: – First Method: Superimposing the HTML structure of your WordPress theme onto 17 BP template files which were transferred into your WP theme folder […]
Installing Group and Sitewide Forums
Published on January 3rd, 2013 by @mercimeFor New Installations: The following is a step-by-step guide for installing the Group and/or Sitewide Forums for the latest BuddyPress and bbPress plugins. Forums Setup Forums in BuddyPress make use of the bbPress software to function and we made it easy for you to install from the wp-admin backend with a few clicks. Depending on […]
bp_get_the_profile_field_value()
Published on December 17th, 2012 by modemlooperProfile fields have a filter that adds a link to certain words that are used to search members with. To remove this filter: Source File bp_get_the_profile_field_value() is located in bp-xprofile/bp-xprofile-template.php
BP_Component
Published on December 2nd, 2012 by modemlooperWe are currently working on a documentation reboot, here’s the new home of the best accurate docs (WIP). You’re very welcome to contribute to it. The BP_Component class is the basis of getting your plugin initiated into BuddyPress. You extend this class to create custom components. In fact, the core components extend this class to […]
Migrating from old forums to bbPress 2.2+
Published on November 22nd, 2012 by r-a-ySo you’ve been using BuddyPress’ built-in group forums since BuddyPress 1.5, but would like to use the new bbPress plugin to power your forums instead. Gotcha. You’ll need to migrate your existing group forum content over to bbPress as well. Don’t worry! This is what this article is all about. Let’s get started! (1) Backup […]
BP_User_Query
Published on September 7th, 2012 by shanebpBP_User_Query Class The BP_User_Query class was introduced in BuddyPress 1.7 as part of making BuddyPress more scalable. The class lives in buddypress/bp-core/classes/class-bp-user-query.php. Review the current class for additional arguments not listed here, such as: member types and xprofile_query. Accepted Parameters type (optional) Defines the type of users to return. Accepted arguments: active, newest, popular, online, […]
Installing Group and Sitewide Forums (v1.6)
Published on August 14th, 2012 by @mercimeArchived file. Good up to BP 1.6.5 version Installing Group and Sitewide Forums (v1.6) The following is a step-by-step illustrated guide for installing the Group and/or Sitewide Forums (bbPress 2.1) for BuddyPress 1.6+ on WordPress 3.4.1 after completing the BuddyPress installation wizard. Forums Setup Forums in BuddyPress make use of the bbPress software to function […]