Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 59
  1. #41
    Join Date
    Oct 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Reset customer password from admin

    Quote Originally Posted by mc12345678 View Post
    Let me rephrase. The page isn't blank, the page loads perfectly. The fields that should have my selected customer's details in are blank.

    Sorry about that.

  2. #42
    Join Date
    Oct 2009
    Posts
    9
    Plugin Contributions
    0

    Default Re: Reset customer password from admin

    Maybe I am not making any sense.

    Once I have selected a customer, via searching for them using their email address, and clicking "Change Password" when the page reloads this is what I see.

    Name:  changePass.JPG
Views: 210
Size:  13.8 KB

    As you can see the customer name and customer email is blank, so entering a new password doesn't do anything as no customer is selected.

    Some help would be appreciated.

    Regards, Hannat

  3. #43
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,549
    Plugin Contributions
    28

    Default Re: Reset customer password from admin

    Be sure all of the plugin files have uploaded correctly. Corrupt uploads can happen. Anything in the error logs?

  4. #44
    Join Date
    Jun 2012
    Posts
    57
    Plugin Contributions
    2

    Default Re: Reset customer password from admin

    I'm having the same issue. I've found that it only occurs when using the search function (which does some pretty weird things). If you page through and select from the list of customers, everything seems to work. So problem is in the search. I've been looking through the code but haven't found the problem yet.

  5. #45
    Join Date
    Jun 2012
    Posts
    57
    Plugin Contributions
    2

    Default Re: Reset customer password from admin

    Okay, found the problem and fixed it. I've submitted an update to this plug-in.

  6. #46
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,549
    Plugin Contributions
    28

    Default Re: Reset customer password from admin

    Quote Originally Posted by batracy View Post
    Okay, found the problem and fixed it. I've submitted an update to this plug-in.
    Can you share what the fix was. This is also kept on Github so would like to update there too.

  7. #47
    Join Date
    Jun 2012
    Posts
    57
    Plugin Contributions
    2

    Default Re: Reset customer password from admin

    There were about four changes made to the passchange.php file in the admin folder. No other folders or files were changed.

    First change was to move the line that sets the $customers_id variable outside the block and moved it up with the other items getting passed variables and information as follows:
    Code:
      $passchangeCust = (DB_PREFIX.'customers');
      $customers_id = (isset($_GET['cID']) ? zen_db_prepare_input($_GET['cID']) : '');
    
      if (zen_not_null($action)) {
        switch ($action) {
    Second change was to add an elseif where the passchange_query_raw variable is set as follows:
    Code:
     if ($searchemail){
    		$passchange_query_raw = "select customers_id, customers_lastname, customers_firstname, customers_email_address from $passchangeCust WHERE customers_email_address='$searchemail'";
      }elseif ($customers_id){
    		$passchange_query_raw = "select customers_id, customers_lastname, customers_firstname, customers_email_address from $passchangeCust WHERE customers_id='$customers_id'";
      }else{
    		$passchange_query_raw = "select customers_id, customers_lastname, customers_firstname, customers_email_address from $passchangeCust order by customers_id";
      }
    The other two changes were just to make sure the cID variable is not passed when the users presses the Cancel button.

  8. #48
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Reset customer password from admin

    Quote Originally Posted by charmlt View Post
    Installs on my 1.3.9h site. Admin/tools/Change Passwords appears. No search bar. I installed it on another 1.5.4 site and it works fine. Why no search box on 1.3.9h? Am I supposed to install the 1.5.* sql file for a 1.3.9h site?
    I have the same issue on a site running 1.39h. No search box - and upgrading this site is not an option. Anybody have any ideas?

  9. #49
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Reset customer password from admin

    Quote Originally Posted by RescoCCC View Post
    I have the same issue on a site running 1.39h. No search box - and upgrading this site is not an option. Anybody have any ideas?
    Problem solved. Just upload the files from the 1.5x folder. Works perfectly.

  10. #50
    Join Date
    Mar 2014
    Location
    Central California
    Posts
    104
    Plugin Contributions
    0

    Default Re: Reset customer password from admin

    I just installed Reset--Customer-Password on Zen Cart 1.5.4.
    I changed the admin folder name to my admin folder name.
    I copied pasted and sent the SQL add_admin_menu_entry-v15xsql

    Either it didn't work or I just don't know where to find it.
    Can someone tell me where it is suppose to be.
    k

 

 
Page 5 of 6 FirstFirst ... 3456 LastLast

Similar Threads

  1. v151 Can you add search function to Reset Client Password from Admin?
    By explorer1979 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Oct 2014, 10:17 AM
  2. Replies: 4
    Last Post: 3 Apr 2014, 10:42 AM
  3. v150 admin password expired, won't reset, will not send new password to email
    By baltimorestreetmods in forum General Questions
    Replies: 2
    Last Post: 6 Sep 2012, 07:16 PM
  4. Password not showing in Customer Password Reset Email
    By izuno in forum General Questions
    Replies: 2
    Last Post: 7 Oct 2008, 04:10 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