moodle-an-hochschulen / moodle-local_bulkenrol Goto Github PK
View Code? Open in Web Editor NEWMoodle plugin which provides the possibility to bulk enrol a list of users who are identified by their e-mail adresses into a course.
Moodle plugin which provides the possibility to bulk enrol a list of users who are identified by their e-mail adresses into a course.
Hello everybody :)
we are preparing our 4.0 instance and while testing realized that in Boost 4.0 $navigation->get('users')
is empty.
A possible fix would be
$bulkenrolnode = navigation_node::create(get_string('pluginname', 'local_bulkenrol'), $url,
navigation_node::TYPE_SETTING, null, 'local_bulkenrol', new pix_icon('i/users', ''));
if (isset($bulkenrolnode)) {
$navigation->add_node($bulkenrolnode);
}
which adds the user enrolment in the top-level node.
If that is alright with you, I will create a pull request. To be honest, I am not 100% happy with this fix, but I am missing alternative ideas (so please tell me if you have other ideas. If you give me a positive sign, I would also change behat test (that is how I realized that it was missing).
If I am missing something, please notify me. Bests, Nina
This plugin was working fine but now when Teacher Enrolls Students with this Plugin after pasting Email addresses, and Enroll users. All users come up with Teacher Role.
Our default Registration is set to Student.
This happens when User is Unenrolled and then Bulk Enrollment Plugin we use the user's role comes with Teacher.
Our Moodle version is 3.4,but also checked in local 3.8 same problem comes.
Hello
I just installed for my Moodle 3.4.1 this plugin "User bulk enrolment" and it is life saving when I pasted Email Address in Bulk Enrollment Everything is working fine with search. But When I press Enroll Users Button and here comes this page
The requested URL /user/index.php was not found on this server.
When I hit back page users are registered but why this Page I am viewing? Please help me with this.
you should update your readme to use email addresses that do not go to a real person :-)
Hi.
We would like to ask for help on what we need to do so that our teachers/faculty can use the bulk enrolment. We installed v3.8-r2 (2020051200) however the teachers/faculty cannot see bulk enrolment method.
I found two settings for "User Bulk Enrolment":
Enrolment plugin -- choices are [ Manual Enrolments | Guest access | Self Enrolment | Cohort sync | Course meta link | Flat file CSV ]
Role -- choices are [ Manager | Course creator | Professor | Non-editing professor | Student | Guest | Authenticated User | Authenticated user on frontpage | Academic Vice President | College Dean | Department Chair ]
The following is also in our Dashboard / Site administration / Plugins / Enrolments / Manage enrol plugins:
https://github.com/moodleuulm/moodle-local_bulkenrol/blob/master/index.php#L35
ideally would be good to be more restrictive on that param - it looks like it's supposed to be courseid_timetamp so PARAM_RAW isn't quite right?
Typically it's considered bad practice to store plugin related stuff in the global $SESSION var - you might consider finding a different way to store this data:
https://github.com/moodleuulm/moodle-local_bulkenrol/blob/master/index.php#L72
I don't think this will block approval in the plugins db but it's probably worth adjusting at some point.
Hi!
It would be great if usernames could be used to enrol users, too.
Using v3.9-r2
This is causing confusion
It looks like you only have a single branch here in github but your plugins db entry has versions for 3.3/3.4 as well. If you plan to support 3.3 on the master branch you may need to implement the polyfill:
https://docs.moodle.org/dev/Privacy_API#Difference_between_Moodle_3.3_and_more_recent_versions
If you don't plan to support 3.3 - feel free to close this as won't fix :-)
We are a University and we sometimes use this plugin - only as administrators - to perform bulk group membership. We automatically manage course enrollment, in most cases, using webservices.
We'd like to more frequently allow module leaders to use this plugin, however we'd like to confine their capabilities to only allow adding students to groups - NOT also enroll them at the same time.
We have a workaround, which is to get the user to download the current enrollments to the course in question, format the list into one email address per line and then add any group headings. They then send the lists to us and we process them.
We don't want people to have the capability added by this plugin, however we love the fact that there is a simple text area, ideal for such a scenario.
Alternatively, what precisely does the new capability permit?
Could we remove the built-in capability of all managers, module leaders and teachers to enroll users, but if they have the "bulkenrol" capability, will this function and only add users to groups?
We'd love for the plugin to have, say, a new capability (along with additional admin controls) to only allow bulk group additions, as well enroll, but only if the settings allow. E.g. admins have both bulkenrol and bulkgroupadd, but module leaders etc only have bulkgroupadd, so they'll still see "Bulk enrolment", but they'll only be able to add existing enrolled users to the groups they define.
Hello,
We've been using the plugin for a while without issues. Recently, we've had a problem with emails being case-sensitive. If a user pastes email addresses in the plugin it now checks for lower case vs upper case which wasn't the behaviour in the past. Anything changed? Is there a way to revert back?
Best regards,
Upgrade preparation in progress
Our institution uses this plugin in some courses but we've detected that when there are 2 or more useres with the same email and some of theses users are suspended in moodle the plugin return an error because it detects diferent users with same email and doesn't know which one has to enroll and then we need to enroll these useres manually.
Could it be posssible to check the state of the user during the bulk process?
For example:
Hi!
I have been testing the local_bulkenrol for possible use at my institution and I have encountered a few problems. Some of these may be bugs, others may be by design.
If you put in the following two lines for example
Nodata
Nodata
It will return a message to you that it didn’t find any email address, but then you press Enroll Users and it gives you a message it was successful. This is a bit misleading.
If you have already loaded individuals into
#MyGroup
[email protected]
and then run another load with
#mygroup
[email protected]
It creates two different groups named mygroup with different capitalization. I tried this in just the standard way to create groups and apparently Moodle allows this, which seems weird.
A larger percentage of our classes take place in a metaclass, with it inheriting the students from 2 or more subclasses. If I do a bulkenrol of students to place the students into some groups, on the confirmation screen it comes back and says yes the student is already enrolled and we will put them in their group. After hitting Enroll Users, rather than just putting them in their group, it also manually enrolls them into the MetaClass as well (giving the student now two enrollments into the class!). I assume it would do the same type of thing if the students were in a cohort attached to the class. I am assuming this is all accidental.
Do you know if yall might at some point add on the confirmation screen that the teacher is about to create new groups named x,y,z? This way they might catch if they have mistyped a group name and are about to create a group they don’t want. Currently on the confirmation screen it just says “GroupName(User added to group)” and doesn’t acknowledge that it is a previously non-existent group and about to be created.
Do you know if yall might have any future plans on the roadmap to allow teachers to supply a username or idnumber instead of the email address? This would be very useful.
Thanks so much for reading this and thank you for taking the time to create and release Moodle plugins for the community!
Scott
Hi.
I suppose since in db/access.php no archetypes are defined, managers can't use the bulkenrol tool.
Probably adding
'archetypes' => array(
'editingteacher' => CAP_ALLOW,
'manager' => CAP_ALLOW
),
would fix that.
Best,
Luca
Hi
How to select the role during bulk enrollment, i saw the option for grouping
Is there any way top set the role similar to grouping?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.