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: « 9 8 7 6 [5] 4 3 2 1 » Show All

  1. is there a cap – like how many MAX you can import at once?
    I did 5 at once – pasted the format in the box – ran like a charm.
    So then I tried 5 at once – from a .csv file – ran like a charm.
    so then I tried 3000 at once – from a .csv file – PROBLEMS!
    only 747 of the accounts loaded – there were no errors reported either…
    it was also refreshing very slowly when I look at the member list – so I gave it an hour – thats when it finally got the “subscribers” count up to 747.
    going to let it run all night (since it is remotely hosted – I cant chck the SQL status – so I dunno what it is really doing)
    just wondering if there was a MAX limit for import.
    Also – any plans to make a reverse version?
    (ie. i want to take those 747 accounts out! can I remove all users who are subscribers w/ the click of a button?) haha..but seriously – would be nice!
    Great plugin by the way..

  2. 74
    seeme

    I get this error , what wrong/
    System error! Could not add: ioman1|ioman@ioman.com

  3. Your instructions call for going to the “manage tab” … but there is no such thing in 2.7.1. For that, one needs to go to the Tools menu on the left. Just FYI.

  4. Can you put this as a normal *.zip file like all the other plugins. I had a problem with it being different and got confused then when i did it it did not end up working to install a plugin.

  5. It seems there was a conflict with another plugin. I disabled other plugins, logged out and then back in and plugin appeared.

    Anyway to specify “publicly display” name as well?

    Thanks

  6. Hi,

    Thanks for the plugin but I cannot get this to appear in the plugins page. I am using fresh, latest wordpress install. Please help.

    Thank you,

    Aaron

  7. 69
    Cryptonite

    How many subscribers can this plug-in handle? Thousands? Is it vulnerable to hackers or very secure? I want only customers who paid for subscription to be able to receive a login and password – so should i get a different plug-in from E-commerce or do they deal with that? Or do I need to setup the login and password myself with your plug-in and somehow only allow users who paid entry? I’m not sure how this would work – because I think your plug-in would allow anyone to enter my site as long as they choose a username and password.

  8. I am having the same issue as Scott(65). The plugin doesn’t show up in my admin screen.

    Any help would be greatly appreciated.

    Thanks!

  9. 67
    Knolly

    By the way, i’m using it on Multi-User 2.7.1 and it’s been brilliant!

  10. 66
    Knolly

    What about setting the default role to ’subscriber’ instead of administrator? I say this after having created 95 administrators accidentally!

  11. I cant get the plugin to show up in plugins on site. I am sort of a newbie so please bare with me. I’m not sure if I’m downloading it right. I copied and pasted the file into notepad and then renamed it .php . I then uploaded the file into my plugins directory. That didn’t work so I placed the document into a file and named it members.php. This didn’t work either. Sorry I’m used to just downloading a plugin not text. Is this how I’m supposed to be uploading it?

  12. Can this be integrated in with paypal subscribe? Would like to have this come up as a completion of payment to have subscribers generate thier user name and password. Don’T want it to be a general public sign up.

    Paypal offers this service for free and will handle all password generation and integrate into site with the admin being able to edit lists. The problem is that I’m a newbie and that is way out of my league. Ive offered up 50.00 for someone to help me in the forums but no takers. Would still like to use paypal but this seems to be something I can do for now.

  13. Hello All. Can this plugin be used with WordPress multiuser? Thanks.

  14. A very nice plugin!
    Working with BuddyPress it would be very very usefull for me to have the possibility to add also a Groupname field.
    DuckS, Netherlands

  15. Version 1.2 Released

    This is the latest version with modifications by contributor Robert McKenzie – Thanks Robert!

    It has been tested in the latest WordPress release (2.7.1)

    Changes include the ability to specify a password, and the user’s first/last name.

Pages: « 9 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.