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.2   Updated Thursday, February 19th, 2009 at 7:19pm

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, or let you specify one. 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

  If you have found this page useful, please consider donating. Thanks!

Changelog

  • 02-19-09 Version 1.2 – Updated modified version with contributions by Robert McKenzie (Thanks Robert!). Changes include the ability to specify a password, as well as first/last names.
  • 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 ‘Settings -> DDImport Users’

Usage

The userdata is entered in the following format:

username|firstname|lastname|password|email|role
username|firstname|lastname|password|email|role
username|firstname|lastname|password|email|role
etc…

To clarify, that is one user per line, with a pipe character between the values. Extra whitespace and empty lines are trimmed automatically. Be sure your data is entered properly! If you do not want to assign a password, first name, or last name, just do not enter them. The field separators are still required. Example:

username||||user@domain.com|

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.

If the password is not specified, one will be randomly generated. In either case, the password is emailed to the user.

Pages: [8] 7 6 5 4 3 2 1 » Show All

  1. I tried to run this plugin today. The email is not being sent to the newly created users (alerting them of their new username and password). Is this disabled by default or do I need to add something to the file to trigger the email notifications?

    Thanks in advance for your help.

  2. One more thing, in response to Jody post #106… What I do to get the bars is to import cvs file into text editor then export back out into word, do a find-replace (commas for bars) and then export back out into text file.. I know the system says you can override your default but you have to remember to do this every time you import and because the role import is being overridden I have to import by role ( I am using worpdress as a classroom management system for a large class (200 users) and am breaking them into teams of six.. roles=team designation and for specific private forums)

  3. I am using the plug in with 2.9 wordpress and works fine. However, when activating the plug in it disables some navigation and other mass changes, such as verifying users and the ability to move widgets into side panels. So I have to activate the plug in, import my users and then deactivate in order to regain all the navigation updating capabilities in wordpress. Lastly, the role I insert into the import file is being overridden by the drop down selection box on the plug-in panel.

  4. Hi: Your plugin is great. I have extra, custom User fields like City, State, Phone, etc.,etc. I’m using a plugin called Cimy User Extra Fields to generate these extra user fields. Is there a way I can populate these extra user fields using your plugin? Thanks! Mitch

  5. After import every user, it sends two emails, one to user, another to admin. I found code line which send email to user. How can i disable admin notification email for every user because i am going to import about fourty thousands users

    Thanks

  6. 109
    WWolf

    Small, but nice plugin; works very well and efficiently! Thank you very much.
    But: Could you configure it in such a way that the “Subscriber” – and not the “Administrator” – is specified as the default role in case no role is specified?
    Many thanks, WWolf

  7. 
    Hi,
    
    I have installed your plugin by renaming it to php and copying at the location specified by you. The plugin has been activated but it still does not show at "Settings" page in dashboard.
    
    My blog which in which ddimport is installed is:
    http://alrahmanpnp.com/blog
    
    I have another blog at http://islamicdepot.wordpress.com where i wish to install once i succeed in doing so.
    
    Thanks and regards
    Shahid
    
    

  8. Hi,

    I have installed your plugin by renaming it to php and copying at the location specified by you. The plugin has been activated but it still does not show at “Settings” page in dashboard.

    My blog which in which ddimport is installed is:
    http://alrahmanpnp.com/blog

    I have another blog at http://islamicdepot.wordpress.com where i wish to install once i succeed in doing so.

    Thanks and regards
    Shahid

  9. 106
    Jody

    OK, I may be an idiot, but I’m trying to figure out how to get a list of names and emails which is now in a .csv format into the proper format required for this plugin. Just how is this done? Between the instructions of “Enable the plugin” and “Use it” there is a bit of a knowledge gap for me. The plugin requires the proper formatting, but how do you apply it to a .csv file?

    Please, a step-by-step explanation for those of us who need it would be welcome!

Pages: [8] 7 6 5 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.