Group self selection?
Number of replies: 23I have found out how to manually assign students to groups, but I have not noticed another way. I am working with large groups, so I would love to find a shortcut here...
Any ideas?
Re: Group self selection?
Yes, I have modified my Moodle installation so that there is an option to allow students to select groups. The way it works is that on the groups page for each group that still has free places in it there is a link "Move me to this group". This link can be used by students who are not in any group to join a group or even for students to change groups. The link only is there for groups that have not yet reached a predetermined maximum size.
If encouraged, I will post the code here later tonight.
Re: Group self selection?
I'd appreciate it if you posted the code...
Re: Group self selection?
Attached is a zip file containing my modified versions of moodle/course/groups.php and moodle/course/groups-summary.html that implement the link that allows students to move themselves to a group of their choice. The other modification is that the current user's name is printed in bold.
The code contains a variable $maxallowed that is set to 20. Students are only allowed to move to a group with less than $maxallowed members. This number should of course be set as a configuration option when groups are set up for a course. I leave this for someone else to implement.
Re: Group self selection?
Which version of Moodle is it based on? Will it work on 1.2.1?
Przemek
Re: Group self selection?
I've been using moodle 1.1.1 and 1.4 for a month and I'm ready go get students on this week. I wanted students to have a very simple join wizard dialog.
I'll try the user "changegroup" feature next semester. It is so great to know that moodle is developing well and in a sane manner.
He is my workaround that worked. Take students into a lab setting. Have them all join at the same time. Then before class ends have all the students moved into a group.
Re: Group self selection?
Re: Group self selection?

Re: Group self selection?
Re: Group self selection?
Re: Group self selection?
Re: Group self selection?
Re: Group self selection?
That sounds exciting. How can we find out more about the DCU group stuff? Is there some documentation about it on the DCU site?
Re: Group self selection?
If not, would anybody be able to to anything about that, or should we try ourselves? With the groups interface redesign the original Gustav's hack needs an upgrade.

Re: Group self selection?
Re: Group self selection?
Sounds super! Does anybody know if it runs in 1.6?
Vera
Re: Group self selection?
Re: Group self selection?
Installation instructions are included in the package, I hope this hack will help someone
Jarek
Re: Group self selection?
What I want to do is something like:
group1-sub1
group1-sub2
group2-sub1
group2-sub2
but only display the sub groups for the correct parent group and retain unique membership limits for them.
If this was a couple groups/subgroups it would be easy enough to just make them all unique groups but it's actually 6 parent groups with 5 subgroups each.
Re: Group self selection?
I was using selfsel for 1.6 but it's not work in 1.8.3. I' need to upgrade as soon as posible please help me??
Regards Diego
Re: Group self selection?
Re: Group self selection?
Could you give me some advice on what I should do to get it to work in 1.4+ or 1.5?
Re: Group self selection?
It is diffferent to the method above, but you can set an enrollment key for each group in 1.5, that automatically assigns student to groups.
Timothy
Re: Group self selection
Thanks