Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Displaying customer passwords to admin

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #31  
Old 09-10-2007, 02:22 PM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: Displaying customer passwords to admin

Works great also in v4.1.8 nice little mod, thanks Carrie

Regards Dean
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #32  
Old 10-17-2007, 12:03 AM
  xplorer's Avatar 
xplorer xplorer is offline
 

X-Cart team
  
Join Date: Jul 2004
Posts: 925
 

Default Re: Displaying customer passwords to admin

Please could you explain the reason of such a mod? Why do you need customer's passwords? I believe there is a more secure solution than displaying customer's passwords in the store back end.
Reply With Quote
  #33  
Old 10-18-2007, 12:09 PM
 
CollectiveInk CollectiveInk is offline
 

Member
  
Join Date: Sep 2007
Posts: 21
 

Default Re: Displaying customer passwords to admin

Thanks for this little mod.

At first it didn't work, but then I realized that I was replacing the code for anonymous users (same .tpl file) instead of registered ones.

Once that was changed it worked great.

Thanks!
__________________
x-cart gold Version 4.1.8
Reply With Quote
  #34  
Old 12-28-2007, 03:51 AM
 
scraps scraps is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 60
 

Default Re: Displaying customer passwords to admin

I'm late with my posting, but should you ever come back to see an answer, this is a reason I'd find this mod so handy. In many carts I've worked on for customers, the sad reality is that customers do have problems, not everyone is savvy enough to figure things out and especially with carts that have egoods (downloadable) items, people seem to have all kinds of problems, even something as simple as changing there email, some carts don't give the ability to change in admin, so you might have to go into there profile yourself and do it. I can't count the number of times I've changed emails for customers alone, or had to tell them how to get a new password, or change an address, or find out why they aren't seeing there order, but I do in admin, so for those reasons, this mod is handy to have just if it saves you time writing them to ask for there password.
__________________
Marian
Host: Successful Hosting
X-Cart version 4.1.9
PHP 4.3.10
MySql 4.0.22-standard
Web server Apache 1.3.33 (Unix)
Operating system Linux
Perl 5.8.3
http://www.seamstobesew.com
Reply With Quote
  #35  
Old 01-03-2008, 02:40 PM
 
scraps scraps is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 60
 

Default Re: Displaying customer passwords to admin

Would anyone know how I get this code working in 4.19? I had it working in 4.15, but for some reason the register.tpl now seems different from my 4.15 version. (I'm still using 4.04, had been upgrading to 4.15 when 4.19 came out, so figured I'd just upgrade to the stable version. So please don't make me change my signature for that.
__________________
Marian
Host: Successful Hosting
X-Cart version 4.1.9
PHP 4.3.10
MySql 4.0.22-standard
Web server Apache 1.3.33 (Unix)
Operating system Linux
Perl 5.8.3
http://www.seamstobesew.com
Reply With Quote
  #36  
Old 02-12-2008, 07:30 AM
 
equinetack equinetack is offline
 

Newbie
  
Join Date: Jan 2008
Posts: 5
 

Default Re: Displaying customer passwords to admin

Hi:

Works great in v 4.1.9.

Before you do this, copy and paste your register_account.tpl onto notepad in case you mess up and need to paste the original back and save it.

What I do is
1) Copy the entire register_account.tpl file onto notebook twice.
2) I use the first copy of notebook to search for the areas to edit. Then I copy the entire page and paste it back onto the edit templates field and save it. If it doesn't work, I have my 2nd notebook copy of the original there to paste and save to the original settings.

-------------------------------------------------------------

Open skin1/main/register_account.tpl

Look for:

<tr>
<td align="right">{$lng.lbl_password}</td>
<td><font class="Star">*</font></td>
<td nowrap="nowrap"><input type="password" id="passwd1" name="passwd1" size="32" maxlength="64" value="{$userinfo.passwd1|escape}" />
{if $reg_error ne "" and $userinfo.passwd1 eq ""}<font class="Star">&lt;&lt;</font>{/if}
</td>
</tr>

then replace it with

<tr>
<td align="right">{$lng.lbl_password}</td>
<td><font class="Star">*</font></td>
<td nowrap="nowrap"><INPUT {if $usertype eq "A" or $usertype eq "p"} type=text {else} type="password" {/if} id="passwd1" name="passwd1" size="32" maxlength="32" value="{$userinfo.passwd1|escape}" /> {if $reg_error ne "" and $userinfo.paswd1 eq ""}<font class="Star">&lt;&lt;</font>{/if}
</td>
</tr>


Open up Users in Admin

Open up any user and see if you see the first password displayed.
__________________
Happy Trails,
Nanci - Florida USA
v 4.19
Reply With Quote
  #37  
Old 03-09-2008, 07:48 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,089
 

Default Re: Displaying customer passwords to admin

Quote:
Originally Posted by xplorer
Please could you explain the reason of such a mod? Why do you need customer's passwords? I believe there is a more secure solution than displaying customer's passwords in the store back end.

Not sure why you think this is so un-secure? It just saves me (and many others) from the extra step of viewing the source of the page when viewing a customer's profile and reading the password in the source. It's already been sent across the internet to your webpage (hopefully an admin uses https so it's atleast encrypted across the connection rather than sent in plain text).

Even though we deal with people who actually own x-cart, sometimes we have to add things to a customer's cart for them for some reason or another. It's also convenient for giving a customer their password when you are on the phone with them and they do not want to do the email password recovery.

Just my 2 cents.

Thanks!

Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
  #38  
Old 07-13-2008, 11:28 PM
 
scraps scraps is offline
 

Advanced Member
  
Join Date: Mar 2004
Posts: 60
 

Default Re: Displaying customer passwords to admin

Just found this thread again after such a long period of time, but wanted to give you a heads up equine.. Thank you.. did get this working for 4.1.9 and another thanks to Carrie for original mod.
__________________
Marian
Host: Successful Hosting
X-Cart version 4.1.9
PHP 4.3.10
MySql 4.0.22-standard
Web server Apache 1.3.33 (Unix)
Operating system Linux
Perl 5.8.3
http://www.seamstobesew.com
Reply With Quote
  #39  
Old 03-16-2010, 05:33 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Displaying customer passwords to admin

Just thought that I would pass along this works fine in 4.3
The template in 4.3 is register_account.tpl down around line 57.

Mike
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #40  
Old 03-16-2010, 12:06 PM
 
gravel gravel is offline
 

Senior Member
  
Join Date: Mar 2004
Posts: 156
 

Default Re: Displaying customer passwords to admin

Just found this today, and applied it to 4.0.17 and 4.0.18 carts. Makes me wonder how many other gems are hidden in the depths of this forum.

Thanks for offering it.

Dan
__________________
X-Cart version 4.0.17
X-Cart version 4.0.18
Web servers = Apache
OS = Linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:44 AM.

   

 
X-Cart forums © 2001-2020