forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: ralfs on February 08, 2006, 01:35:52 pm

Title: Re: Email notification is emty
Post by: ralfs on February 08, 2006, 01:35:52 pm
Nearly the same with me: The admin gets the mail including the link for approval
Code: [Select]
Subject: [Database name] - Registration request

A new user with the username ... has registered in your gallery.
In order to activate the account, you need to click on the link below or copy and paste it in your web browser.

http://....... [Link]

In my case the mail to the new user is empty
Code: [Select]
Subject: [Database name] - Activation notification

[nothing]

I use English_GB

Ralf
Title: Re: Re: Email notification is emty
Post by: Nibbler on February 08, 2006, 01:47:56 pm
Edit include/langfallback.inc.php, find

Code: [Select]
$lang_register_confirm_email = cpg_lang_var("lang_register_confirm_email");

and add the missing email vars in

Code: [Select]
$lang_register_confirm_email = cpg_lang_var("lang_register_confirm_email");
$lang_register_approve_email = cpg_lang_var("lang_register_approve_email");
$lang_register_activated_email = cpg_lang_var("lang_register_activated_email");
Title: Re: Re: Email notification is emty
Post by: Tranz on February 08, 2006, 04:58:02 pm
OMG, this answered an issue I had because I didn't know how to make language fallback work with my custom strings. Thanks, Nibbler!
Title: Re: Re: Email notification is emty
Post by: Nibbler on February 20, 2006, 03:43:41 am
Committed to cvs.