BuddyPress contains a suite of automated tests. These tests are designed to prevent the accidental introduction – or reintroduction – of bugs. If you are a developer of BuddyPress plugins, or if you are contributing to BuddyPress core, please consider using (and writing!) these tests. The BuddyPress test system is based on, and uses, the […]
Automated Testing
Published on April 11th, 2013 by Boone Gorgesbp_load_theme_functions()
Published on April 8th, 2013 by modemlooperIf you need to stop BuddyPress from loading the buddypress-functions.php file use the remove action below. This is useful if you are supplying functions with your custom BuddyPress theme that may interfere with the core functions. Source File bp_load_theme_functions() is located in bp-core/bp-core-template-loader.php
Version 1.7
Published on April 6th, 2013 by Boone GorgesVersion 1.7 is a major BuddyPress feature release. BuddyPress 1.7 introduces many dozens of new features and enhancements, on top of hundreds of bugfixes. For Version 1.7, the database version (_bp_db_version in wp_options) changed to 6067, and the Trac revision was 6900. Read the full ticket log here here. Highlights Theme Compatibility – BuddyPress now […]
Developer and Designer Information BP 1.7
Published on April 2nd, 2013 by @mercimeArchived file. Good only for BP 1.7 version BuddyPress 1.7 Theme Compatibility * Theme Authors, Make Sure Your Theme Registers BuddyPress Support – @boonebgorges * Add BuddyPress Styles To a Theme – @modemlooper * Overview of Theme Compatibility in BP 1.7 (Customization) – @hnla * Upgrading “Template Packed” Themes to BP 1.7 Theme Compatibility – […]
BP 1.7 – Upgrading “Template Packed” Themes
Published on April 2nd, 2013 by @mercimeArchived file. Good up to BP 1.8. From BuddyPress 1.2 through 1.6.5, most WordPress themes went through the BP Compatibility process via the BuddyPress Template Pack plugin to align the HTML structure of the BP template files with that of the respective WP theme. BuddyPress 1.7 is now compatible with nearly all WordPress themes available […]
Theme Compatibility & Template Files
Published on March 2nd, 2013 by bobbingwideAn explanation of Theme compatibility and its template files BuddyPress 1.7 heralded a new era in BP development with a vastly improved approach to templating, its aim being to far more closely mirror the WordPress core templating loading approach. BuddyPress theme compatibility is based on the great work done by John James Jacoby with the […]
Admin UI for Groups
Published on March 2nd, 2013 by Mathieu VietIn BuddyPress 1.7, the Groups Component comes with a great Admin UI that allows Community Administrator to easily manage the created groups (members, settings…) directly from the WordPress backend. As plugin authors, I think we should enjoy this new area and let the Community Administrator manage the settings of the group extension we might use […]
Posting Activity from Plugins
Published on March 1st, 2013 by Mathieu Vietbp_activity_add() This function was introduced in BuddyPress 1.1, it’s located in /bp-activity/bp-activity-functions.php at line 997 (version 1.7-beta1). It needs an array of arguments and returns the activity id once created by the method BP_Activity_Activity::save() BuddyPress uses some aliases to call this function from its different components as detailed in this chart : Functions Components Types […]
bp_get_template_part Filter
Published on February 28th, 2013 by modemlooperUse 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 […]
Checking 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 […]