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

How to pass just the pasword in the email notification

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-02-2006, 11:16 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default How to pass just the pasword in the email notification

When a customer requests to get an email of their password from the password recovery; how do I get just the password to show up in the email.
Currently I get the username and password to show up in the email. How do I hid the username from displaying in the email?

On the email it displays like this:

Your password information.
Password: david harris15



Code:
Code:
{config_load file="$skin_config"} {$lng.eml_password_recovery_msg} Password: {if $accounts} {section name=acc_num loop=$accounts} {$accounts[acc_num].password} {/section} {else} no data was found {/if}
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #2  
Old 01-02-2006, 11:20 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Quote:
On the email it displays like this:

Your password information.
Password: david harris15

I don't see a username in that message?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-02-2006, 11:57 AM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

For some reason it displays the previous passord with the new/changed password.

Can you help me so it only displays the most recient password

Ex:
Your password information is.
Password: david105 harris15

recient password: david105
current password: harris15
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #4  
Old 01-02-2006, 12:09 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

I think that is actually sending the passwords for all of the accounts that use that e-mail address......
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-02-2006, 12:15 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

I think that you are right. I see that now.
Do you know how I can have it dispay the current password?
__________________
x-cart 4.0.16v
linux server
Reply With Quote
  #6  
Old 01-02-2006, 12:19 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Those are the current passwords, you just have two accounts registered under the same e-mail address. No way to differentiate between the two, as X-Cart is using the e-mail address to send the passwords.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 01-02-2006, 12:33 PM
 
mmoskva mmoskva is offline
 

eXpert
  
Join Date: Aug 2005
Location: Pennsylvania
Posts: 306
 

Default

I deleated an account and it worked.

I noticed something though. In the registration if I get a user to accidentially key in the same email address and a previous customer
Ex. keyed in 123@hotmail.com instead of 125@hotmail.com
Their is a duplication sql error that appears for a few seconds and the user with the 123@hotmail.com account takes the new password entered.

Do you know how I can stop that duplication of accounts being created?
__________________
x-cart 4.0.16v
linux server
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 11:35 AM.

   

 
X-Cart forums © 2001-2020