Log in

Project Info

Stats

  • Category: Themes
  • License: GNU General Public License (GPL) version 2
  • Updated: 2012-10-7
  • Downloads: 1893
  • Recommendations: 24

Other Projects

Matt Beckett's plugins:

AU Subgroups for Elgg 1.8

Allows groups to be created within groups

Last updated 96 days ago

This plugin allows groups to be created as sub-groups of groups. 

 

Features

  • Subgroups behave exactly as regular groups
  • Subgroups can be open or closed membership
  • Subgroups initially inherit any styles from the parent group (using group_custom_layout)
  • Subgroups can themselves have subgroups
  • Option to display/hide subgroups in default group listings all/mine/owned as well as those provided by group_tools closed/open/alpha
  • Option to list groups alphabetically in personal group listings
  • Sub-groups listing on default groups profile page
  • Sub-groups widget for use with widget_manager on groups profile page

 

Properties of Subgroups

------------------------

- only members of the parent group can join a sub-group

- sub-groups are fully qualified groups in their own right, may have sub-groups of their own

- infinite depth of sub-groups

- breadcrumb navigation on group pages shows path from parent to current group

- groups owner block contains link to parent group- groups owner block contains link to subgroups

- when users leave a parent group, they are removed from all subgroups

 

Events

-------

Creating a subgroup

- subgroup automatically inherits colors/backgrounds from parent if group custom layout is used

 

Deletion of a group

- if the group has subgroups, all subgroups will be deleted

- content within subgroups can be reassigned to the original owner, to the parent group, or deleted

 

Updating a group

- if the group has subgroups, and the visibility of the group becomes more restrictive, the visibility of subgroups is updated to be at least that restrictive

 

 

Produced for and with the support of Athabasca University, Canada.

Release notes:

Initial Release

Comments

  • ura soul ☯ 231 days ago

    a quick test.. i see that this is not functioning with the pagehandler hijack plugin, which i have used to change groups to an other label.

  • Matt Beckett 231 days ago

    Yes, unfortunately parts of it rely on the 'route' hook utilized in pagehandler hijack, so they are incompatible currently.  The problem is actually with pagehandler hijack, not this.

    If you want to try to make them compatible it's a case of needing to trigger the route plugin hook with the original parameter while pagehandler hijack has control.  For example if you renamed groups to clubs, then in the hook for 'route', 'clubs' you need to translate clubs => groups and re-trigger the hook with 'groups' instead of 'clubs'.

  • José Luis Ramírez 231 days ago

    When I transfer the group ownership to a non-admin user, he or she can't create subgroups.

  • Matt Beckett 231 days ago

    @Jose - I just re-tested that scenario, and the non-admin user could create subgroups.  Tested both with the transfer of the top level group, as well as the transfer of a subgroup.  You'll have to provide me with more information.  Are you using group_tools to perform the group ownership transfer?

  • kisssssss4ever 230 days ago

    Sounds great plugin, gonna test, please experts try to make a Poke plugin I am sure that would be a very small plugin with just couple of files. Grateful if you can make a Poke plugin for elgg as well :)

  • José Luis Ramírez 230 days ago

    Matt, yes, I'm using Group Tools 2.3 with the Allow group owner transfer option in Site Admin Only; also I'm using the Limit the creation of groups to Site administrators option.

  • Matt Beckett 230 days ago

    also I'm using the Limit the creation of groups to Site administrators option.

    So problem solved right?

  • José Luis Ramírez 230 days ago

    Well, Matt, is a bug. But now I understand that is from Group Tools and not yours.

    Awesome plugin!

  • rjcalifornia 230 days ago

    @Matt

    This is a totally awesome plugin! It will help many people and some crazy ideas I have in my mind.

    Thanks! Recommended!

  • Matt Beckett 229 days ago

    @Jose - I wouldn't consider that a bug.  You've told the system not to allow non-admins to create groups.  Subgroups are groups themselves, so it is correct in not letting your non-admin user create a subgroup.

  • Matt Beckett 229 days ago

    @RJ - thanks, there's been a couple of attempts at a good subgroups plugin but nothing that I've seen that worked correctly.  Hopefully I've upped the ante for subgroups integration in Elgg  :)

  • ura soul ☯ 228 days ago

    @matt: i'll leave any changes here to you, since you know the code of both and i do not.. 3 hours for me or 10 minutes for you.. maybe. :)

  • Ed 227 days ago

    Can you provide some images of how this plugin is supposed to behave on group pages? It doesn't seem to work correctly for me but I'm not sure exactly how without seeing it in action.