Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Forums / Cotonti / Extensions / [Plugin] Mass user import

tensh
#1 2012-11-13 12:33


Contributors
Thanked: 9 times

This plugin imports users from a csv file into Cotonti Siena (Siena after the recent security upgrade, not lower). It features checks for duplicate usernames and emails. It sends emails with links to activate or cancel account or can bypass sending emails and import users directly to Members usergroup, without sending emails.

Hope you like it.

Don't spam with it ;)

Userimport download

Macik
#2 2012-11-13 16:03


Team
Thanked: 60 times

I'm testing it. Very good and very usefull.

Does you planned to load it to GitGub and making page in «files/extensions» on this site?

If you place it on Github, I can upload russian translation for it.

 

Seems working fine.  

Small bug - it duplicates last lines in sended Emails (with site title and link) - like this:

Best regards,

Cot98 - http://localhost/cot98

Cot98 - http://localhost/cot98
Subtitle

 

https://github.com/macik
tensh
#3 2012-11-14 08:03


Contributors
Thanked: 9 times

Thanks for testing, I'll look into this bug. Seems like the last lines shouldn't be in default template - maybe cot_mail() attaches these lines by default?

Well, I think I can do this (add to github + plugins), at least I'll try :)

I just have to add a check for the correct CSV structure - if the incorrect file is submitted, it might generate ugly errors. After this addition, I can say it's a complete plugin.