Since 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 […]
Group Meta Queries: Usage Example
Published on November 4th, 2013 by Mathieu VietHow to Edit Group Meta Tutorial
Published on April 12th, 2012 by dennissmolekThis tutorial will show you how to add a custom field to the registration process as well as the admin->”edit details” section. I will also show you how to print that out into the header and how to echo that data elsewhere. We are going to do this as a standalone plugin but you could […]
groups_get_groupmeta()
Published on April 12th, 2012 by dennissmolekFunction to get custom group meta. If you don’t pass a meta_key it returns ALL meta data associated with that group_id. Returns String or Array of Meta Values. Odd Behavior: If you pass no meta key to get all values and it has none, it returns a blank array. If you passed a key it […]
Group Types
Published on June 15th, 2016 by r-a-yBuddyPress 2.6 introduced the concept of group types. This functionality is outlined below. Registering group types BuddyPress itself does not register any group types. Plugins and themes can register group types using the bp_groups_register_group_type() function: The first parameter of bp_groups_register_group_type() is a string identifier for the group type, used internally by BP as the canonical […]
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 […]
Group Extension API (legacy)
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. Archived file. Good only up to BP 1.7 version Note: This guide is for use with versions of BuddyPress older than 1.8. […]
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 […]
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 […]
Installing Group and Sitewide Forums (v1.5)
Published on August 6th, 2012 by @mercimeArchived file. Good only up to BP 1.5 version A step-by-step illustrated guide for installing the Group and/or Sitewide Forums (bbPress 2.0) for BuddyPress 1.5+ on WordPress 3.2.1 after completing the BuddyPress installation wizard. Forums Setup Forums in BuddyPress make use of the bbPress software to function and we made it easy for you to […]
Groups Loop
Published on April 29th, 2009 by Andy PeatlingThe site groups loop can be used to output a list of groups created on your site. Standard Loop Accepted Parameters The bp_has_groups() function will accept a number of parameters that will manipulate the data being returned. type optional Defines the type of groups to return. Accepted arguments: active, newest, popular, random, alphabetical, most-forum-topics, most-forum-posts […]