Advanced search  

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]

Pages: [1]   Go Down

Author Topic: How to edit details of registration confirmation email?  (Read 5245 times)

0 Members and 1 Guest are viewing this topic.

markg

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
How to edit details of registration confirmation email?
« on: January 02, 2006, 06:22:20 am »

Hi, congrats on a great application!

Where can I edit the details of the registration confirmation email sent to new users?

The email that goes to new users currently has From address surrounded by backslashes and double quotes, ie
From: \"domain-name\".

I've checked around but can't find anywhere to change it.  Otherwise ecards and registration email work fine.

Thank you
Mark
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to edit details of registration confirmation email?
« Reply #1 on: January 02, 2006, 07:40:05 am »

edit lang/yourlanguage.php, e.g. lang/english.php, find
Code: [Select]
// ------------------------------------------------------------------------- //
// File register.php & profile.php
// ------------------------------------------------------------------------- //
and edit the stuff below it.
Logged

markg

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: How to edit details of registration confirmation email?
« Reply #2 on: January 09, 2006, 12:36:17 pm »

There is a small problem with my CPG 1.42 registration confirmation email.  It has backslashes and a single quote around the domain name, how do i remove these?

The subject says:

\'<my domain-name>\' - Registration confirmation
eg
\'hithere.com\' - Registration confirmation

How do I change the line
 'confirm_email_subject' => '%s - Registration confirmation', (line 1510 in english.php)

so that the quote and backslashes don't appear in the subject line?  Something weird is happening with the %s substitution, but i'm not sure if i should edit the source, or where its happening.

Thank you
Mark
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: How to edit details of registration confirmation email?
« Reply #3 on: January 09, 2006, 03:28:54 pm »

In Config, what is entered for the gallery URL?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: How to edit details of registration confirmation email?
« Reply #4 on: January 10, 2006, 08:44:55 am »

There is a small problem with my CPG 1.42 registration confirmation email. 
Upgrade to cpg1.4.3 - not sure if it will fix your particular issue, but you should do it anyway, as it fixes other issues.
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 19 queries.