Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Idea or Suggestion 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

  2. #2
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: How to convert bunch of text passwords to zencart hash passwords?

    Quote Originally Posted by oavs View Post
    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...

  3. #3
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: How to convert bunch of text passwords to zencart hash 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

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: How to convert bunch of text passwords to zencart hash passwords?

    A sound solution and thanks for posting it!
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v154 Upgrade from 150 to 154 did not change passwords in DB to $2Y format
    By spyderrobotics in forum General Questions
    Replies: 6
    Last Post: 11 Jan 2016, 07:31 PM
  2. v154 How to migrate Customer Passwords?
    By 8 miles in forum General Questions
    Replies: 2
    Last Post: 29 May 2015, 04:15 PM
  3. How to find customer's passwords?
    By MachaNeko in forum Managing Customers and Orders
    Replies: 3
    Last Post: 29 Apr 2008, 03:16 PM
  4. How do I apply passwords to EZ pages only?
    By artwerx in forum General Questions
    Replies: 1
    Last Post: 21 Oct 2007, 06:16 PM
  5. How to find customer passwords
    By AvieLF in forum General Questions
    Replies: 6
    Last Post: 13 Sep 2006, 06:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg