Suspend User

Blocks ::: block_eledia_suspenduser
Maintained by Benjamin Wolf
This plugin suspends user accounts based on a csv file with email addresses. Access is controlled by a capability.
Latest release:
27 sites
5 fans
Current versions available: 5

The block can be included by the admin on the main page. The block offers a link to the plugin settings. The block defines a capability for using the settings form. So you can give other roles access to the plugin. By Default only the admin has access. In the form you can set the path and filename of the input file. It must be within the moodledata. The path should be given relative to the moodledata.
The csv field delimiter has to be the ';'.

NOTE: In Github we use an empty master branch. The different plugin versions can be found in special branches for each Moodle version.


Screenshot #0


Benjamin Wolf (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Anthony Borrow
    Thu, Nov 14, 2013, 3:00 PM
    On 10/22/2013 02:33 AM - Aparup Banerjee has commented on a plugin submission that hasn't been approved:

    Hi Benjamin,
    Just stopping by to quick ask, did you want a component in tracker for this?
    also the conventions for repository naming are like
  • MD shot of me from his iphone4
    Tue, Nov 19, 2013, 1:12 AM
    I've update tracker URL. Re-approved, thanks for reuploading.
  • Wed, Jun 11, 2014, 6:12 AM
    The repository URL does not contain valid link - the referenced repo at is empty. May I ask for fixing this? Thanks in advance.
  • Wed, Jun 11, 2014, 4:50 PM
    Thank you for this hint. I think i need to improve the description here with additional information. On the page you can find a note about that:

    NOTE: In Github we use an empty master branch. The different plugin versions can be found in special branches for each Moodle version.

    I will add this note to the description here.
  • myname
    Thu, Feb 9, 2017, 4:35 PM
    Thanks, I have some questions
    1)not regarding the plugin, but the file, how to create the .csv file periodically?
    2) when the suspended users become active again will the plugin re-activate them?
  • Tue, Feb 14, 2017, 5:37 PM
    1) The plugin only processes the file. There is no solution here to generate it periodically. I guess you could use the configurable reports plugin to generate lists according to your needs, by using custom sql and filters. But i am not sure if you can do this automatic in background.

    2) There is no criteria which could tell the plugin the user is active again. So the plugin has no option to do this. Keep in mind that a suspended user cant login. So he cant be active again from his own. He must be un-suspend by administration manually.
  • Fri, Jan 26, 2018, 1:17 AM
    I installed the plugin, did the upgrade and added the config file location into the settings form. That all seems fine, but I don't see any new cron entry showing up in Scheduled Tasks - either in the Web UI or CLI. Currently using Moodle 3.2.1. Any hints on how to get the task to run?
  • Mon, Jan 29, 2018, 8:29 PM
    This is an older Plugin an still uses the old cron function. It does not have an own task and runs within the \legacy_plugin_cron_task once each day.
Please login to post comments