Your Moodle version

Blocks: Delete User by Maillist

block_eledia_userdelete
Maintained by Picture of Benjamin Wolf Benjamin Wolf
This plugin deletes user accounts based on a list of email addresses. The process runs in two steps. Entering the emails and lists the users up before you delete them.

This plugin is similar to deleting users with the bulk operation. There are 2 main differences to the bulk operation. One is the search by multiple keywords(emails only in this case). When you have a list of 100 mails and want to delete the users it is much more comfortable with this plugin. The second difference is the confirmation page. Instead of a comma separated list of the users we have a table with more information about each user in this plugin.


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

Screenshots

Screenshot
Screenshot

Contributors

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

Comments RSS

Show comments
  • Picture of Benjamin Wolf
    Thu, Sep 26, 2013, 11:21 PM
    Tracker entry and moodle docs will follow.
  • Picture of Benjamin Wolf
    Mon, Sep 30, 2013, 8:38 PM
    Tracker created and added. As moodle docs entry i would suggest:
    http://docs.moodle.org/25/en/delete_user_by_maillist
  • MD shot of me from his iphone4
    Fri, Oct 4, 2013, 5:07 PM
    Hi Benjamin,
    i tried to install this for 2.5 but there were errors that you will need to correct:
    - $plugin->requires can't be '2013051402' for 2.5 - see below branching date for 2.5.x.

    $version = 2013051401.14; // 20130514 = branching date YYYYMMDD - do not modify!
    // RR = release increments - 00 in DEV branches
    // .XX = incremental changes


    - perhaps a more direct url to code: https://github.com/eledia/block_eledia_userdelete/tree/v_25/blocks/eledia_userdelete

    - the tracker url is only to one single tracker issue. If you want to use tracker, please create a component request so that all issues about this plugins can be created in future under that component. see https://tracker.moodle.org/browse/CONTRIB (note: github.com also provides issue tracking.)
  • MD shot of me from his iphone4
    Tue, Oct 8, 2013, 3:24 PM
    Hi Benjamin, thanks for your pm.
    I've created the plugin's component and updated the tracker link. I've updated your documentation link too.

    Yes, stable versions of moodle only increment after the decimal point. Thanks for updating that, installation is smooth now smile.

    I can't however find the block! On that note, this really could've have been an admin tool instead of a block.
    I can see it under "Manage blocks' though. What am i missing here?
  • Picture of Benjamin Wolf
    Tue, Oct 8, 2013, 5:29 PM
    Hi Aqarup,

    thank you for the help with the tracker.

    The block is limited to the admin at the moment but we think about to make it available by a capability in a later Version. It is only allowed on the main site.

    I choose a different title when publishing, but forget to change the title in the lang file. The old title was "User Delete". I have changed that now in the new Version. It fits the name used to published here now. After publishing we will managing the lang strings within AMOS.
  • MD shot of me from his iphone4
    Wed, Oct 9, 2013, 11:21 AM
    Thanks, i see it now on main page. It seems to be functioning fine.
    I think this idea can evolve into a MDL improvement where
    admin/user/user_bulk.php
    allows quick entry of multiple matches into the filter fields (if not already managed by cohorts).

    On the use of block_eledia_userdelete, please be aware that a plugin can still be registered as block_userdelete. Would you consider renaming?
  • Picture of Benjamin Wolf
    Wed, Oct 9, 2013, 6:29 PM
    There are 2 main differences to the bulk operation. One is the search by multiple keywords. When you have a list of 100 mails an want to delete the users it is much more comfortable this way. The second difference is the confirmation page. Instead of a comma separated list of the users we have a table with more information about each user. But you are right, it goes in the direction of an increased bulk function.

    About the naming part we know that block_userdelete still can be registered. The naming at the moment is a compromise we also made with the other plugins we publish. We remove the company name from title and pluginname strings but leave it in the folder name. We are although in hosting business and use the keyword to quick find plugins from us on the customer systems.

    So what about a moodle docs page for this plugin. I would suggest: http://docs.moodle.org/25/en/Delete_User_by_Maillist
  • MD shot of me from his iphone4
    Thu, Oct 10, 2013, 10:43 AM
    Thanks, the explanation really helps (so much that it could go into the long description area above wink )
  • Picture of Benjamin Wolf
    Thu, Oct 10, 2013, 8:30 PM
    Added the description. What about the moodle docs page? Seems like i don't have the permission to add there.
  • MD shot of me from his iphone4
    Fri, Oct 11, 2013, 2:08 PM
    Have you read http://docs.moodle.org/25/en/MoodleDocs:Guidelines_for_contributors ?
    I've also pinged Helen about this in case you're having further issues.
  • Picture of Helen Foster
    Fri, Oct 11, 2013, 2:58 PM
    Hi Benjamin, I have made a start on http://docs.moodle.org/25/en/Delete_User_by_Maillist for you. (As you found, you didn't have permission to create the page. You need to make at least one edit in the wiki before you are allowed to create a new page.)
  • Picture of Helen Foster
    Fri, Oct 11, 2013, 5:57 PM
    Thanks Benjamin for adding documentation to http://docs.moodle.org/25/en/Delete_User_by_Maillist - it looks really good smile
Please login to post comments