Mass Actions block

Blocks ::: block_massaction
Maintained by Matthew Davidson
This block allows instructors to perform actions upon multiple resources or activities, rather than having to perform repeated actions on individual items.
Latest release:
2107 sites
611 downloads
83 fans
Current versions available: 10

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 should work in most course formats.

Supported actions include mass selection, indentation, deletion, hiding, showing, making available, duplicating, and moving. To select items to perform actions on, simply click the checkbox next to the activity or resource or use select functionality from the block.  Then click the action you would like to perform in the block.

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
Screenshot #1
Screenshot #2
Screenshot #3
Screenshot #4

Contributors

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

Comments RSS

Comments

  • Alan Taylor
    Yaou, 4 Ebr. 2013, 7:27 AM
    I thought it wasn't working with ver. 2.4. However, I had installed and was using grid format. When I switched to topic format the mass action appeared in the add a block and worked fine.
  • Huy Hoang
    Yaou, 4 Ebr. 2013, 10:42 PM
    Uploaded version 2013040400 that tries to parse the section names, as requested by Michele.
  • Michele Turre
    Sad., 13 Ebr. 2013, 1:11 AM
    Thank you! Section names do appear in the Select Section drop-down. Very helpful.

  • Rich Solomon
    Yaou, 18 Ebr. 2013, 7:26 AM
    I grabbed the new 2.4 version, but I don't see it in the available list under the Collapsed Topics format. I changed to just Topics and it was there. Ultimately not a big deal. But is there any thoughts about adding a Mass Duplicate feature at all? I'm trying to get a common layout for each week, and was hoping that Mass Actions could shorten the work. wink
  • Also me
    Mer., 22 Mae 2013, 3:45 PM
    I've found the line that allows you to get it to work under other course formats.
    It's in: ../blocks/massaction/block_massaction.php ...line 39.
    Add:
    'course-view-courseformatname' => true
    replacing courseformatname with the appropriate course format (I've only tried it with grid).
    Disclaimer: I am not a developer and I've not rigorously tested this for problems.
  • Jerry Mathews
    Sul, 21 Goue. 2013, 5:02 AM
    I installed this block and it was instantly loadable, however, any attempt to use it would result in a Internal Server Error page. After an hour of exploring, I discovered that he problem was in the permissions of the block files. So, using file manager in CPanel, I found that the permission for the files "action.php" and "block_massaction.php" were set to "666" I changed the permissions on both files to "644" and now the functions work perfectly even with AJAX still enabled within Moodle.

    It has already made my life so much simpler.
  • the feather in Illusions
    Yaou, 17 Here 2013, 11:49 AM
    We used it on 2.3x, 2.4x all working fine with one drawback, once the block enabled, the core's moving resource/activity no longer working.

    To move a single resource/activity position within a unit, you have to clear this add-on block.

    Hope anyone can confirm or show me other ways to make this two task can work together. Otherwise, hope the future version can address this problem

  • Huy Hoang
    Yaou, 21 Du 2013, 11:07 PM
    @Chiu Charlie: there was a javascript error when used with 2.6 (and 2.5?) that break the page' script, fixed this in version 2013112101.
  • C'est moi :-)
    Mer., 7 Mae 2014, 5:28 PM
    This block is nice and useful !
    But i can't find it in AMOS to make/upgrade the french translation...
  • Clif Kussmaul
    Sad., 17 Mae 2014, 10:12 PM
    In debug mode, I see:
    Invalid get_string() identifier: 'massaction:addinstance' or component 'block_massaction'.
    Perhaps you are missing $string['massaction:addinstance'] = '';
    in ../moodle/blocks/massaction/lang/en/block_massaction.php?

    And indeed that file is missing such a line...
  • Clif Kussmaul
    Sad., 17 Mae 2014, 10:16 PM
    I have Moodle 2.6 and MassAction 2013112101. MassAction installs, appears in the block list and the list of teacher permissions, but does not appear in the list of blocks.
  • Oam
    Gwe., 18 Goue. 2014, 7:33 PM
    Hello !

    In debug mode, I've got an error easy to fix : (Moodle 2.5)

    Invalid get_string() identifier: 'massaction:addinstance' or component 'block_massaction'. Perhaps you are missing $string['massaction:addinstance'] = ''; in /var/www/moodle/www/blocks/massaction/lang/en/block_massaction.php?

    Can you add a line like this in lang/en.php ?
    $string['massaction:addinstance'] = 'Add a new Mass Action block';

    Thanks !
  • Dan Jeffries
    Mer., 10 Gwen. 2014, 6:40 PM
    Hi

    Running 2.6.4 and can confirm it's not appear in Blocks list, though has installed.

    Any ideas? Would be a huge help!

    Thanks!
  • Curtis Barker
    Yaou, 18 Gwen. 2014, 12:31 AM
    I can echo that it all looks correctly installed, but nothing on the drop down to add an instance.
  • Sebastien Jaffredo
    Meu., 24 Cʼhwe. 2015, 3:10 PM
    Hi

    Do you know any way to do something similar with activity settings? I need to change the "Allow access from" and "Allow access until" settings to a series of activities in one go.
    Even better: being able to do this across many different courses, instead of just one at a time.
Please login to post comments