Go Back   Pligg CMS Forum > Pligg Help > Customization Assistance

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-11-2008, 05:34 PM
New Pligger
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question email user forgotten password and username

I'm new to the pligg system and this is my first thread.

When a user fills in the email field with "forgotten password",
I want to send the password and user name to the email instead of sending confirmation code for the password request.

After looking in the login.php script I found processlogin=3 for the "change password request" and the email body text code "$body = $main_smarty->get_config_vars("PLIGG_PassEmail_Body") . $my_base_url . $my_pligg_base . '/login.php?processlogin=4&username=' . $username . '&confirmationcode=' . $saltedlogin;"

Do I need to make changes in the "get_config_vars("PLIGG_PassEmail_Body")" and if so, where can I edit the body text for the email?

I hope somebody can help me out with this.

Thanks in advanced,
momanity
Reply With Quote
  #2 (permalink)  
Old 07-11-2008, 05:44 PM
chuckroast's Avatar
Coder/Designer
Pligg Version: 1.0
Pligg Template: ExpertVision
 
Join Date: Jun 2006
Location: PA
Posts: 2,399
Thanks: 171
Thanked 440 Times in 279 Posts
Quote:
Originally Posted by momanity View Post
I'm new to the pligg system and this is my first thread.

When a user fills in the email field with "forgotten password",
I want to send the password and user name to the email instead of sending confirmation code for the password request.
There is a reason it's done this way.. Otherwise anyone could just enter in anyone else's user name and retrieve their password. This way if someone uses someone else's username, only the person that registered it will receive the change request mailing.. If they don't confirm, it can't be changed.
__________________
Visit PliggPro the official Pligg Mods & Template Shop!

Reply With Quote
  #3 (permalink)  
Old 07-11-2008, 06:47 PM
New Pligger
 
Join Date: Jun 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for the quick responce.

My final question is: How can I edit the email body text for the confirmation email?

The confirmation email contains now the following: "Your password change request confirmation code is: <website url with confirmation code>". Is it possible to add more text in the email??

Last edited by momanity; 07-26-2008 at 08:03 PM..
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Password reset issue webdevil2003 Bug Report 8 08-29-2008 12:48 PM
Send welcome email to user just registered slick33 General Help 2 07-29-2008 10:59 AM
forgotten password email not sending xplicit General Help 2 05-14-2008 01:59 AM
Forgotten Password - No Email Verification ZoeB General Help 0 10-21-2007 05:29 AM
Database name, username, password = what?!?! starguy Installation and Upgrade Help 4 06-10-2007 03:29 AM


Search Engine Friendly URLs by vBSEO 3.2.0