forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: ArnieW on September 09, 2010, 04:46:05 am
-
I recognized, that the Resend activation link doesn't work on my page.
I tried a few email addresses of registered / active users and it always returns with the error message: Selected user does not exist!
To check this error I created a user: Coppermine with the password: test and email address: a@b.com. The webpage is: www.cudgenschool.com (http://www.cudgenschool.com)
Thanks for your help
Arnie
-
Please upgrade to 1.5.8 and try it again.
http://documentation.coppermine-gallery.net/en/upgrading.htm#upgrade_any
-
I finished the update, but the problem still occurs, the Resend activation link still doesn't work.
Any more ideas?
-
Did you remember to run update.php and check your file versions?
-
Hmm nevermind. I'm seeing this on my test gallery as well maybe its a bug. Let me do some more research.
-
Try it with the username of a user with a real email address. It looks like the language string is wrong or the code is wrong. I'm gonna wait for a dev to confirm this but I'll look through the code and post what I find.
-
Hi Jeff
I tried it with a real user with real email address. It still don't work!
-
you tried the username ... instead of typing the email?
-
It looks like the language string is wrong or the code is wrong
I cannot see any problem here:
$emailaddress = $superCage->post->testEmail('email');
$sql = "SELECT user_id, user_group, user_active, user_name, user_email, user_actkey FROM {$CONFIG['TABLE_USERS']} WHERE user_email = '$emailaddress' AND user_active = 'NO'";
It doesn't work if the user is already activated.
-
It doesn't work if the user is already activated.
:-[ well that makes perfect sense. I feel like an idiot now.
-
Maybe the string
Selected user does not exist!
should be changed to something like
Selected user does not exist or is already activated!
-
@André
Works for me when the user is not activated, like you said.
Also I would agree the string needs to be changed or a note added to the docs.
@Arnie
please confirm that the user is not currently activated by looking at the lightbulbs in the user manager.
-
Hi Andre
Something is going totally wrong here!
First, yes when a user is still "not active" the link works.
But look at this scenery:
-visitor fills in the register form and submit -> this visitor is now a "not active" user
-In config settings/User registration requires email verification this is hooked, means I want to make the decide if this user becomes activ.
-But why waiting for administrator if he ("not active" user) can just click the Resend activation link than enter his email and that way active his account himself.
I just gave it a go: registered a new user -> clicked resend activation link -> entered email address of new user -> email has send by Coppermine Gallery to new user email account -> click on the activation link in this email -> account of new user is now active without any doing of the administrator.
?????????
-
Please enable Admin activation of registrations and disable User registration requires email verification.
-
Thank you Andre, thank you Jeff
It is all working the way it mend to!
Now that I know what the settings have to be, I actually understand what the "description" to the setting mean.
I thought It would be good to add the information, that User registration requires email verification is a email address misuse protection, and it doesn't need Administrator permission.
BUt reading it again is says email verification.
Seems to be the problem me beeing a german living in a english speaking country and still not able to understand this language ::)
Thanks for you help +++++++++
-
'email verification' is used in every software where users need to click an activation link which is sent by email. No need for further description imo.
-
I absolutely agree!!
But I like to recommend, to change the order in config/registration:
-Admin activation of registrations
- if "Admin activation of registrations" is not selected: User registration requires email verification
When using Admin activation of registrations, User registration requires email verification is not necessary as the confirmation email beeing send to the provided email address.
Just an idea
Thanks again
Arnie