Prompting imported users to set passwords

Permalink
Hi,

I will be importing over 250 users into a new Concrete5 site. Since there appears to be no way to bring their existing passwords over (from a Joomla site), I want the next best option: a user-friendly way to have each user select a new password. Asking users to choose the "forgot password" option doesn't seem very user friendly. Is it possible for me to generate a "/login/change_password/---code here---" link for each user without them getting "forgot password" emails? Or are there any better suggestions for accomplishing this task?

 
ronyDdeveloper replied on at Permalink Reply
ronyDdeveloper
As you are about to import 250 users, I'm sure you have the code/add-on for import. Now lets set the default password for all like "password". Here is the code that you can add into your csv import code.
$password = md5('password:7tf2r5tszdc12uzszrgzmcrrlbbjbxhajfidxu3konxcs49zdtarisrgi98e9esz');
//7tf2r5tszdc12uzszrgzmcrrlbbjbxhajfidxu3konxcs49zdtarisrgi98e9esz = Password Salt, use your sites password salt


Now after each user import, write a code to send that user an email. By which you can let that user know that his new password is : "password". He/she must reset their password upon next login and it is mandatory.

Also you can create a custom table which have 2 fields, uID & passChanged. Just insert the uID = "each user ID" and passChanged = 0 while importing through code. And if they change the password, update the passChanged = 1. Then edit the profile page, so if the user is from that csv & passChanged = 0, an alert will be shown in his profile.

Note: A bit custom work required. I've done the same for one site where I have to import almost 12K users along with its attributes.

Rony
mwickens replied on at Permalink Reply
Thanks. That sounds like too much work. :-) But I may have to resort to it if I can't find a simpler option.
bleenders replied on at Permalink Reply
bleenders
I bought and used this one last week:
http://www.concrete5.org/marketplace/addons/lerteco-user-importer-p...

Works like a charm when you set up your CSV right. You can also import a password along with custom attributes etc.
mwickens replied on at Permalink Reply
I can import passwords, but not their existing passwords. And giving them all new passwords would mean I need to send those passwords via email, which is insecure.