Mass Actions block

Blocks ::: block_massaction
Maintained by Clem Smith
This block allows instructors to perform actions upon multiple resources or activities, rather than having to perform repeated actions on individual items.
Latest release:
1092 sites
251 downloads
58 fans
Current versions available: 7

This block allows instructors to perform actions upon multiple resources or activities, rather than having to perform repeated actions on individual items.

To use this block, Javascript must be enabled in your browse and you must be in editing mode in the course home page. The user must have capability "block/massaction:use". The block may now be used with a course in any course format. However, the OneTopic format is not properly supported at this time. The work-around is to change course formats to another format (Weekly or Topics are well-tested), move the course content around, then change the course format back to OneTopic. I will try to fix the interaction between OneTopic and Mass Actions in the future.

Supported actions include mass selection, indentation, deletion, hiding, showing, and moving. To select items to perform actions on, simply click the checkbox to the right of it in the course home page or use select functionality, then click the action you would like to perform in the block.

Note: the original block for Moodle 1.9 is on http://tracker.moodle.org/browse/MDL-20213; this is the version for Moodle 2.

If you encounter bugs or have suggestions for improvement, please use the bug tracker URL and I will work on those as quickly as possible.

Screenshots

Screenshot #0

Contributors

Clem Smith (Lead maintainer)
Huy Hoang: Original maintainer
Jon Marthaler: Former developer
Dominic Hanzely: Former developer
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • Thu, Jun 15, 2017, 5:52 PM
    Installed with Moodle 2.8 and it works like a charm. Thank you!
  • Mon, Aug 21, 2017, 10:45 PM
    Any news on 3.3?
  • Thu, Aug 24, 2017, 10:29 PM
    I am working on a version compatible with 3.3 and later. Hoping to have it ready next week.
  • Wed, Sep 13, 2017, 12:42 AM
    We cannot make this work on 2.3.4 (We used the one for Moodle 2.4). The plugin installs without problems but the block shows the message "Javascript must be enabled..." (It is enabled), and the checkboxes to select activities are missing, we also tried to disable AJAX to no avail, please let us know if there's something we can do.
  • Wed, Sep 13, 2017, 9:52 PM
    Moodle 3.3 compatible version will be out next week. I've got it working and tested; it's being reviewed right now. I apologize for the delay!
  • Thu, Sep 21, 2017, 8:40 PM
    We installed the latest version in Moodle 3.3 and everything works great.
    Thank you for this great plugin.
  • Fri, Nov 17, 2017, 2:59 AM
    Please please update for 3.4
  • Fri, Nov 17, 2017, 3:08 AM
    I will get the 3.4 version up next week!
  • Mon, Dec 18, 2017, 5:23 AM
    I get the error/warning message below on a course that the block is installed on. Do I need to worry? Moodle 3.2.6
    Too many params passed to js_call_amd("block_massaction/block_massaction", "init")
    line 1014 of /lib/outputrequirementslib.php: call to debugging()
    line 100 of /blocks/massaction/block_massaction.php: call to page_requirements_manager->js_call_amd()
    line 288 of /blocks/moodleblock.class.php: call to block_massaction->get_content()
    line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
    line 1187 of /lib/blocklib.php: call to block_base->get_content_for_output()
    line 1239 of /lib/blocklib.php: call to block_manager->create_block_contents()
    line 356 of /lib/blocklib.php: call to block_manager->ensure_content_created()
    line 3942 of /lib/outputrenderers.php: call to block_manager->region_has_content()
    line 3990 of /lib/outputrenderers.php: call to core_renderer->body_css_classes()
    line 32 of /theme/lambda/layout/columns3.php: call to core_renderer->body_attributes()
    line 1110 of /lib/outputrenderers.php: call to include()
    line 1040 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
    line 246 of /course/view.php: call to core_renderer->header()
  • Mon, Dec 18, 2017, 11:27 PM
    I'm not sure what's causing this error to be thrown. PM sent for instructions on how to reproduce the error. js_call_amd accepts either two or three parameters, and I am passing it three. I think there is something else going on that is causing this problem. If I can track it down, I'll see what I can do to get it fixed. Any information you can provide on how to reproduce the problem will be appreciated.
  • Fri, Dec 29, 2017, 1:38 AM
    It doesn't work on the test server now. I updated from Moodle 3.2.4 to Moodle 3.2.6 and updated the plugin to 2017111700 and now it doesn't work. I'm going to update the production server next week, so I guess I need to stick with the old plugin for block_massaction.
  • Mon, Jan 8, 2018, 3:57 AM
    Seems to work now. Not sure what was going on. Sorry about that!
  • Tue, Feb 20, 2018, 8:20 PM
    I think the problem comes for courses with many activities. The array is imploded into a string and when this string reaches over 1024 characters, it throws a debugging error message (line 1025 in lib/outputrequirementslib.php). Since it's a debugging message, it won't show on a production platform
  • Tue, Feb 20, 2018, 9:28 PM
    I will investigate this issue, Jean-Roch Meurisse. I won't have time to look at this until the weekend, at the earliest. It'll probably be some time in March before this is fixed. I'll get it done as soon as I can, though.
  • John Provasnik at Moodle Moot US
    Fri, Apr 6, 2018, 2:29 AM
    Hi. I'm having an off and on issue in Moodle 3.4.6 that when I'm mass deleting a few times (i.e. 4 quizzes), I get an error. These quizzes are using questions from a Course-Level shared question bank. Instead of deleting I get an error that says Invalid Moodle ID: {$a} - Any thoughts on what could cause that? Normally people ask for any Debugging Mode information but I'm on a Hosted Moodle.
Please login to post comments