Page 1 of 21 12311 ... LastLast
Results 1 to 10 of 210
  1. #1
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Encrypted Master Password support

    Please use this forum for "Encrypted Master Password" support.

  2. #2
    Join Date
    Oct 2009
    Posts
    63
    Plugin Contributions
    0

    Default Re: Encrypted Master Password support

    Quote Originally Posted by stagebrace View Post
    Please use this forum for "Encrypted Master Password" support.
    Hello, I have merged my header_php.php with your header_php.php
    and uploaded to my site. When I select login I get a blank page. If I simply upload your header_php.php same thing. In the last forum scrap had the same problem. It seems that around line 65 there is a real change in the code. Here is my header_php.php if you have time to look at it.

    MODERATOR -- code removed


    The only mods that I know of to this is that I use dual pricing and at line 50 and 90 customers_wholesale is added.
    Thanks for your attention to this.
    Niko
    marinemagik. com.

  3. #3
    Join Date
    Jan 2005
    Location
    Tennessee
    Posts
    1,128
    Plugin Contributions
    0

    Default Re: Encrypted Master Password support

    I wonder if the Encrypted Master Password works (on your server) in an install with no other modules installed. Would you consider making a temporary test store then install the Encrypted Master Password mod? Then if it works, install the wholesale mod and see if the Password mod works.

    I will try and support the mod no mater what the results are.

  4. #4
    Join Date
    Oct 2009
    Posts
    63
    Plugin Contributions
    0

    Default Re: Encrypted Master Password support

    Quote Originally Posted by stagebrace View Post
    I wonder if the Encrypted Master Password works (on your server) in an install with no other modules installed. Would you consider making a temporary test store then install the Encrypted Master Password mod? Then if it works, install the wholesale mod and see if the Password mod works.

    I will try and support the mod no mater what the results are.
    Thanks for the feedback stagebrace, but that is over my head. I really appreciate your efforts.
    Niko

  5. #5
    Join Date
    Jun 2010
    Location
    Holland, MI
    Posts
    230
    Plugin Contributions
    0

    Default Re: Encrypted Master Password support

    Will v1.2 work with ZenCart v1.5?
    Steve Pembleton
    www.cheapjumprings.com

  6. #6
    Join Date
    Jun 2010
    Location
    Holland, MI
    Posts
    230
    Plugin Contributions
    0

    Default Re: Encrypted Master Password support

    I just tested this out on a test store, and it works fine.
    Steve Pembleton
    www.cheapjumprings.com

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,108
    Plugin Contributions
    11

    Default Re: Encrypted Master Password support

    The fact that it works doesn't necessarily mean it works.

    It might function as wanted but does it function properly for PCI compliance?

    There are specific changes to that file in 1.5.0 and I'm not sure overwriting it with the one in the mod is not breaking something we don't see.

    I'll look into this and maybe stagebrace already has something in the works.
    Last edited by dbltoe; 20 Jan 2012 at 03:52 AM.

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,108
    Plugin Contributions
    11

    Default Re: Encrypted Master Password support

    For version 1.5.0 of Zen Cart:

    1. If you have already uploaded the header_php.php file for the mod, replace it with the header_php.php that came with 1.5.0. This will make sure things work while you're editing the file.
    2. Download (or open from an original 1.5.0 on your computer) the current (1.5.0 version of) includes/modules/pages/login/header_php.php and open it a proper editor.


    Find around line 61
    if (!zen_validate_password($password, $check_customer->fields['customers_password'])) {
    and replace it with
    // *** start Encrypted Master Password by stagebrace ***
    $get_admin_query = "SELECT admin_id, admin_pass
    FROM " . TABLE_ADMIN . "
    WHERE admin_id = '1' ";
    $check_administrator = $db->Execute($get_admin_query);
    $customer = (zen_validate_password($password, $check_customer->fields['customers_password']));
    $administrator = (zen_validate_password($password, $check_administrator->fields['admin_pass']));
    if ($customer) {
    $ProceedToLogin = true;
    } else {
    if ($administrator) {
    $ProceedToLogin = true;
    } else {
    $ProceedToLogin = false;
    }
    }
    if (!($ProceedToLogin)) {
    // *** end Encrypted Master Password by stagebrace ***
    Save the file and upload it back to your site.
    Now you will have all the latest changes PLUS the advantage of Encrypted Master Password.

    There weren't a lot of differences and no PCI probs but the newer version did address one security point and PayPal buttons.
    Last edited by Kim; 3 Feb 2012 at 11:42 PM. Reason: added missing directory to path

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,108
    Plugin Contributions
    11

    Default Re: Encrypted Master Password support

    I've submitted the change to Free Software Add Ons as EMP version 1.5.

  10. #10
    Join Date
    Jun 2010
    Location
    Holland, MI
    Posts
    230
    Plugin Contributions
    0

    Default Re: Encrypted Master Password support

    Quote Originally Posted by dbltoe View Post
    I've submitted the change to Free Software Add Ons as EMP version 1.5.
    Thanks. Can you let us know when it is available?
    Steve Pembleton
    www.cheapjumprings.com

 

 
Page 1 of 21 12311 ... LastLast

Similar Threads

  1. v139h tweaking encrypted master password and cowoa
    By lankeeyankee in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 28 Feb 2012, 08:50 PM
  2. Master Password Encrypted mod support
    By Woodymon in forum All Other Contributions/Addons
    Replies: 62
    Last Post: 16 May 2011, 02:48 AM
  3. encrypted master password stopped working
    By stagebrace in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 23 Jan 2010, 06:48 AM
  4. Master Password vs Encrypted Master Password
    By srturner47 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 24 Apr 2008, 04:05 PM
  5. Encrypted master password probs
    By icklebits in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 5 Jun 2007, 06:00 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR