User Import

Robert Castelo - September 22, 2005 - 17:57

Import users into Drupal from a csv file (comma separated file).

Features include:

  • Creates an account for each user
  • Upload CSV files through browser, or use file uploaded through FTP
  • Can create Usernames based on data from file
    e.g. "John" + "Smith" => "JohnSmith"
  • Usernames can be made of abbreviated data from file
    e.g. "John" + "Smith" => "JSmith"
  • Can create random, human readable, Usernames
  • Can create random passwords for each new account
  • Can import passwords from CSV file
  • Roles can be set for imported users
  • Match CSV columns to profile fields
  • Can send custom welcome email with account details to each new user
  • Welcome email can include profile data
  • Can set each user's contact form to enabled
  • Organic Groups integration
  • Test mode option to check for errors
  • Processing can be triggered by cron or manually by an administrator
  • Can stagger number of users imported, so that not too many emails are sent at one time
  • Multiple files can be imported/tested at the same time
  • Designed to be infinitely scalable
  • Import settings can be saved for re-use on future imports

Important: Versions before 4.7.x-1.2 have a bug whereby 'illegal' characters such as ' are not filtered out of the username. I've added a function to /admin/settings/user_import/configure which allows you to check existing usernames, and delete them if neccessary - they can then be re-imported, or you could just amend them manually.

Important: Usernames are currently limited to alphanumeric characters (A-Z 0-9).

In the dev version 5.x-2.x-dev I've started implementing:

  • Update existing users option
  • Support for Nodeprofile import (Node Import module is required)
  • Locked down predefined imports suitable for non-admins (e.g. OG group maintainers)

Developed by Robert Castelo for Code Positive - Drupal developer and consultation London, UK .

Releases

Official releasesDateSizeLinksStatus
5.x-1.32007-Jul-2422.52 KBRecommended for 5.xThis is currently the recommended release for 5.x.
4.7.x-1.22007-Feb-2019.98 KBRecommended for 4.7.xThis is currently the recommended release for 4.7.x.
Development snapshotsDateSizeLinksStatus
5.x-2.x-dev2008-May-1626.81 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
5.x-1.x-dev2008-May-1626.81 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
4.7.x-1.x-dev2007-Feb-2019.98 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.