Custom Forgotten Password Custom Forgotten Password
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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