X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Displaying customer passwords to admin (https://forum.x-cart.com/showthread.php?t=10846)

a1deano 09-10-2007 02:22 PM

Re: Displaying customer passwords to admin
 
Works great also in v4.1.8 nice little mod, thanks Carrie

Regards Dean

xplorer 10-17-2007 12:03 AM

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.

CollectiveInk 10-18-2007 12:09 PM

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!

scraps 12-28-2007 03:51 AM

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.

scraps 01-03-2008 02:40 PM

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. :)

equinetack 02-12-2008 07:30 AM

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.

BCSE 03-09-2008 07:48 PM

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

scraps 07-13-2008 11:28 PM

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.

hoosierglass 03-16-2010 05:33 AM

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

gravel 03-16-2010 12:06 PM

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


All times are GMT -8. The time now is 05:51 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.