Giter Club home page Giter Club logo

moodle-enrol_auto's Introduction

Auto enrolment plugin for Moodle (http://moodle.org/)

Build Status

*** NOTE: Development on this plugin has stalled - we reccomend that Moodle users look at using the alternative plugin enrol_autoenrol, https://moodle.org/plugins/enrol_autoenrol - This plugin is still maintained/supported for Totara. **

Ever wanted to simplify the enrolment process for some of your courses by just auto enrolling users, based on actions they take within the system? This plugin helps you out with this, as you're able to configure which user actions should trigger a course enrolment for a user :)

Auto enrolment can be configured for the following scenarios:

  • Auto enrolment upon course view

  • Auto enrolment on login (new in 2.8)

  • Auto enrolment upon activity/activities view

The plugin also allows you to configure a welcome message to be sent to the user upon enrolment.

You can now control self-enrolment using capabilities, so that you can allow auto enrolment for a specific group of users within a course category. By default the 'enrol/auto:enrolself' capability is given to all users, however you can remove this from the authenticated user role, and just give it to certain roles assigned at the course category level.

Supported Branches

Moodle verion Branch PHP
Moodle 3.2 and higher main 5.6+
Totara 12 main 7.1+
Totara 13+ TOTARA_13 7.2+

moodle-enrol_auto's People

Contributors

adamtppaw avatar alexmorrisnz avatar danmarsden avatar dmitriim avatar eugeneventer avatar euven avatar ewallah avatar michaelmeneses avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

moodle-enrol_auto's Issues

Allows double enrolments

When a user is already enrolled in a course by the 'Self Enrolment' method, the user is re-enrolled in the same course when they login after 'Auto Enrolement' is activated.

Auto Enrol on activity trigger needs guest access?

When setting a course to auto enrol with activity access as trigger, it asks for guest access needed to work. Guest access without key would make the plugin useless, with key it asks for the key and no auto enrol happens.

How can I achieve this behavior:

  • Auto enrol enabled for a specific course (with only textpage checked, alternatively Link/URL)
  • Auto enrol should happen when entering a link to a textpage / Link/URL within that course
  • Users cannot enrol in the couse without knowing that they need to enter a link to an existing textpage / Link/URL

(using Moodle 3.5)

Coding error when installing the plugin

Hi

I installed this plugin and got the following error:
"Coding error detected, it must be fixed by a programmer: Block type admin has been disabled by the administrator"

This is when a learner logs in for the first time and views the course.

Can you please assist?

Auto enroll upon course view allowing guest access

When auto enrollment method is configured for Course view, guests are being allowed to enter the course even if guest access is not enabled on the course. In the Enrollment methods screen, it lists 1 user as being enrolled via auto enrollment plugin, even though no users appear in the list of enrolled users. I'm assuming the one is the guest account.

This is problematic if you only want your course catalog to be visible to the public but want users to have to login before they can access the courses.

Guest access overrides Auto enrol

If you have a course with both auto-enrol and guest access enabled.

The auto-enrol plugin does not enrol authenticated users.

As soon as Guest access is removed it enrols as expected. Is it possible to allow authenticated users (who are not guest) to be enrolled on a course when viewing even though Guest access is enabled?

This would allow institutions to monitor which authenticated users have accessed the course and would be useful from a statistical standpoint.

Thank you

Kind regards

Connor

No ability to remove from course

After loading and enabling the enrolment method, and then adding it to a course, there is no option to delete the method from a course.

Using version: 2017091400 on Moodle 3.4

enrol

Enrolment upon approval Plugin for Moddle doesnt work in Moodle 3.6

The issue is the latest version of the Plugin doesnt work well with Moodle 3.6 which is my production site.I am aware of the fact that the latest plugin released is for Moodle 3.5 and there are no description of support for Moodle 3.6.

If this problem persists for everyone then May I know the approximate Date of release for Moodle 3.6 ?
else let me know and I will let you know a detailed report of the problem which i facce when I use it in Moodle 3.6.

Problem : Table preferences which lists the users enrolled doesnt show up.

Regards,
Deepak RS

Target user profile attributes

A useful feature could be to target user profile attributes.

Our scenario is that we have user accounts with email address as username (two domains - staff and student) and we'd like to have the ability to automatically enrol our staff onto certain Moodle courses - courses such as fire awareness and manual handling training.

We may, also, like to enrol all our students onto a general VLE feedback course that would contain various activities or resources.

Missing editenrolment.php file

In 3.1.2 latest I am getting a 'File not found' error when trying to manually unenrol a user as Teacher in the usual way.

It is looking for the file enrol/auto/editenrolment.php which is not in the install package or git.

This file is referenced and called from line 330 of lib.php at:

$url = new moodle_url('/enrol/auto/editenrolment.php', $params);

Improvement: Add new "selfenrol" capability

Sometimes you want to open a course up for a certain group of users - rather than just allowing everyone on the site to enrol in a course - adding a new "selfenrol" capability at the course category context level would help with this.

(Patch incoming)

Plugin does not Auto enroll students on Moodle 4.0.5

I this plugin was working fine until the other day after upgrading to Moodle Version 4.0.5 (Build: 20221114)

Now it will not enroll learners on 'Loading a Course'

Can you please have a look as we find this plugin very useful.

Enrol_auto doesn't work with Totara 17 / PHP 8

Hi,
we would like to keep on using this plugin for our Totara customers, but at this point we can not use it after an upgrade. Is there any plan to adjust this for the newer Totara / PHP versions?
Thanks!
Irma

Can't translate the privacy message in AMOS

Hi,
I translated all the text strings of the plugin enrol_auto for the german lang pack. I found that the privacy message is missing. Do you think that you uploaded the latest version into the Moodle plugin database?
$string['privacy:metadata'] = 'The auto enrolment plugin does not store any personal data.';
Ralf

Totara v12-17: Auto-enrolment on seminar doesn't work if 'Events displayed on course page'

For example using Auto-enrolment on seminar activity...

If four seminar sessions are displayed on the course page, clicking 'Go to Event' delivers a message saying you are not enrolled in this course. If 'View All Events' is clicked (instead of 'Go to Event') the person is auto-enrolled. We now have text telling people to click 'View All Events' however we continue to get messages telling us they can't enrol - especially with multiple events and sessions. People miss the text directions.

This will be easy to check/replicate.

Autoenrollment upon activity view not working

Hello, first of all thanks for the plugin! It is really helpful for us. :)
When I set up the autoenrollment with the course view criterium it perfectly works: users enter the course and get enrolled in it.
Unluckily I found an issue with the autoenrollment upon activity/resource view: even if the users have the link to the specific activity (and not the all course), they cannot visualize it because they are not enrolled.
Is there something that I am missing in the settings?

