Results 1 to 10 of 210

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Encrypted Master Password support

    Quote Originally Posted by lat9 View Post
    @hubert, for step#3 you should be using the files from the 1.6.0 version, not v2.1.0.
    OK, OK, I just understood, so it was just "install 1.6 instead of 2.1". LOL

    Thanks a lot for your patience.

    It works, it's great. I just noticed something.
    Choose customer X, click Place Order, you get a new tab acting as X.
    Don't close your tab, just go back to the customer list tab.
    Choose customer Y, click Place Order, you get a new tab acting as X.

    If you do not logout X I can't act as Y.
    Just curiosity, would it be possible to have a customer by tab, acting as X in a tab and at the same time as Y in another tab ?

  2. #2
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Encrypted Master Password support

    Next step...

    As I'm planning to give a restricted access to the one who is going to take orders on the phone using EMP... I just noticed that I have no way to give access to the Place Order button in an Admin Profile.

    I've setup a "Cashier" admin account, given access to the customers page, but when I log as the Cashier the Place Order button disappears...

    How can I add the option in the admin profiles settings ?

  3. #3
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Encrypted Master Password support

    Following...

    I've dug a bit : admin profiles gives access to admin pages, since EMP has not its own page (its settings are in Configuration->My Store), seems impossible to give access to EMP.
    More, even if you/we move the EMP settings to a separate page, that would makes us give access to this settings page which is not what I'm looking for.

    There must be a trick, but the problem seems to me to give access to customer side page from a admin profile system which is built only to give access to admin side pages.

    The thing I don't understand is how the profile system can sort out a button in a page...

  4. #4
    Join Date
    Mar 2005
    Posts
    229
    Plugin Contributions
    0

    Default Re: Encrypted Master Password support

    Here is the trick which is not really one, I was looking too far :
    in /admin/customers.php

    around line 1212
    Code:
    if (!$emp_result->EOF && ($_SESSION['admin_id'] == EMP_LOGIN_ADMIN_ID || $emp_result->fields['admin_profile'] == EMP_LOGIN_ADMIN_PROFILE_ID) ) {  /*v1.7.0c*/
    should be
    Code:
    if (!$emp_result->EOF && ( $_SESSION['admin_id'] == EMP_LOGIN_ADMIN_ID || in_array ($emp_result->fields['admin_profile'], explode (',', EMP_LOGIN_ADMIN_PROFILE_ID)) )) {
    And now my cashier has the button and everything is fine.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Encrypted Master Password support

    Quote Originally Posted by hubert View Post
    OK, OK, I just understood, so it was just "install 1.6 instead of 2.1". LOL

    Thanks a lot for your patience.

    It works, it's great. I just noticed something.
    Choose customer X, click Place Order, you get a new tab acting as X.
    Don't close your tab, just go back to the customer list tab.
    Choose customer Y, click Place Order, you get a new tab acting as X.

    If you do not logout X I can't act as Y.
    Just curiosity, would it be possible to have a customer by tab, acting as X in a tab and at the same time as Y in another tab ?
    That's not going to be possible, since the session-cookie is stored once-per-site in the browser. If you have multiple browsers, you could have Customer X in Firefox, Customer Y in Chrome, ...
    Quote Originally Posted by hubert View Post
    Next step...

    As I'm planning to give a restricted access to the one who is going to take orders on the phone using EMP... I just noticed that I have no way to give access to the Place Order button in an Admin Profile.

    I've setup a "Cashier" admin account, given access to the customers page, but when I log as the Cashier the Place Order button disappears...

    How can I add the option in the admin profiles settings ?
    You've discovered that the multiple admin-profiles settings were introduced post EMP v1.6. The change that you posted brings your Customers->Customers handling up to the current EMP version.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Encrypted Master Password support

    I've uploaded v2.2.0 of EMP to the Zen Cart Plugins for review. This version adds support for Zen Cart v1.5.5 and drops support for Zen Cart versions prior to v1.5.3, with the following changes:

    - Update to use Zen Cart 1.5.5 release (03-29-2016) for the core-file changes
    - Add Dutch language constants
    - Use new Customers->Customers notifier
    - Remove support for Zen Cart versions prior to 1.5.3
    - Restructure the plugin's distribution zip-file
    - Remove OSH-updated-by code; it can be installed separately if the functionality is desired.

    Note: If you're still using a version of Zen Cart prior to v1.5.3 for your store, please use an earlier version of EMP.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,948
    Plugin Contributions
    96

    Default Re: Encrypted Master Password support

    v2.2.0 is now available for download.

  8. #8
    Join Date
    Apr 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: Encrypted Master Password support

    Not sure what I did but my attempts to log in as a customer using my store admin password are no longer working:

    https://www.exilemachine.net/shop/in...action=process
    WARNING: An Error occurred, please refresh the page and try again.

    If I put in a nonsense password it gives me the correct red banner password error:
    Error: Sorry, there is no match for that email address and/or password.

    I'm on ZC 1.5.4 and I can not determine the version of the EMP that I'm using. Is there a file that shows which version EMP is in use?

    -Mark

  9. #9
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Encrypted Master Password support

    Quote Originally Posted by Exile Machine View Post
    WARNING: An Error occurred, please refresh the page and try again.
    See: http://www.zen-cart.com/content.php?...-and-try-again
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

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

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