coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: olegario on December 02, 2003, 07:33:48 PM

Title: User registration notification
Post by: olegario on December 02, 2003, 07:33:48 PM
If I turn off "User registration requires email notification", is there any way for the admin to still receive notification of the registration?
Title: User registration notification
Post by: hyperion on December 02, 2003, 11:12:33 PM
Yes, you can change the address in the registration module so that all email verifications are sent to your address. Then you can click the link and complete the registration.
Title: User registration notification
Post by: Joachim Müller on December 03, 2003, 12:00:43 AM
you can also tweak your registration like this:
edit register.php and look for        msg_box($lang_register_php['information'], $lang_register_php['acct_active'], $lang_continue, 'index.php');
    }
Add after it    // email notification to admin
        cpg_mail($CONFIG['gallery_admin_email'], sprintf('%s - Registration notification', $CONFIG['gallery_name']), sprintf('A new user with the username "%s" has registered in your gallery', $user_name));


BTW: admin notification on user registration will be an admin settable feature in the next coppermine version

GauGau