- fixes potential php fatal error (wsod) under certain conditions
- adds ability to move a group and all subgroups to be a subgroup of another
- adds group setting to allow any member to create subgroups (enabled by default)
- fixes bug with subgroup edit permissions for higher level admins that aren't members
- enforce visibility restrictions when moving subgroups to new parents
Notes on subgroup move:
- must have edit permissions for subgroup and parent group up to the top level
- cannot make a group a subgroup of itself or it's children
- users in a moved group that aren't in the new parent group are removed, and invited into the hierarchy
View Matt Beckett's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Hi,
Any help on this.....I need your help very badly as I want to make a subgroup a group.
You cannot currently make a subgroup become a stand-alone group. You'll need to delete the relationship between the two groups but that is not currently a function of this plugin.
I'm sorry I can't help you at the moment.
Hi Matt,
Thank you, also can you please help me with "How to create a description for the group".
Previously, when I installed and activated this plugin I was able to create description for the group but now I can't find it anywhere.
I don't believe the description should have been removed due to this plugin. If you disable the plugin does the description return?
If you're using profile manager that plugin can overwrite group profile fields, check there.
Not sure if this has been answered elsewhere, would it be possible (using your rename_groups plugin) to handle the renaming of sub-groups different from the top-level parents? Lets say to have "partners" that can contain "groups"?
Thanks a lot in advance
Not with that plugin, it would require some custom coding but I'm not sure what offhand
Hello Matt,
I'm having a problem with the transfert subgroup function.
http://i.imgur.com/HIrgPqf.png
As we can see on this screenshot it only displays the 10 first groups, but i need to display all of them.
Could you tell me where are you making the request so i can remove the limit=10 ? (I'm not sure that's the way to do it actually)
In mod\subgroups\views\default\subgroups\search_results.php
Typo *au_subgroups
THANKS
removed the columns and limit things, works great.
I just had a problem that I couldn't delete any groups with sub groups active. As soon as I deactivated sub groups, there was no problem.
So to solve that problem I've decided to make a group called Group Parking, where subgroups that people want to delete can be parked. Not the optimal solution but it's a solution
I can't remember if I specifically disabled deleting groups with active subgroups, I don't think so... I do remember building in a specific workflow for deleting subgroups where you could transfer the content to the parent group
I got the same problem too.
It says :
Sorry. We could not find the page that you requested.
ok i understand why:
you can't delete a subgroup if you have subgroups disabled for this subgroup.
If you make a group into a sub-group does it retain the original membership?
I am using a responsive design, and I noticed that the subgroup picture was overflowing covering the description.
I applied a max-width: 100% to the ".au_subgroups_group_icon-<?php echo $size; ?> {}" and it fixed it :)
Thanks Ryan :)
@jededitor - no it enforces the rule that members must be members of the parent group. So if you move a group to be a subgroup of another, any members that aren't a member of the new parent will be removed.
@Matt Beckett - damn! Most of the groups that I want to move have over 600 members...
Perhaps in the next version a means of automatically adding the members of a group moved to a subgroup members of the new parent group?
Have you tested it? I honestly haven't used this plugin since I left AU over a year ago - so I'm not 100% sure of my previous statement
Anyone tried this?
@Matt Beckett - I'll check it out as soon as I have a chance if nobody else has tried this before.
Thanks for the time you devoted to create this plugin! Keep on doing this good work.
IF YOU HAVE THE SUBGROUP DELETE ISSUE :
As groovymush wrote, this happens only when trying to delete a subgroup that has its own subgroups disabled.
This behaviour comes from the groups router hook, which is disabled (return true) if subgroups are disabled for the considered group. This was certainly meant to disable subgroup creation and other subgroups-related actions if disabled, but it also invalidates the deletion of the group itself.
Here's a quick patch to apply on line 123 in lib/hooks.php (on version 1.7) :
replace :
by :
Not the most elegant way to solve this issue, but that does the work ;-)
Patch submitted on Github too.
Thank you!