azziman Posted July 20, 2004 Posted July 20, 2004 in the welcome email how can i add the users: Email address: xxxxxxx@xxxxxxxxxx Password: xxxxxxxx so the welcome email looks like: Welcome to our shop Email address: xxxxxxx@xxxxxxxxxx Password: xxxxxxxx We recommend that you print this page out, as you will need your username and password to log into www.ourshop.com
winstanley_john Posted July 20, 2004 Posted July 20, 2004 see catalog\includes\languages\english\create_account.php http://spaces.msn.com/members/JohnWinstanley/ http://www.angelsolutions.co.uk
azziman Posted July 20, 2004 Author Posted July 20, 2004 yeah i know about the file but how do i put the customers email + password in there?
Guest Posted July 20, 2004 Posted July 20, 2004 And i am sure you are going to share with the community the way you did it The_Bear
azziman Posted July 20, 2004 Author Posted July 20, 2004 simple: Open the create_account.php (catalog/) and go to line 248 $email_text .= EMAIL_WELCOME . EMAIL_USERNAME . EMAIL_PASSWORD . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING; Save and upload this file. The next step is to open the language file for create_account.php then add: define('EMAIL_USERNAME', 'Your username is: <b>' . stripslashes($HTTP_POST_VARS['email_address']) . '</b>' . "\n\n"); define('EMAIL_PASSWORD', 'Your password is: <b>' . stripslashes($HTTP_POST_VARS['password']) . '</b>' . "\n\n");
ThanksEveryone Posted November 15, 2004 Posted November 15, 2004 I tried to do as instructed on this but did not come up with a working solution. In the code copy from line 248, what are we to save this file as? I tried to copy the code but it would not work. Any help would be appreciated, trying to put the username/password in an email. Thanks. Paul simple: Open the create_account.php (catalog/) and go to line 248 $email_text .= EMAIL_WELCOME . EMAIL_USERNAME . EMAIL_PASSWORD . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING; Save and upload this file. The next step is to open the language file for create_account.php then add: define('EMAIL_USERNAME', 'Your username is: <b>' . stripslashes($HTTP_POST_VARS['email_address']) . '</b>' . "\n\n"); define('EMAIL_PASSWORD', 'Your password is: <b>' . stripslashes($HTTP_POST_VARS['password']) . '</b>' . "\n\n"); <{POST_SNAPBACK}>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.