When writing your plugin you may need to give the community administrator the ability to set some options about it to eventually let him customize some behaviors. When you have a lot options, you would use the WordPress built in add_options_page() or add_submenu_page() functions to create your plugin’s settings page. But, If your plugin only […]
Adding Plugin’s Options to BuddyPress Settings Page
Published on November 9th, 2013 by Mathieu VietBuddyPress Database Diagram
Published on November 9th, 2013 by danbpOverview of the BuddyPress database tables for a single installation. Additional resources WordPress 3.4 Database Diagram [Codex] Multisite Table Overview [Codex]
Group Meta Queries: Usage Example
Published on November 4th, 2013 by Mathieu VietSince version 1.8, it is possible to filter groups by Metadata. For instance you can add a meta_query parameter to the bp_has_groups() function. To make this possible, BuddyPress uses a built-in WordPress class : WP_Meta_Query (you will find a link to its WordPress codex page at the bottom of this article). This feature can help […]
Getting Started
Published on October 3rd, 2013 by Hugo AshmoreWe 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. Updated documentation for this section is available here. By default, registration in BuddyPress follows this workflow: Welcome to BuddyPress! This section will help you set up your new BuddyPress-powered site […]
bp_activity_add()
Published on September 29th, 2013 by Boone Gorgesbp_activity_add() is used to insert new activity items into the database. Usage Parameters $args An array that describes the activity item that you’re creating. Possible values: ‘id’ (optional) Pass a numerical id to update an existing activity item ‘action’ An HTML string summarizing the activity item, which is used by the template when displaying the […]
Theme Compatibility
Published on August 30th, 2013 by Hugo AshmoreThe pages under this section provide an overview of the BuddyPress theme compatibility layer first introduced in version 1.7. An overview of theme compatibility is provided as a primer followed by a detailed explanation of the template hierarchy provided and expanded on in BP 1.8 finally we provide a guide page for those of you […]
Function Examples
Published on August 10th, 2013 by Hugo AshmoreThis page provisionally groups existing function examples – ‘Codex Review’. This section may well be replaced by PHPDocs so is in temporary suspension.
BP_Group_Member_Query
Published on July 18th, 2013 by Rami YushuvaevDocumentation for the BP_Group_Member_Query class, introduced in BuddyPress 1.8, will live here.
Version 1.8
Published on July 17th, 2013 by Boone GorgesVersion 1.8 is a major BuddyPress feature release. BuddyPress 1.8 introduces many new features and enhancements, on top of lots of bugfixes. For Version 1.8, the database version (_bp_db_version in wp_options) was 6080, and the Trac revision was 7278. Read the full ticket log here here. Highlights BP’s packaged styles have been streamlined, so that […]
Group Extension API
Published on July 16th, 2013 by Boone GorgesWe 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. Updated documentation for this section is available here. Note: This guide is for use with BuddyPress 1.8+. A guide for using the Group Extension API with earlier versions of BP […]