Mass Actions

Mass actions for discussions

Compatible with Flarum v1.6.2

Latest release 1.1.2

922 downloads

released on Feb 13, 2022

Mass Actions

MIT license Latest Stable Version Total Downloads Donate

This extension adds the ability to perform grouped actions on discussions through checkboxes. A future version might re-use the logic for users.

On the discussion list, use the checkbox control in the top left or hover a discussion to select. Once discussions are selected, the controls on the top right will change to show available mass actions.

The list of buttons appearing depends on the permissions the actor has.

Change "View mass selection controls" permission in the admin panel to configure who can see the checkboxes. This control is only visual, and doesn't impact REST API permissions or rate limiting.

Currently supported features:

  • Mark as read
  • Delete/restore (soft delete only)
  • Lock/unlock
  • Set tags (exact list)
  • Add tag (to existing list)

Technical details: current implementation uses existing REST API endpoints and loops through discussions client-side. All API requests are dispatched at the same time, so this means there could be rate limiting issues.

This version has not been optimized for mobile. It's probably a good idea to only make it visible to moderators for now.

The intent is to integrate this UI/feature into Flarum in a future release. Please leave feedback on your experience, so we can see what needs tweaking!

Installation

composer require clarkwinkelmann/flarum-ext-mass-actions

Support

This extension is under minimal maintenance.

It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.

You can contact me to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Links

© 2022 Hyn by DaniĆ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.