Page 20 of 25 FirstFirst ... 101819202122 ... LastLast
Results 191 to 200 of 241
  1. #191
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Login as Customer module

    Quote Originally Posted by boomer196 View Post
    I had the same problem. It is because your ENABLE_SSL_CATALOG in your admin/includes/configure.php variable is set to ''. Set it to either 'true' or 'false'

    I also had to modify the tpl_login_as_customer_default.php file to get the values to display on the page by adding adding the missing php to ? (<?php echo). FYI, the state will not display b/c the query in the modified customers.php needs to join to the TABLE_ZONES to get it and pass it in, but I didn't care, so I left it alone. Great Add-on though! Thanks for creating it!!!

    Code:
    <?php
    
    $email = $_POST['email_addr'];
    $pass = $_POST['password'];
    $first_name = $_POST['firstname'];
    $last_name = $_POST['lastname'];
    $c_company = $_POST['company'];
    $c_id = $_POST['cid'];
    $c_address = $_POST['address'];
    $c_city = $_POST['city'];
    $c_state = $_POST['cstate'];
    $c_zipcode = $_POST['zipcode'];
    $c_telephone = $_POST['phone'];
    $url = $_POST['s_url'];
    $token = $_SESSION['securityToken'];
    $url .= "index.php?main_page=login&amp;action=process";
    ?>
    
    <div align='center'>
      <table border='0'>
        <tr>
          <td colspan ='3'>Are you sure you want to log in as:</td>
        </tr>
        <tr>
          <td align='left'><b><?php echo ENTRY_FIRST_NAME; ?> </b> <?php echo $first_name; ?></td>
          <td align='left' colspan='2'><b><?php echo ENTRY_LAST_NAME; ?> </b><?php echo $last_name; ?></td>
        </tr>
        <tr>
          <td colspan ='3' align='left'><b><?php echo ENTRY_COMPANY; ?></b><?php echo $c_company; ?></td>
        </tr>
        <tr>
          <td colspan='3' align='left'><b><?php echo ENTRY_STREET_ADDRESS; ?></b><?php echo $c_address; ?></td>
        </tr>
        <tr>
          <td align='left'><b><?php echo ENTRY_CITY; ?></b><?php echo $c_city; ?></td>
          <td><b><?php echo ENTRY_STATE; ?></b><?php echo $c_state; ?></td>
          <td> <b><?php echo ENTRY_POST_CODE; ?></b><?php echo $c_zipcode; ?></td>
        </tr>
        <tr>
          <td align='left' colspan='3'><b><?php echo ENTRY_TELEPHONE_NUMBER; ?></b><?php echo $c_telephone; ?></td>
        </tr>
        <tr>
          <td align='left' colspan='3'><b><?php echo ENTRY_EMAIL_ADDRESS; ?></b><?php echo $email; ?></td>
        </tr>
        <tr>
          <td align='center' colspan='3'>
            <?php
            echo "
            <form name='form1' action='$url' method='post'>
              <input type='hidden' name='email_address' id='login-email-address' value='$email' />
              <input type='hidden' name='password' id='login-password' value='$pass' />
              <input type='hidden' name='password' id='login-password' value='$pass' />
              <input type='hidden' name='securityToken' id='securityToken' value='$token' />
              <input type='submit' value='Place Order' />
              <input type='button' value='Cancel Order' onclick='window.close()'>
            </form>
          </td>
        </tr>
      </table>
    </div>
    ";
    ?>
    As well $url is now defined and used by zen 155a
    Change all 3 instances of $url to something else, say $z_url
    This will fix the destination url problem

  2. #192
    Join Date
    Jul 2009
    Posts
    402
    Plugin Contributions
    0

    Default Re: Login as Customer module

    Tks for answering.
    You are right, however I think the problem lays in the installer.
    The ssl option should be compiled by the installer to false if you do not choose the ssl option during installation.
    Left not compiled may lead to many problems with other plugins too.
    Ciao ciao

  3. #193
    Join Date
    Sep 2010
    Posts
    48
    Plugin Contributions
    1

    Default Re: Login as Customer module

    Is there a v4.0 update planned soon? i.e. from v1.5.5 to v1.5.5a
    Last edited by ajmn; 30 Jun 2016 at 03:16 PM.

  4. #194
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    314
    Plugin Contributions
    6

    Default Re: Login as Customer module - V4.0 for ZC 1.5.5a

    RE: V4.0 - the current latest download actually is for 1.5.5 and works on 1.5.5a as long as the changes listed by gilby are applied.
    Thanks gilby

    The link to the post is:
    https://www.zen-cart.com/showthread....88#post1313588

  5. #195
    Join Date
    Apr 2012
    Posts
    37
    Plugin Contributions
    1

    Default Re: Login as Customer module [Support Thread]

    I updated from 1.5.5a to 1.5.5b. Upon activating 1.5.5b, all Admin and customer facing site appear to be fully functional, except:

    When using the 'Place Order' feature on behalf of the customer under Admin>Customers, the error of "Page Not Found" occurs when the button "Continue" is selected on https://mysite.com/index.php?main_pa...ckout_shipping as the URL https://mysite.com/index.php?main_page=checkout_payment is sought by the browser.

    I the copied all of the original and latest files for Admin Login As Customer v4.0 to my 1.5.5b install, which did NOT resolve the issue.

    Any suggestions?

  6. #196
    Join Date
    Jan 2009
    Posts
    45
    Plugin Contributions
    0

    Default Re: Login as Customer module [Support Thread]

    Doesnt work in 1.5.5.e. If I click to place order the ze redirect to admin page http://www.mysite/myadmin/customers....in_as_customer

    any idea ?

    Thank you

  7. #197
    Join Date
    Apr 2006
    Location
    Midland TX
    Posts
    428
    Plugin Contributions
    0

    Default Re: Login as Customer module

    Quote Originally Posted by wolderiii View Post
    i just updated my cart from 1.5.1 to 1.5.5 installed the add-on with master password and every time i click "place order" i just get redirected to the admin/customers page. it does not go to the page to login as customer like it did in 1.5.1.
    I've reinstalled, double checked spelling on the template folder, etc.. and i can't seem to figure it out.

    this was installed to the "responsive_classic" template that is default on 1.5.5

    i have ssl enabled on both store and admin, if that matters.

    this is the page it tries to load.... customers.php?vcheck=yesindex.php?main_page=login_as_customer
    but like i said it just loads admin/customers page.

    any help would be greatly appreciated. thanks!
    I am going from 1.5.1 to 1.5.5e and have same basic problems you experenced.
    Were you able to fix this module? If so would you share the fix?

    Lat9 said "used to automatically login to the selected customer's account until DrByte pointed out that the feature essentially gave any admin-hacker the keys-to-the-kingdom, so the functionality was removed."

    If true then I don't want to use it and jeopardize security.

  8. #198
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,319
    Plugin Contributions
    125

    Default Re: Login as Customer module

    A reasonable workaround would be to use one of the master password mods.
    Anyone who has hacked into your admin already *has* the keys to the kingdom BTW.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #199
    Join Date
    Apr 2006
    Location
    Midland TX
    Posts
    428
    Plugin Contributions
    0

    Default Re: Login as Customer module

    Which do you suggest?

  10. #200
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,420
    Plugin Contributions
    94

    Default Re: Login as Customer module

    Quote Originally Posted by EZorb View Post
    I am going from 1.5.1 to 1.5.5e and have same basic problems you experenced.
    Were you able to fix this module? If so would you share the fix?

    Lat9 said "used to automatically login to the selected customer's account until DrByte pointed out " security concerns

    If true then I don't want to use it and jeopardize security.
    As I said, prior versions of Encrypted Master Password did log in automatically. Now, the password of a configured admin is required.

 

 
Page 20 of 25 FirstFirst ... 101819202122 ... LastLast

Similar Threads

  1. MultiSite Module Support Thread
    By Gerome in forum All Other Contributions/Addons
    Replies: 2241
    Last Post: 16 Jun 2025, 04:10 PM
  2. v150 Admin New Customer [Support Thread]
    By lhungil in forum All Other Contributions/Addons
    Replies: 34
    Last Post: 4 Nov 2016, 06:20 AM
  3. v150 Minimum Customer Account Information - Support Thread
    By lat9 in forum All Other Contributions/Addons
    Replies: 87
    Last Post: 30 Nov 2015, 04:00 PM
  4. PC Configurator Module [Support Thread]
    By lebrand2006 in forum All Other Contributions/Addons
    Replies: 254
    Last Post: 22 Aug 2012, 03:52 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