Plugin: BP Group Hierarchy

Join this plugin group to follow comments, support topics and reviews.

Change Log

1.3.2

  • Added: support for loading hierarchy.css from your theme directory so the group tree can better fit your site
  • Added: groups_hierarchy_create_group function for creating groups with parents programatically
  • Added: more debugging messages
  • Changed: deprecated bp_get_groups_hierarchy_root_slug wrapper function
  • Changed: optimized path calculation for group pages
  • Changed: reorganized plugin files
  • Fixed: PHP warning that could occur on group pages
  • Removed: BP 1.2 compatibility

1.3.1

  • Added: new safeguards to alert admin when DB changes can’t be made, and prevent fatal errors in some cases
  • Added: strip HTML from page titles when displaying member group count in BP 1.2
  • Changed: faster processing in BuddyPress 1.5 by only processing the current_action once
  • Changed: column and key name syntax to reduce errors – thanks, nicosFR and imacg
  • Changed: detection of deprecated BP title hook to avoid potential issue – thanks, tomraff

1.3.0

  • Added: respect for setting BP_GROUPS_HIERARCHY_SLUG constant outside the plugin, for changing Member Groups URL
  • Added: pagination self-sufficiency to BP_Group_Hierarchy_Template class
  • Changed: default Member Groups text to reflect BP 1.5+ tab style
  • Changed: wrap a subgroup count in “Member Groups” tab name in a span tag for proper display in BP 1.5+
  • Changed: switched from deprecated upgrade file to the right one for plugin activation
  • Fixed: bugs that triggered some warnings
  • Fixed: debug functions respect WP_DEBUG_DISPLAY settings – thanks, rolandinsh
  • Removed: ability to enable activity propagation – it will be fixed up and re-released, probably in an extras package

1.2.9

  • Added: template function for getting a list of child groups
  • Added: documentation to template functions
  • Changed: made tree-loop template file more closely conform to latest groups-loop for theme editors
  • Changed: bail when BuddyPress Groups component is disabled to avoid triggering fatal errors – thanks, 3dperuna
  • Changed: extension uses BP_GROUP_HIERARCHY_SLUG constant instead of a separate value
  • Fixed: cleaned up some older code that was triggering warnings
  • Fixed: bug affecting profile plugins under the groups component – thanks, gg565

1.2.8

  • Changed: updated Group Component to BuddyPress trunk
  • Changed: switched Member Group sorting to alphabetical
  • Fixed: a bug affecting Request Membership link – thanks, cyberhobo
  • Fixed: a bug affecting permalinks for second level groups root_slug installs
  • Fixed: a rare permalink bug that could create invalid URLs

1.2.7

  • Added: bp_group_hierarchy_group_tree_name() function for template editors
  • Changed: deprecated old translation scheme in favor of support for load_plugin_textdomain()
  • Changed: updated templates/tree/index.php page to match the structure of BP 1.5.1 pages

1.2.6

  • Added: new Group Navigator widget that shows member groups of the displayed group
  • Added: sorting options for both widgets, including “Most Member Groups”
  • Fixed: support for second level groups root_slug in “Create a Member Group” links – thanks to cyberhobo for catching this

1.2.5

  • Added: save the parent ID of a new group when group is first saved (only when using the “Create a Member Group” button)
  • Added: respect BuddyPress 1.5 “Restrict group creation to Site Admins” setting
  • Changed: name of some extension functions for more consistent naming
  • Fixed: Member Groups pagination in BuddyPress 1.5
  • Fixed: don’t try to load a template file from the plugin folder as a last resort unless it exists
  • Fixed: handling of search placeholder text in BuddyPress 1.5 that caused empty group tree after using the sorting dropdown

1.2.4

  • Added: Spanish translation generously provided by @_DorsVenabili
  • Added: can enable activity propagation (but see FAQ for important info)
  • Changed: string in the Top Level Groups widget to be more consistent with BP 1.5

