If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / How to convert bunch of text passwords to ZC-format passwords?

How to convert bunch of text passwords to ZC-format passwords?

Started by oavs on 23 Sep 2014, 10:52 PM · Views: 1,191

Results 1 to 4 of 4
23 Sep 2014, 10:52 PM
#1
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

How to convert bunch of text passwords to ZC-format passwords?

Hi

I have imported 100's of customers from a different cart and all they have is 5-7 or more digit text/number passwords and need to convert them to zencart equivalent.

Can someone please illustrate how to convert these passwords already in a excel file?

Example of passwords are:
nokiaphone
iidadog
kobelco.08
maximus
jackturner
jasper
3242
oscar
dkemp1
clannad
Jack
possum
dinki
160483
holly4
Jul-16

Downunder QLD

24 Sep 2014, 12:19 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How to convert bunch of text passwords to ZC-format passwords?

oavs:

Hi

I have imported 100's of customers from a different cart and all they have is 5-7 or more digit text/number passwords and need to convert them to zencart equivalent.

Can someone please illustrate how to convert these passwords already in a excel file?

Example of passwords are:
nokiaphone
iidadog
kobelco.08
maximus
jackturner
jasper
3242
oscar
dkemp1
clannad
Jack
possum
dinki
160483
holly4
Jul-16

I don't have ready access at the moment but am aware that there is hash code to encrypt the passwords, more than likely it can be found (if one were to try to search it out) by following the actions of a customer establishing an account off of the post routine of the tpl_login_default page. Look in the associated includes/modules/pages/DESTINATION/header_php.php and main_template_variables type files before going on to the associated template file. My guess is that a function is called to hash the password. From there probably a few routes to go, I haven't thought of a good one yet to handle all of those... Otherwise something like master password might be possible to "login" to each account and reset their password (slow way). Or just ask all customers to do some sort of login to set their password and use some sort of generic like password (discourage this as then security for individual users is low).

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

24 Sep 2014, 12:46 AM
#3
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: How to convert bunch of text passwords to ZC-format passwords?

Thanks your your reply. I have opted for mass emailing and asking them to click on the link 'Forgot your password?' . At least it is handled properly by Zencart.

Cheers

Downunder QLD

24 Sep 2014, 12:50 AM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: How to convert bunch of text passwords to ZC-format passwords?

A sound solution and thanks for posting it!

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...