Hello.

Is there a way to subscribe users and give them passwords using a database or spreadsheet or text file? I want to make a private site, available only to pre-registered users, and I want to subscribe them myself and not allow anybody else to subscribe.

I know how to script under linux, be it bash or python or PHP or...

Any advice on this? Thanks!

Comments

WorldFallz’s picture

Check out the http://drupal.org/project/user_import module.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

fdelente’s picture

Thanks!

dman’s picture

The word is "import"

http://drupal.org/project/user_import

Looks like it needs porting or sponsorship for Drupal 6. But it's a good place to start.

.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |

fdelente’s picture

I wanted to try it, and as it is for the 5.x core, I tried to use deadwood to convert it to the 6.x API. The conversion went on ok but if I enable user_import in the modules section, I get an error when I refresh the site homepage (something about a parse error in user_import.module, IIRC).

WorldFallz’s picture

There's already an issue for the upgrade: http://drupal.org/node/267761.

===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz

fdelente’s picture

Great, thank you very much for your help!