Giter VIP home page Giter VIP logo

moodle-mod_choosegroup's Introduction

CHOOSE GROUP
============

Choose Group is a Moodle activity that allows students to choose their group.

Web: https://github.com/IOC/moodle-mod_choosegroup

Install
=======
Download code from GitHub, and copy inside directory /path/to/moodle/mod/choosegroup


Authors
=======

Marc Català Sala <[email protected]>
Albert Gasset Romo <[email protected]>

Idea by David Pinyol <[email protected]>


Features
========

Moodle 1.9
----------
- Several options with visualization of group members
- Students can modify their choice
- Option to add student's full name next to their profile picture

Moodle 2.x
----------
- Each group has their own limit


Copyright
=========

Copyright © 2010 Institut Obert de Catalunya

Choose Group is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Choose Group is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

moodle-mod_choosegroup's People

Contributors

mcagigas-at-wiris avatar reskit avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

moodle-mod_choosegroup's Issues

Error on database when trying to add a ChooseGroup resource

In a fresh installation of moodle, the next exception is raised:

Debug info: ERROR: invalid input syntax for integer: ""
SELECT id, groupid, maxlimit FROM mdl_choosegroup_group WHERE choosegroupid = $1 ORDER BY groupid
[array (
0 => '',
)]
Error code: dmlreadexception
Stack trace:

line 426 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 248 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
line 753 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
line 1211 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
line 1162 of /lib/dml/moodle_database.php: call to moodle_database->get_records_select()
line 98 of /mod/choosegroup/mod_form.php: call to moodle_database->get_records()
line 401 of /course/moodleform_mod.php: call to mod_choosegroup_mod_form->data_preprocessing()
line 262 of /course/modedit.php: call to moodleform_mod->set_data()

The param passed to the query is empty.

Error adding activity

I tried to add this activity to a Moodle 2.6.7 with postgreSQL database. The url where the error shown was: /course/modedit.php?add=choosegroup&type=&course=10&section=1&return=0&sr=0
Before showing the adding form.
On line 109 of /mod/choosegroup/mod_form.php $this->_instance is empty. Maybe this query has to be deleted when adding.

Debug info: ERROR: invalid input syntax for integer: ""
SELECT id, groupid, maxlimit FROM mdl_choosegroup_group WHERE choosegroupid = $1 ORDER BY groupid
[array (
0 => '',
)]

Error code: dmlreadexception
Stack trace:
line 443 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 243 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
line 748 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
line 1257 of /lib/dml/moodle_database.php: call to pgsql_native_moodle_database->get_records_sql()
line 1208 of /lib/dml/moodle_database.php: call to moodle_database->get_records_select()
line 109 of /mod/choosegroup/mod_form.php: call to moodle_database->get_records()
line 426 of /course/moodleform_mod.php: call to mod_choosegroup_mod_form->data_preprocessing()
line 257 of /course/modedit.php: call to moodleform_mod->set_data()

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.