由 Valery Fremaux 发起的话题

Hi all


I'm actually tryig to migrate an enrollement plugin i designed for French Education network, who was allow direct enrollement and course entrance considering a defined value in a defined profile field.

The purpose is to allow access without administration overhead to special classes of users tagged by profile information.

On Moodle 1.9 was easy :

just design an enrol plugin that captures the "course entry enrol checkout" form and checks profile using the interactive hooking.

As far as i studied the situation in Moodle 2 :

At course entrance, only the mdl_user_enrolment table is checked, that is : checking for an "already enroled" pre-record.

Now, as the purpose is precisely NOT TO HAVE all potential allowed users pre-enrolled in the course, and allowing newly created (and yet allowed) to apply, i did not found the way to get that old behaviour, "course access" time triggered.

Some one could help to find a soluce ?

Is that description clear enough  ?

Merci Beaucoup

Valery. 

 

 

Un rapport utile pour ceux qui n'ont pas le choix (pour des raisons fonctionnelles) que d'intégrer quelques (le moins possible, comme toujours !!) patchs ou modifications noyau mineures dans leur Moodle.

Ce rapport, basé sur une pratique rigoureuse de marquage des entrées et sorties de modification, permet d'indexer TOUS les changements dans Moodle et de les cataloguer.

La mise à jour d'une version patchée de Moodle est netterment facilitée, car tous les reports de patch sont connus. (à moins d'un changement radical d'architecture,ce qui arrive tous les 10 ans, n'est-ce pas ;- ) )

Référentiel de code : https://github.com/vfremaux/moodle-report_patches

versions supportées : Moodle 1.9 et Moodle 2.x

Both versions now available at

http://github.com/vfremaux/moodle-block_editablecontenthtml

This block is part of a 4 variant set of the simple HTML block :

  • groupspecifichtml : allows distributing distinct richtext content depending on course group (1.9, on road to 2)
  • rolespecifichtml : same as above but depending on highest role endorsed in course context. (1.9, on road to 2)
  • profilefieldspecifichtml : distinct content provided to people Havng or Having NOT some defined value in a profile field. (1.9 on road to 2)
  • editablecontenthtml : Allows having a bloc that some roles "non course editor" will be able to edit anyway. (author local delegation) - (1.9 - 2.x)

Cheers

Most of the tracker module has been shifted. Remains Mnet aspects to consider right now and some last fixing on files attachement backups.

New code reference is at :

http://github.com/vfremaux/moodle-mod_tracker

All productions (27 plugins at this date) by Valery Fremaux at :

http://github.com/vfremaux

Cheers

 

The virtualization block documented at : 

http://docs.moodle.org/19/en/VMoodle

Will be shifted to Moodle 2 this summer on a team work with Wafa Adham (Palestine) and I.

We hope this will allow facilitating projects deploying big Moodle arrays as we start doing for National Education in France.

We still have to check and make us an idea about networking strategy, if MNET based architecture is on the way to die...

Cheers.

Valery.