Enrol by user profile fields

Enrolment ::: enrol_attributes
Maintained by Nicolas Dunand
This plugin allows users to be enrolled according to any value stored in their user profile.
Latest release:
1390 sites
551 downloads
132 fans
Current versions available: 6

This plugin allows users to be enrolled according to any value stored in their user profile. If you use an external authentication scheme (LDAP, Shibboleth), you can store values in hidden user fields of the users' Moodle profile, and then use these values to automatically enrol users if some courses.

Screenshots

Screenshot #0

Contributors

Nicolas Dunand (Lead maintainer)
CSE Université de Lausanne: Supporting institution
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • SREE VISHNU
    Wed, 31 Mar 2021, 3:12 PM
    Hello, Nicolas.

    I installed the plugin and made the necessary changes. My scenario is that students must view the course based on a custom user field that I created. I don't see the course when I log in, but I do if I click the force enrolment now button in the plugin settings. Is there anything else I'm overlooking?
  • Nicolas Dunand
    Tue, 6 Apr 2021, 2:13 PM
    Hello Sree Vishnu,

    In the main plugin settings in the Moodle administration, you can check the "Enrol users immediately at login" checkbox; this will process the rule immediately upon each login. In all other cases, the rules are processes periodically as specified in the scheduled task's schedule under Administration > Server > Scheduled tasks > "Process all rules and enrolments for Enrol by user profile fields". HTH
  • Koen Moret
    Thu, 15 Apr 2021, 7:49 PM
    Hello Nicolas,

    I've got a small question. Where in the db is are, the selected profilefields wich you want to use for enrolment, stored? (enrolsettingsattributes)

    kind regards Koen
  • Nicolas Dunand
    Thu, 15 Apr 2021, 9:16 PM
    Hello Koen,

    it should be either in the mdl_config or mdl_config_plugins table.
  • Koen Moret
    Fri, 16 Apr 2021, 5:46 PM
    Thanks a lot!!!

  • Koen Moret
    Mon, 19 Apr 2021, 11:31 PM
    Hi Nicolas,

    I have found the data table with the enrol attributes.

    What I'm actually looking for is where the data / profile fields are stored that may be used for the enrollment on the course page.

    When I have created a profile field and placed it manually in the db config_plugins, this profile field is not yet visible at Enrol by user profile fields in the course.

    Hopefully you can provide me with an answer.

    Is it stored in de cache or a other db table?

    THX
  • Aaron Harker
    Sun, 30 May 2021, 10:18 PM
    So how do you use this plugin? I have it installed and activated in available course enrollment plugins but when I go to set it on a course it is not in the available list. I'm using a fresh install of Moodle 3.11.
  • amapola agostini
    Fri, 17 Sept 2021, 9:21 PM
    Hi there.
    I have the same problem, @Aaron Harker could you activate it?
    Could someone help me how to activate it in the course?
    Thanks !
  • Leon Flowers
    Fri, 1 Oct 2021, 6:33 AM
    Where and how do I release this lock: Unable to get task lock for enrol_attributes\task\processenrolments_task.
  • Aaron Cauchi
    Mon, 10 Jan 2022, 11:43 PM
    Have set enrolment methods to following:
    Manual Enrolments
    Self enrolment
    NurseEnrol (Enrol by user profile field)

    Seems plugin is not working as have set NurseEnrol to a specific user field which is the Grade. This grade is Nurse
    If a grade is a doctor he still is able to register into course. What am I doing wrong?
    Thanks!
  • Ezra Zaharia
    Wed, 23 Feb 2022, 6:50 AM
    Hello, congratulations for this plugin. It's really helpful.
    Question: Is it possible to filter suspended users with the enrol by user profile fields plugin so that they are not enrolled in a course?
  • Alaa Saeed
    Tue, 28 June 2022, 12:49 AM
    Dears,
    I have issue with this plugin hope that we can resolve, i enabled login as google and configure this plugin but the enrollment using google working fine and this plugin stop working, but when I force enrollment inside enrollment method using this plugin it works, it when the students login using google cannot see their course and also when I go to participants I can’t see the students, please anyone faced same issue.

    Thanks a lot
    Best regards,
  • Chris L
    Thu, 7 July 2022, 12:35 PM
    Hi Nicolas,
    Just wanted to see if there would be any future updates where the conditions rules include options other than equality? Such as greater than or equal to?
    Thanks!
  • Hay B
    Thu, 25 Aug 2022, 6:28 PM
    Hi,
    I´ve installed and activated the plugin on Moodle 4.0. I can see main plugin settings in site administration but I can´t see where to configure the conditions for enrolment. Our theme is Adaptable but I´ve tried changing to Classic and it hasn´t made any difference. Where should these conditions appear? Thanks.
  • Ana Carolina Nunes dos Santos
    Tue, 13 Sept 2022, 1:27 AM
    Hello,
    Eu quero colocar uma condição para as matrículas dos meus alunos. Quero deixar um curso específico condicionado a quem está em determinado setor, indicado nos campos de perfil de usuário.
Please login to post comments