Log in

hypeGroups

hypeGroups

Elgg 3.0

Features

  • Extended search and sort functionality
  • API to add new group subtypes
  • API to manage group hierarchies
  • API for managing group fields
  • API for restricting group tools, as well as using preset tools

Notes

Subtypes

Registering new subtypes and configuring them is made easy.

Here is an example of how to remove groups from the top level of the site, and making them subgroups of a new subtype called classroom.


$svc = elgg()->groups; /* @var $svc \hypeJunction\Groups\GroupsService */ $svc->registerSubtype('classroom', [ 'labels' => [ 'en' => [ 'item' => 'Classroom', 'collection' => 'Classrooms', ], ], 'root' => true, 'identifier' => 'classrooms', 'class' => \CustomPlugin\Classroom::class, 'collections' => [ 'all' => \CustomPlugin\DefaultClassroomCollection::class, 'owner' => \CustomPlugin\OwnedClassroomCollection::class, 'member' => \CustomPlugin\JoinedClassroomCollection::class, ], ]); $svc->registerSubtype('group', [ 'site_menu' => false, 'labels' => [ 'en' => [ 'item' => 'Group', 'collection' => 'Groups', ], ], 'root' => false, 'parents' => ['classroom'], 'identifier' => 'groups', ]);

You can put multiple subtypes into a collection by assigning them to the same identifier, e.g. you could create usa_state and canada_province subtypes and register them for regions identifier.

Fields

Fields are managed by hypePost. Please see the documentation there for more information.

Package Releases

VersionRelease Date
hypeGroups 3.0.33.0.3
hypeGroups 3.0.23.0.2
hypeGroups 3.0.13.0.1
hypeGroups 3.0.03.0.0
hypeGroups 2.0.62.0.6
hypeGroups 2.0.52.0.5
hypeGroups 2.0.42.0.4
hypeGroups 2.0.32.0.3
hypeGroups 2.0.22.0.2
hypeGroups 2.0.12.0.1
hypeGroups 2.0.02.0.0

Changelog

3.0.0 (2018-06-29)

Bug Fixes

  • boot: use plugin bootstrap (20eaa7d)

Features

2.0.6 (2018-04-20)

Bug Fixes

  • menus: correctly construct menu items (b8d8cdb)

2.0.5 (2018-04-03)

Bug Fixes

  • access: fix group access settings (db73c6d)

2.0.4 (2018-03-31)

Bug Fixes

  • perms: correctly setup permissions (437e8c7)

2.0.3 (2018-03-28)

Bug Fixes

  • fields: sync with new fields API (2ecf6b3)

2.0.2 (2018-03-27)

Bug Fixes

  • composer: add installer name (1aa91cb)

2.0.1 (2018-03-27)

Bug Fixes

  • manifest: document suggestions (b8cedfe)

2.0.0 (2018-03-27)

Features

  • releases: Elgg 3 rewrite (da4f187)

1.0.5 (2017-01-08)

Bug Fixes

  • tools: fix handling of tool options with custom subtypes (baabc9c)
  • tools: remove Group from group module labels on group subtype pages (389fcde)
  • tools: replace owner block menu labels with group subtype specific labels (3f58244)

1.0.4 (2017-01-05)

Bug Fixes

  • tools: disable tools on all group of a subtype based on admin setting (ee8df5f)
  • tools: enable all tools if subtype has preset tools (d4dfb9c)

1.0.3 (2016-12-15)

Bug Fixes

  • css: make sure form elements are visible if group tools are enabled (dbec5fb)
  • forms: correctly populate subtype values when only one subtype is allowed (69991e0)
  • tools: respect preconfigured tool sets (a224d19)

1.0.2 (2016-02-22)

Bug Fixes

  • admin: always check for new group subtypes that have not yet been configured (28ff1e4)
  • forms: remove group tools tabbing (a8bfa26)
  • hooks: normalize callbacks to array (6eb621b)
  • hooks: terminate early if another hook has prevented route from rendering (538c472)
  • hooks: terminate early if another hook has prevented route from rendering (25bf75a)
  • priority: run init function late to make sure other plugins had registered their hooks (326715f)
  • tools: tool presets are now enforced for both new and existing groups (0feef18)

Features

  • forms: do not display subtype picker if only one subtype is allowed (74c9de6)
  • releases: initial commit (2a78136)

1.0.1 (2016-02-18)

Bug Fixes

  • hooks: normalize callbacks to array (6eb621b)
  • hooks: terminate early if another hook has prevented route from rendering (538c472)
  • hooks: terminate early if another hook has prevented route from rendering (25bf75a)
  • priority: run init function late to make sure other plugins had registered their hooks (326715f)

1.0.0 (2016-02-18)

Bug Fixes

  • admin: always check for new group subtypes that have not yet been configured (28ff1e4)

Features

  • forms: do not display subtype picker if only one subtype is allowed (74c9de6)
  • releases: initial commit (2a78136)

About

Dependencies

Requires
Elgg version >= 3.0
Plugin: groups Any
Plugin: hypeLists Any
Plugin: hypePost Any
Plugin: hypeAutocomplete Any
Plugin: hypeStash Any
Suggests
Plugin: hypeActivity Any