News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

Main Menu

is this possible?

Started by bit bit spears, July 21, 2004, 07:17:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bit bit spears

hey, can anyone think of a way that we can manually activate users? any workarounds/hacks?

i want to keep a eye on who i let in, so i would like them to be able to register, but then i would have to send them an email my self saying they are now active-is this possible?

Joachim Müller

This has been asked before. Enable "User registration requires email verification" in coppermine config, then edit register.php, find 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__);
and replace withif (!cpg_mail($CONFIG['gallery_admin_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__);
This way, the registration mail will be sent to you (as admin) instead of the user, and you will have to activate him (or not, your coice).

GauGau

bit bit spears

VERY nice! Thanks gaugau-i am sooo excited now:)

Rafael_XCX

Thanks a lot! I needed that too!  ;D