1.2.3

  • Changed: Group creation wizard error message to BuddyPress standard
  • Changed: use groups->root_slug when available instead of groups->id
  • Fixed: bug that would prevent site admins from creating a first group under certain circumstances

1.2.2

  • Added: Block users from the group creation wizard when they aren’t allowed to create groups anywhere
  • Added: New debugging hooks for magic method errors
  • Changed: improved Member Groups page display

1.2.1

  • Added: pagination for Member Groups page
  • Changed: improved compatibility with BuddyPress 1.5

1.2.0

  • Added: BuddyPress 1.5 compatibility (beta 2)
  • Changed: made some filters more consistent
  • Changed: workaround for issue with Doc in Nav (and other plugins that run on bp_setup_nav with priority 10) – thanks, @johnny2011
  • Fixed: extension only loaded Group Tree if groups slug was ‘groups’ – thanks, @mutualdesigns

1.1.9

  • Fixed: issues with the admin page and routing
  • Fixed: title of the Groups Directory page when you hide the normal group list

1.1.8

  • Added: BuddyPress 1.3 compatibility
  • Added: template tags for group hierarchy
  • Changed: disabled paging for subgroups on the Group Tree page

1.1.7

  • Fixed: bug with my-group display reported by @pnerger

1.1.6

  • Added: ability to restrict toplevel group creation to admins only

1.1.5

  • Added: function to move child groups when deleting a parent
  • Changed: file structure to match BuddyPress standard
  • Fixed: short open tag in extension.php

1.1.4

  • Added: ‘Nobody’ permission – allows only site admins to create child groups (req’d by @flynn)
  • Changed: ID of widget panel to avoid interference with normal Groups widget
  • Changed: Made default values for labels more consistent
  • Fixed: Made group tree more resilient to invalid bp->groups->current_group data

1.1.3

  • Added: support for searching and sorting when using only the Group Tree
  • Fixed: Group Tree issue when there are more than per_page groups

1.1.2

  • Fixed: Forum bug from the last update that affected the main Forums screen

1.1.1

  • Added: Browse the entire hierarchy on the Group Tree page
  • Added: Templates for listing groups and subgroups

1.1.0

  • Added: top-level groups widget
  • Changed: groups admins can edit subgroup creation permissions
  • Changed: handling of parent group in group creation to avoid PHP errors
  • Fixed: wrong URL on Group Tree tab – still requires AJAX loading, but getting closer

1.0.9

  • Added: Ability to show number of child groups on the ‘Member Groups’ tab

1.0.8

  • Added: Group Tree to extension for viewing groups by hierarchy
  • Added: Admin options for Member Groups and Group Tree
  • Changed: Create a Member Group button to hopefully resolve empty group slug issues

1.0.7

  • Changed: extension brings the Member Groups tab into the BuddyPress loop
  • Changed: behavior of check_slug method for self-sufficiency
  • Fixed: Join and Leave Group buttons on Member Groups tab refer to parent group – thanks, @Deadpan110

1.0.6

  • Fixed: bug that caused forum topics to not display reported by cezar

1.0.5

  • Added: Group creators can now restrict subgroups to group members or group admins (with hooks for other types of restrictions)
  • Added: Create a Member Group button on Member Groups tab for more streamlined use
  • Changed: Reveal Member Groups tab to those allowed to create subgroups
  • Changed: Default permissions now allow only group members to create subgroups
  • Fixed: Private member groups were not being shown on that tab – thanks, @Deadpan110

1.0.4

  • Added get_group_extras fixup for Group Forum Extras and others
  • Fixed notification bug reported by @cezar

1.0.3

  • Fixed bug when using custom group slug reported by @avahaf

1.0.2

  • Fixed group invite bug reported by @cezar

1.0.1

  • Fixed forum permalink bug reported by @mtblewis
  • Added check_slug_stem function for wildcard searches
  • More documentation

1.0

  • Initial release