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
260 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

  • Tue, Apr 24, 2018, 3:28 PM
    I have a small question. I installed v5.1.3 on my Moodle 3.3 and now I want to upgrade my Moodle to 3.4. However, I download v5.1.2 which is for Moodle 3.4 but Moodle doesn't let me to upgrade version with message "Default exception handler: Cannot downgrade block_massaction from 2018013000 to 2017122700. Debug:". I would like to ask if can I use v5.1.3 on Moodle 3.4? Thanks!
  • Tue, Apr 24, 2018, 9:19 PM
    Harold,

    I apologize. That was an oversight on my part and has now been corrected.
  • Wed, Apr 25, 2018, 10:19 AM
    Thank you very much for your quick response and update. It works very well on the upgrade from 3.3 to 3.4 now! smile
  • Thu, May 10, 2018, 12:09 PM
    Is there any chance this could be made compatible with https://moodle.org/plugins/format_flexsections when they are collapsed? When everything is opened it works fine, but when a section containing an item is closed it no longer works at all.
  • Thu, May 10, 2018, 9:10 PM
    Mr. Bartley,

    Currently, the plugin relies upon using the HTML DOM to discover the modules that are in the course. When your flex sections are collapsed, there are no modules in them for the plugin to discover. This is why it currently does not work with collapsed flex sections. That said, I am expecting to be able to spend time either later this month or in June working on refactoring the plugin to work much better and to be less reliant on the DOM. I'm going to private message you to discuss this further.

    Clem
  • Tue, May 15, 2018, 6:49 PM
    I get that it wouldn't be able to find the things in the collapsed sections, but is there a reason it won't work with the items that are there though?
  • Tue, May 15, 2018, 8:08 PM
    The only reason it wouldn't work is if there is a javascript error on the page. I've tested it with that course format in our Moodle installations and it works. So the only thing I can think of is that there is something on the page throwing a javascript error, which would prevent anything else relying on javascript from executing.
  • Tue, Aug 7, 2018, 9:43 PM
    Any plans on supporting 3.5? There are javascript errors which stop it working at the moment.
  • Wed, Aug 8, 2018, 3:22 AM
    It works for me on 3.5. What errors do you get?
  • Thu, Aug 16, 2018, 3:36 AM
    Doesn't seem to work for me in 3.5 either. Could be me since I just recently upgraded to 3.5. I just installed mass actions, added block to course, but the block doesn't see any of the topics. Pull down is essentially blank. There are checkboxes in Topic zero but even if I click on them and select an action, nothing happens. If I click on 'select all', nothing gets selected. I don't see anything to suggest there are errors of any kind but it is clearly not working
  • Tue, Aug 21, 2018, 3:21 AM
    Nevermind... it is magically working now... (I'm so happy)
  • Tue, Aug 21, 2018, 3:26 AM
    OK... now there is weirdness I can't understand... so far it is working in 4 of my courses but I have one where it won't work. It is doing exactly as I described in my Aug 15 comment...???
  • Wed, Aug 29, 2018, 3:35 AM

    Checkbox does not appear on all topics
    If I click on 'select all', nothing gets selected.
    version is the Moodle 3.5+ (Build: 20180628)
  • This is a picture of me
    Wed, Oct 31, 2018, 4:27 AM
    Hey Clem,

    There are a few issuse when use the onetopic course format that has multiple parent sections with child sections.

    1. Bulk move activities between sections that have child sections between the transition:

    A course has 5 parent sections, Section 3 and 4 have 4 child sections each (Total of 13 sections)
    Move a bunch of activities from Section 1 to Section 5
    These activities will be moved to a child section in section 3 instead of section 5

    2. Can't bulk move activities that are in a child section

    Thanks

  • Fri, Feb 8, 2019, 6:14 PM
    Hi guys, My Apologies to Clem Smith I directly messaged and then noticed the comments section, Are there any plans to update this for 3.5? My workplace won't allow me to use it unless it is at the same version as the Moodle.
Please login to post comments