Advanced bulk user actions for Moodle
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
actions
db
lang
README.md
lib.php
settings.php
styles.css
user_bulk.php
user_bulk_forms.php
version.php

README.md

Advanced bulk user actions

Its code was updated so that now it has a plug-in structure, enabling developers to add new bulk actions functionality more easily, on the base of single code. Shortly, all actions are stored in their own subfolders in /admin/user/actions/ folder, and the base code redirects user to index.php in the action’s folder. To simplify the implementation even further, necessary language strings can be stored in corresponding subfolder of /admin/user/lang/ folder and fetched by get_string function with action-specific parameters. All “standard” actions (view, confirm, delete…) were edited to fit this plug-in structure and perform the same.

Additionally, some actions were added:

  1. Assign role in courses
  2. Continue manual enrolments of users
  3. Enrol to courses
  4. Purge activity (USE WITH CAUTION: removes user's activity for quizes, lessons, assignments, scorms, attendances and unenrols/unassigns roles from courses)
  5. Suspend manual enrolments of users
  6. Unassing roles in courses
  7. Unenrol from courses

Requirements

Moodle 2.3

For versions prior Moodle 2.2 see https://github.com/andreev-artem/moodle_admin_report_advuserbulk

Installing

Extract the contents of andreev-artem-moodle_admin_tool_advuserbulk-xxxxxxx folder inside the archive you've downloaded to folder admin/tool/advuserbulk.

After installation you can find link "Advanced bulk user actions" in Administration ► Users ► Accounts