Registration -- No confirmation email -- Admin activation?

nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2005-04-21 16:49

Is there no email confirmations when registration is set to "Activation by administrator"?

Here's what I'd like to see. I don't know if this is planned or not or if it's suppose to work this way and it's not. If not, I will submit a feature request.
1) User registers.

2) Admin gets an email WITH a link to the screen to activate or delete users.

3) If admin activates the user, then user gets an email with their account details sans password and link to gallery.

----

Gallery URL (optional): http://photos.kevinnehls.com/
Gallery version: gallery2.2005-04-20-08-40-12 (from Jesse's site)
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-04-21 17:29

this would be a slight improvement over the existing register module process. i.e. the activation link in the admin email isn't present ATM but could be added.

please file a feature request on http://sf.net/projects/gallery/ and refer to this thread.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Thu, 2005-04-21 23:26

Thanks Valiant. I'll do that in a few minutes. I'd just like to make it clear that I'd also like the user who registered to get a confirmation email once the admin activates the account. Possibly an email when they register as well just to let them know someone will be looking at it soon and then they've have an email address to reply to.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-04-22 08:13

the first message that "someone will take care of their account registration soon" is already in the immediate response when they create an account.
but why not add the other requests to your sf.net request.

 
jokerman28

Joined: 2005-06-04
Posts: 12
Posted: Fri, 2005-06-10 06:25

I'm not sure what's going on but the new user reg is not working anymore. I register a new account and get the email about the new user registering but no link to activate or anything like that.

When I look at the members list, that new user is not there. This was working yesterday. The only change today was the guest account no longer can VIEW albums, this should not affect user registration. What did i do to break it? Thanks.

 
jokerman28

Joined: 2005-06-04
Posts: 12
Posted: Fri, 2005-06-10 06:54

I must have been smoking something. Please ignore previous message. Just found the new users under site admin and registration. :lol:

Now why did I not get a link in the email to activate the account?

 
ges

Joined: 2003-05-04
Posts: 5
Posted: Mon, 2006-01-30 19:37

Just curious--but have these suggestions been implemented yet? I ask because this was just a few months shy of a year ago... and I still see the same b0rken behavior in the registration module :-/

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2006-01-31 11:00

everything that is still listed on http://gallery.menalto.com/sfvote/all is still just a request and not implemented.

 
mdizzle

Joined: 2007-07-30
Posts: 1
Posted: Mon, 2007-07-30 01:56

Tired of waiting? I resorted to the following hack: The stuff between the //------- lines was added to the AdminSelfRegistration.inc file (around line 70).

.
.
.

if ($ret) {
return array($ret, null);
}
$status['activated'] = $userName;
//------- begin hack
$emailStr = $pendingUser->getEmail();
$emailTitle = 'Registration Activation';
$emailMsg = "Hi " . $pendingUser->getFullName() . ",\r\n\r\n" .
"Your registration has been activated. Happy viewing!\r\n\r\n" .
"Admin Name\r\n" . "http://www.yourdomain.com/";
$emailHeaders = 'From: webmaster at yourdomain.com' . "\r\n" .
'Reply-To: webmaster at yourdomain.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($emailStr,$emailTitle,$emailMsg,$emailHeaders);
//------- end hack
}
} else if (isset($form['action']['delete'])) {
.
.
.
-----------------------------------------------
This will send an 'activation confirmation' email to the user after clicking on the activate link under the Registration item of the Admin Options menu. Fill in your details and add extra info. Happy modding!

 
WaterMellonBlood

Joined: 2007-08-06
Posts: 1
Posted: Mon, 2007-08-06 05:58
nivekiam wrote:
TI'd also like the user who registered to get a confirmation email once the admin activates the account.

+1

Quote:
an email when they register as well just to let them know someone will be looking at it soon and then they've have an email address to reply to.

+1

:)

 
sky_surfer_fra

Joined: 2007-12-23
Posts: 23
Posted: Thu, 2008-01-03 15:43

Great stuff mdizzle!

Works very well. The email that is sent to the new activated user has a strange sender email address from my webhost provider. A reply to this confirmation email is therefor impossible:-(.

Could you (or anyone else) please help me what to code (I am not a PHP programmer) as I want to use the email settings I have configured under "General Setings" as I have to use an external email account.

I guess I have to use an other function as mail()...

Thanks and regards,

Tom

mdizzle wrote:
$emailHeaders = 'From: webmaster at yourdomain.com' . "\r\n" .
'Reply-To: webmaster at yourdomain.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($emailStr,$emailTitle,$emailMsg,$emailHeaders);
//------- end hack
}

-----------------------------------------------
This will send an 'activation confirmation' email to the user after clicking on the activate link under the Registration item of the Admin Options menu. Fill in your details and add extra info. Happy modding!

 
scwc

Joined: 2009-02-25
Posts: 1
Posted: Wed, 2009-02-25 19:27

Thanks mdizzle!

Is there a way to CC or BCC this email to another address?