Search  
   
Browse by Category
 
Netfirms 24/7 Support .: SITE: DESIGN, PUBLISHING & FTP .: A. Web Design Tools .: Netfirms Picture Pro .: How do I get notified of each new registration to my Netfirms Picture Pro gallery?

How do I get notified of each new registration to my Netfirms Picture Pro gallery?

To be notified of new registrations to your Netfirms Picture Pro gallery, you can configure the gallery to email you a copy of the registration letter that is sent to each new registrant. Please follow these steps:

1. Using an FTP tool (eg. Filezilla), download a copy of ../nfpicturepro/register.php
2. In register.php, replace following lines of coding:

if(!cpg_mail($email, sprintf($lang_register_php['confirm_email_subject'], $CONFIG['gallery_name']), strtr($lang_register_confirm_email, $template_vars))){
cpg_die(CRITICAL_ERROR, $lang_register_php['failed_sending_email'], __FILE__, __LINE__);
}


with:

if(!cpg_mail($email, sprintf($lang_register_php['confirm_email_subject'], $CONFIG['gallery_name']), strtr($lang_register_confirm_email, $template_vars))){
cpg_die(CRITICAL_ERROR, $lang_register_php['failed_sending_email'], __FILE__, __LINE__);
} else {
cpg_mail('your_email@somewhere.com', sprintf($lang_register_php['confirm_email_subject'], $CONFIG['gallery_name']), strtr($lang_register_confirm_email, $template_vars));
}


3. Replace your_email@somewhere.com with your actual email address in the above code
4. Save the changes and upload the revised register.php back to the server in ../nfpicturepro/

This document is FAQ543.


How helpful was this article to you?


.: Powered by Lore 1.5.6
Visit Netfirms.com Web Hosting | Copyright © 1998 - 2009 Netfirms, Inc. All Rights Reserved.