I've been looking for some feature to auto import users into drupal 6.3 database from a csv file.
http://drupal.org/search/node/import+users
I found .. "User Import: Create user accounts by importing data"
but it is for drupal 5.x. ..
Then I found this ..
"The user Import module seems to be the only Drupal module capable of importing multiple users into Drupal, but has yet to be upgraded to 6.x."
but I'm not sure how to apply a patch so I've skipped this option.
...
So I experimented with an external executable script, running in Windows, reading in username + emailaddress + password .. then generating keystrokes for formfield data entry in ../drupal-6.3/?q=admin/user/user/create.
This works nicely in the browser but it is a bit slow since characters are written into each formfield in create user.
Just wondering if I've overlooked some drupal 6.3 feature (not a patch) to directly populate the database with a user population from csv file.
Comments
Try this:
Patching drupal source: http://drupal.org/patch
Web Design & Development in Nottingham by Kineta Systems
no patches, thanks
I wrote .. " ... if I've overlooked some drupal 6.3 feature (not a patch) .."
Thanks .. but I'm not confident enough to try a patch.
I prefer direct scripting.
Surely other users must have a similar requirement to populate a user database from an external file?
My current work around is to use client side scripting .. but that should not be necessary.
Erm
Patching contrib modules is part of the territory. Patching core is not advised.
I advise patching the module, or asking someone to help you out with it. Confidence isn't so much of an issue as you suppose.