<![CDATA[ Support/Comments for WebusersImport - My Forums]]> https://forums.modx.com/thread/?thread=44949 <![CDATA[Re: Support/Comments for WebusersImport]]> https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=5#dis-post-395250
Just wondering if you could talk me through adding the custom fields?]]>
haniel Sep 29, 2011, 03:44 PM https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=5#dis-post-395250
<![CDATA[Re: Support/Comments for WebusersImport]]> https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258481
You can edit the template of the Websignup Email in the Manager (Tools -> Configuration -> User).]]>
vhollo Dec 09, 2009, 07:05 AM https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258481
<![CDATA[Re: Support/Comments for WebusersImport]]> https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258480 Quote from: vhollo at Dec 09, 2009, 08:38 AM

- If ’Send notifications’ checkbox is checked the module will send out WebSignup Email.

great work, but what do you mean with websignup email? What is the difference with the previous version ’send notifications’?]]>
DNA Dec 09, 2009, 06:51 AM https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258480
<![CDATA[Re: Support/Comments for WebusersImport]]> https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258479
thanks]]>
Dimmy Dec 09, 2009, 03:10 AM https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258479
<![CDATA[Re: Support/Comments for WebusersImport]]> https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258478
Features:
- Now if password field is empty the module will (hopefully) generate one.
- If ’Send notifications’ checkbox is checked the module will send out WebSignup Email.
- If a user already exists the module will skip it and echo an error message.
- Optional password encripting (don’t store passwords unencripted!)
]]>
vhollo Dec 09, 2009, 02:38 AM https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258478
<![CDATA[Re: Support/Comments for WebusersImport]]> https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258477 Quote from: DNA at Dec 08, 2009, 01:55 AM

to bump this up.

What when i want modx to generate the passwords?

you could add a small password generator in it or use the one modx uses, but then how will the users know what the password is?
you should maybe print them to the screen?
once in the db its md5 and not reversible.

next pice wil generate a password like modx uses:
// Generate password
function generate_password($length = 10) {
	$allowable_characters = "abcdefghjkmnpqrstuvxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789";
	$ps_len = strlen($allowable_characters);
	mt_srand((double) microtime() * 1000000);
	$pass = "";
	for ($i = 0; $i < $length; $i++) {
		$pass .= $allowable_characters[mt_rand(0, $ps_len -1)];
	}
	return $pass;
}
$password = generate_password();


that could be used in the while loop and maybe echo the usename and password to the screen in the same loop.

hope that helps]]>
Dimmy Dec 08, 2009, 03:54 AM https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258477
<![CDATA[Re: Support/Comments for WebusersImport]]> https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258476
What when i want modx to generate the passwords?]]>
DNA Dec 07, 2009, 07:55 PM https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258476
<![CDATA[Re: Support/Comments for WebusersImport]]> https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258475 )]]> vhollo Apr 24, 2009, 06:03 PM https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258475 <![CDATA[Re: Support/Comments for WebusersImport]]> https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258474
- Added checkbox to send notification emails to the imported users (uses the default email template);
- Checks if a user already exists to avoid error message with broken import sessions;
- Puts temporary file to assets/cache because that’s always writable.
And from Dimmy’s:
– Group ID can be used in the text file but it also works without it.

Please test it!]]>
vhollo Apr 24, 2009, 01:00 PM https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258474
<![CDATA[Re: Support/Comments for WebusersImport]]> https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258473
Thanks for your reply, again, and thanks for a great little app.]]>
Meristem Apr 25, 2008, 07:14 AM https://forums.modx.com/thread/44949/support-comments-for-webusersimport?page=4#dis-post-258473