Custom Forgotten Password Custom Forgotten Password
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Custom Forgotten Password

Started by Sheri, September 11, 2006, 07:28:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Sheri

When a password gets changed, the email looks like this:

Here is the new password you requested: Username: ***** Password: ********* Click http://www.mysite.com/gallery/login.php to log in.

I'd like to change the email to this:

Here is the new password you requested:

Username: *****
Password: *********

Click http://www.mysite.com/gallery/login.php to log in.


This looks much better. I messed around with it but haven't had any luck. Not sure I'm editing the right file.

Thanks!  :)

Joachim Müller

To change the text, edit your language file (e.g. lang/english.php) using a plain text editor, find  'passwd_reset_body' => 'Here is the new password you requested:
Username: %s
Password: %s
Click %s to log in.', //cpg1.4
and edit accordingly.

Sheri

That's what I was editing. I was doing it in dreamweaver. Maybe that's the problem. I changed it to:

'passwd_reset_body' => 'Here is the new password you requested:

Username: %s
Password: %s

Click %s to log in.', //cpg1.4


Basically I added the line spaces and that didn't do anything.

Sami

Try this:

'passwd_reset_body' => 'Here is the new password you requested:<br/>

Username: %s
<br/>
Password: %s
<br/>
Click %s to log in.', //cpg1.4
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

Unless you really, really know your way around, you shouldn't use a WYSIWYG editor like dreamweaver to edit Coppermine files.

Sheri

Thanks guys! That worked perfect! I'll use something else to edit my files from now on.  :)

Solved  ;D