Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enroloptions #14

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

sevenseas-gists
Copy link

Lets Teachers choose different Fields then email to enrol users by.

@tobiasreischmann
Copy link

@abias Are there problems with the travis.yml? It seems that it uses the wrong node version. Could you fix those problems?
@rtschu Could you adjust the layout of the bulk enrol displayed to the teacher?
In case only one option is selected by the admin, the teacher should not be displayed with a dropdown offering only one option. In this case, it would be nice if the language strings would already use the text of this single field. You could achieve this using variables within the lang strings.
There are also some string that still use only the e-mail address. For instance the first sentence:

Here, you can bulk enrol users to your course. A user to be enrolled is identified by his e-mail address stored in his Moodle account.

But also the help text. Teachers will probably get confused if they get only offered a help text for the e-mail option, although they are only able to select for instance the username.

@tobiasreischmann
Copy link

Thanks, looks good to me now

@abias
Copy link
Member

abias commented Jun 4, 2020

Thank you for this pull request!

Are there problems with the travis.yml? It seems that it uses the wrong node version. Could you fix those problems?

@tobiasreischmann - Yes. Moodle core updated to a new node version in MDL-66109 and this had to be adopted in .travis.yml. See open-lms-open-source/moodle-plugin-ci#115 for details.
I have fixed all of our Github repos now.

@rtschu - Please rebase the PR onto this repo's latest master and Travis should work again. Beyond that, may I ask if your PR is already ready for review or if you are still working on Tobias' feedback?

Cheers,
Alex

@sevenseas-gists
Copy link
Author

@abias Pull request is ready for review and has been rebased

@relecand
Copy link

Hi,

I use this pull request in a productive moodle. Works fine.

$string['error_usermails_empty'] = 'List of e-mail addresses is empty. Please add at least one e-mail address.';
$string['error_check_is_already_member'] = 'Error checking if the user (<em>{$a->email}</em>) is already a member of group (<em>{$a->groupname}</em>). {$a->error}';
$string['error_group_add_member'] = 'There was a problem when adding the user <em>{$a->data}</em> to the course group <em>{$a->group}</em>.';
$string['error_more_than_one_record_for_data'] = 'More than one existing Moodle user account with {$a->field} <em>{$a->identifier}</em>em> found.<br /> This line will be ignored, none of the existing Moodle users will be enrolled.';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: </em>em></em>

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@abias abias mentioned this pull request Jul 15, 2021
mfprimo pushed a commit to UniGe/moodle-local_bulkenrol that referenced this pull request Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants