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"><<</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"><<</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
|