Moodle

New enrol/database features

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.4
  • Fix Version/s: None
  • Component/s: Enrolments
  • Labels:
    None
  • Difficulty:
    Difficult
  • Affected Branches:
    MOODLE_19_STABLE

Description

We added a lot of new features to the enrol/database plugin. Please see attached patch file and the release notes: http://docs.moodle.org/en/Development:Enroll_External_Database_Release_Notes

Note: the release notes will be updated as needed for clarity and accuracy.

Activity

Hide
Petr Škoda (skodak) added a comment -

I think we should better wait for final decisions related to enrolment changes

Show
Petr Škoda (skodak) added a comment - I think we should better wait for final decisions related to enrolment changes
Hide
Jason Hardin added a comment -

What exactly does that mean Petr? Will the enrollment changes affect 1.9 or is this all 2.0? If this is 2.0 then we would reimplement all of these changes in 2.0 as well once the enrollment changes happen. Holding off on implementing these changes to wait for 2.0 doesn't seem to make sense.

Show
Jason Hardin added a comment - What exactly does that mean Petr? Will the enrollment changes affect 1.9 or is this all 2.0? If this is 2.0 then we would reimplement all of these changes in 2.0 as well once the enrollment changes happen. Holding off on implementing these changes to wait for 2.0 doesn't seem to make sense.
Hide
Michael Penney added a comment -

Petr you may also want to look it over - implements some of the ideas you and Chris discussed.

Show
Michael Penney added a comment - Petr you may also want to look it over - implements some of the ideas you and Chris discussed.
Hide
Petr Škoda (skodak) added a comment -

thanks, there will be an enrolment meeting soon - I hope we will get to some final decision for 2.0 and then it should be much easie to decide what gets into 1.9.x
thanks for the patch

Show
Petr Škoda (skodak) added a comment - thanks, there will be an enrolment meeting soon - I hope we will get to some final decision for 2.0 and then it should be much easie to decide what gets into 1.9.x thanks for the patch
Hide
Ryan Sanders added a comment -

thanks for DIFF patch.

suggest following changes, the "enrol_dbtable" be changed to...
enrol_dbtable_FROM
also adding
enrol_dbtable_WHERE

do the same thing as above to "enrol_coursetable"

adding ability to choose "date format" that is in external database for each of the 3, date fields.

adding ability to set "enrol_student_unroll_id_field" (much like local user role field), but option, to either UN-enroll students completely from course, or change there roles to this role in the external database. Plus, there should be another enrol_unenroll_field, for a per course basis. of either un-enrolling or changing role in course.

for rhyme and reasons see http://moodle.org/mod/forum/discuss.php?d=129964 granted i am dealing with oscommerce, but functionality can spill over to multi other third party software with the more advance functionality.

Show
Ryan Sanders added a comment - thanks for DIFF patch. suggest following changes, the "enrol_dbtable" be changed to... enrol_dbtable_FROM also adding enrol_dbtable_WHERE do the same thing as above to "enrol_coursetable" adding ability to choose "date format" that is in external database for each of the 3, date fields. adding ability to set "enrol_student_unroll_id_field" (much like local user role field), but option, to either UN-enroll students completely from course, or change there roles to this role in the external database. Plus, there should be another enrol_unenroll_field, for a per course basis. of either un-enrolling or changing role in course. for rhyme and reasons see http://moodle.org/mod/forum/discuss.php?d=129964 granted i am dealing with oscommerce, but functionality can spill over to multi other third party software with the more advance functionality.
Hide
Ben Liyanage added a comment -

It would be great if the language file specified what time format the Start Date and End date fields where expecting.

Show
Ben Liyanage added a comment - It would be great if the language file specified what time format the Start Date and End date fields where expecting.
Hide
Petr Škoda (skodak) added a comment -

Hello,

there is a new enrol/database for some time, the functionality was split into tow parts - enrolment and course creation. I personally think it would be much easier to create a new enrol/coursedb contrib plugin that does only the course creation/update part.

Petr

Show
Petr Škoda (skodak) added a comment - Hello, there is a new enrol/database for some time, the functionality was split into tow parts - enrolment and course creation. I personally think it would be much easier to create a new enrol/coursedb contrib plugin that does only the course creation/update part. Petr

People

Vote (11)
Watch (10)

Dates

  • Created:
    Updated: