[buddypress-trac] [BuddyPress Trac] #7210: Group type frontend integration

buddypress-trac noreply at wordpress.org
Tue Aug 2 04:57:44 UTC 2016

#7210: Group type frontend integration
 Reporter:  r-a-y        |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  2.7
Component:  Groups       |    Version:  2.6.0
 Severity:  normal       |   Keywords:  has-patch
 We introduced the Group Types API in #6784.

 This ticket is to flesh out the API for frontend integration.

 Attached patch does the following:
 - Integration into the group "Create" and "Manage > Settings" pages:

 - Group type link integration into group header:

 - Group type directory integration:


 Dev notes:

 ''Group type directory'' - I've set a marker
 (`buddypress()->groups->current_directory_type`) in
 `groups_directory_groups_setup()` to determine if we're on a valid group
 directory type.  This differs from the marker set for member type
 directories, which is set in our URI parser (`bp_core_set_uri_globals()`).

 ''bp_groups_set_group_type()'' - `$group_type` parameter now accepts an
 array, so you can pass multiple group types for saving instead of just one
 group type.

 - Group template hierarchy integration.
 - Admin metabox currently uses a `<select>` dropdown box, but if a group
 has multiple types, a super admin cannot select more than one type.
 Probably refactor this to use a multiple `<select>` dropdown box.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7210>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list