forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: cap97 on November 18, 2003, 01:02:49 am

Title: Unwanted users
Post by: cap97 on November 18, 2003, 01:02:49 am
Is it possible to set it so I, as the admin, get to approve any registration submissions?  The best I could find was that I can make it so a user can validate his own email to acctivate his account, but that still leaves me out of the loop.  Basically I'm trying to set up a private family gallery and I don't want anyone's registration to go through without my permission.
Title: Unwanted users
Post by: DJMaze on November 18, 2003, 02:30:46 am
they will try and retry over and over again.
just let them register and deactivate them so they can't register with their emailaddress anymore
Title: Unwanted users
Post by: Oasis on November 18, 2003, 06:03:23 am
There IS a way you could do this by modifying register.php

find
Code: [Select]
if(!cpg_mail($email, sprintf($lang_register_php['confirm_email_subject'], $CONFIG['gallery_name']), strtr($lang_register_confirm_email, $template_vars))){
and replace $email with your email address (I think you will have to add slashes to the @ and probably quotes)

Then, set email activation to ON, and every time a user registers, the activation email will be sent to YOU instead of them. When you receive it, you can go online to review their information, and activate them using the link in the email.
Title: Unwanted users
Post by: toups on November 19, 2003, 02:56:11 am
:D Actually you want to do exactly what I am doing.  However, first I set up a phpBB (bulletin board) for my family and then integrated in Coppermine.  phpBB handles the membership and has exactly the option you are looking for.  With integration, phpBB handles the membership for Coppermine.