Thanks for your attention!

Mobile app enrols users on all enrol_auto-enabled courses without user entering them

Testing with Moodle 3.5.1 and the latest release of the official Moodle mobile app (version code 3510 on Android 8.1.0), if a user goes to 'Site home' -> 'Available courses', the user is automatically enrolled on all courses that have an enabled instance of the enrol_auto method. I've only had chance to debug this so far and it may well be caused by a bug in Moodle core and/or the mobile app, but it seemed sensible to report it here as you have the greatest interest in getting it fixed.

It seems that the 'Site home' -> 'Available courses' page calls core_course_get_courses_by_field() (get_courses_by_field() in course/externallib.php) with no params, which fetches all courses from the database and then iterates through them doing various checks. One of these checks is \external_api::validate_context, which seems to be the source of the trouble (presumably because it calls require_login() for the course). This enrols the user on the course and even logs an access in the course log.

Plugin doesn't work with 3.6.3

I have just installed this on ver 3.6.3, added a method to a course, set it to autoenrol on enter course.
I have tried numerous times as a user to enrol in the course and it doesn't seem to work.
the user can view the course but are not enrolled so their progress is not tracked.
what am I doing wrong?
I had this working on a 2.6 moodle with no problem

Block Course Participant Re-Auto Enrollment

Issue: Plugin auto-enrol Enrol course participant again with auto enrol method.

Steps:
A Admin: Create a new student (Manual Authentication) Tested
B. Admin: Enable auto/enrol plugin
C. Admin: Create a test Course
D Admin: Add auto-enrol instance enrollment method in the course
E Admin: Assign student course using "manual enrol method".
F Student: Login as student & access the course
G Admin: View course participate
Result: There will be two enrolment method (Manual & Auto).
Solution: block-course-participant-auto-enrolment.patch

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.