Advanced search  

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

Pages: [1]   Go Down

Author Topic: Custom Forgotten Password  (Read 5671 times)

0 Members and 1 Guest are viewing this topic.

Sheri

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 3
Custom Forgotten Password
« on: September 11, 2006, 07:28:32 am »

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!  :)
« Last Edit: September 12, 2006, 08:12:21 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Custom Forgotten Password
« Reply #1 on: September 11, 2006, 07:34:58 am »

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

Sheri

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 3
Re: Custom Forgotten Password
« Reply #2 on: September 11, 2006, 02:47:28 pm »

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

Code: [Select]
'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.
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Custom Forgotten Password
« Reply #3 on: September 11, 2006, 03:37:06 pm »

Try this:
Code: [Select]
'passwd_reset_body' => 'Here is the new password you requested:<br/>

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Custom Forgotten Password
« Reply #4 on: September 11, 2006, 07:07:10 pm »

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

Sheri

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 3
Re: Custom Forgotten Password
« Reply #5 on: September 12, 2006, 04:23:00 am »

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

Solved  ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.