GithubHelp home page GithubHelp logo

rogerbaba / moodle-mod_groupselect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from birrel/moodle-mod_groupselect

6.0 6.0 11.0 456 KB

Group self formation module for Moodle

Home Page: https://moodle.org/plugins/mod_groupselect

PHP 76.73% JavaScript 19.07% CSS 0.66% Gherkin 3.54%

moodle-mod_groupselect's People

Contributors

andyjdavis avatar aolley avatar birrel avatar golenkovm avatar jerryshan avatar jimthorpenz avatar lucaboesch avatar marinaglancy avatar mhughes2k avatar mudrd8mz avatar pauln avatar phish108 avatar rogerbaba avatar skodak avatar thepurpleblob avatar tlock avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

moodle-mod_groupselect's Issues

Separate flag for view only activities

Currently we can only show the members of the groups by setting the due date into the past. This generates an ugly warning that the selection process has ended, although there was never a selection in the first place.

Automatic Completion Rules

Mark the activity as completed according to the following rules

  • A user has joined at least X groups
  • If a user's has at least N participants in the group

If the conditions fail, then the completion state should get removed

allow to group select into global groups (optional)

sometimes it is handy that users can subscribe into global groups.

Scenario:

In course A users use the group select tool to select themselves into global groups.

In global mode, the scope of the group should be handled as Grouping, so one can allow only category level group choices.

Hard-coded role ID

The code in view.php uses the hard-coded role ID 4 for non-editing tutors, but there's no guarantee this is correct. The role ID should at least be looked up based on the shortname "teacher", but even that could be buggy as the role can be deleted or renamed.

It may be better to have a plugin setting to allow the server admin to select the role to be used. This is how this sort of thing is generally done in Moodle core.

Allow users to choose multiple groups

Sometimes it is useful that users can choose more than one group (particularly for global groups).

  • A course administrator may configure group select in a way that users can subscribe to more than one group by defining the max. number of groups one user can select.

  • The default maximum group selection should be 1.

  • A course administrator may configure a minimum number of groups a user can select

  • The default minimum group selection should be 0

  • The following condition must be always true min. group select <= max group select.

  • As long max. group select is not reached, join group should be visible for all groups a user is not member of.

  • If max. group select is bigger than the number of groups then the max is automatically all groups.

Allow to create multipe groups

Regarding to the options "Maximum number of groups to participate in" and "Students can create groups" fot the student should be possible to create multiple groups.

group passwort reset

Adding a "edit password" button for Editor. Because there is no way to set the password again if you lost you the password.
Workaround is to create a new "Group-select" activity with the same settings and the passwords are gone.

3.4 branch

We use the groupselect plugin and are currently only running Moodle 3.4. Will you be releasing a stable branch for that, since the master branch was just recently updated to require 3.5?

Thanks!

Omit calling require_once ($CFG->dirroot . '/lib/password_compat/lib/password.php');

Dear Roger

You can omit calling require_once ($CFG->dirroot . '/lib/password_compat/lib/password.php'); in view.php

It throws a

PHP Notice: password_compat is now standard in all versions of PHP that Moodle supports. You no longer need to include the lib/password_compat/lib/password.php
line 29 of /lib/password_compat/lib/password.php: call to debugging()
line 27 of /mod/groupselect/view.php: call to require_once()
in โ€ฆ/moodle/lib/weblib.php on line 3095

Best regards!

Remove must exist "teacher" role

remove the "must exist" and set a hard coded value 4 if it not exists.

in upgrade.php on line 226

in view.php on line 97
$teacherrole = $DB->get_record( 'role', array (
'shortname' => "teacher"
), '*', MUST_EXIST );

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.