Welcome to Dagon Design. In addition to free scripts, WordPress plugins, and articles, we offer a variety of services including custom theme design, plugin creation, and PHP scripting. Contact me for more information.

Version 1.1   Updated Tuesday, June 12th, 2007 at 6:18pm

Import Users Plugin for WordPress

This plugin was created for people who need to easily add multiple users to their WordPress installation. Simply give it a list of usernames and email addresses, specify the role of the users (subscriber, author, admin, etc.) and it does the rest. It will automatically email each user and give them their randomly generated password. It also has validation in place to make sure the usernames do not already exist, that the email addresses are not already in use, that the usernames are valid, etc. After it processes the information, it tells you how many were added, and upon error, gives you the reason why each failed.

Download

  • Latest Release (For WordPress 2.0 through 2.5)
  • Modified Release (For WordPress 2.0 through 2.5)
    Contributer Nicholas LaRacuente has sent us this heavily modified version which adds support for file uploads, as well as arbitrary regex delimiters to ease importing from various sources. Thanks Nicholas!

Changelog

  • 06-12-07 - Modified version by Nicholas LaRacuente added (download link above).
  • 05-03-07 Version 1.1 - Updated to take advantage of the customizable roles feature in WordPress 2.1. This update was contributed by Tom Ransom.
  • 08-06-06 Version 1.0 - First release.

Instructions

  • Download the above file, rename it from .txt to .php, and upload it to your plugins directory.
  • Enable the plugin.
  • Use it by going to ‘Manage -> DDImport Users’

Usage

The userdata is entered in the following format:

username|email
username|email
username|email
etc…

To clarify, that is one user per line, with a pipe character between the username and email address. Extra whitespace and empty lines are trimmed automatically. Be sure your data is entered properly!

After you have added your user data, you can choose the role for the users with the drop down box. The choices are: Subscriber (default), Contributor, Author, Editor, and Administrator.

Pages: [4] 3 2 1 » Show All

  1. D’Arcy I would love to get a hold of your modified modified version. I work in a school district of 68,000 students where this could be useful. I use the unmodified version and tell blog admins to deal with the existing user and would love to not worry about it. Thanks.

    Thank you to Dagon Design, your plugin has saved me hours.

  2. I’ve modified the plugin (actually, the modified plugin…) to support gracefully handling existing usernames and email addresses on import. I’ll do some more testing, and can share my minor edits if anyone finds them useful.

  3. This plugin is REALLY handy. Thank you SO much. I’m using it on a campus blogging service, and the profs are using it to batch enroll students to the class blog.

    One thing they’re finding is that if a student already has an account on the WPMU site (another course, or individual blogs, etc…) that the import process fails.

    Is there a way to handle the case of a user account already existing?

  4. It actually uses the built-in WordPress functions to send the email. The same email that is sent when a user registers the traditional way. So to do this, you would have to find where in the WP core files the wp_new_user_notification is declared and modify it there.

  5. Hi there!
    Thanks for the plugin! How do I modify the activation reminder email sent? I wanted to change the format and wording of it. Please advise. Thanks again.

  6. 47
    Stepsel

    Can this plugin be used in WP 2.5.n ?

  7. 46
    Minstrel

    I am trying to bulk upload around 5000 users. I have disabled the feature that sends the email as it is not required. The usernames, passwords and emails were added successfully but the passwords don’t seem to work unless I reset them using the Wordpress Web interface.
    Is there a way to login to Wordpress without resetting the password?
    Would appreciate some help on this.

Pages: [4] 3 2 1 » Show All

Leave a Comment

Before you comment: If you are having an issue with a script, please make sure you have read the entire article. Also, please read through the comments because most common issues have already been discussed many times. Thanks.


Be sure to wrap all code in <code></code> tags.