forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Scope on December 11, 2005, 05:40:19 pm

Title: Admin activation of registrations - Not working.
Post by: Scope on December 11, 2005, 05:40:19 pm
The long awaited option of "Admin activation of registrations" doesnt work for me.. I have this set to 'Yes', but the user can still create an account and log in immediately (with access to albums assigned the 'registered user' group), without admin activating the account. Is this feature supposed to work?
Title: Re: Admin activation of registrations - Not working.
Post by: Tranz on December 11, 2005, 06:39:21 pm
It's supposed to work. Just to eliminate confounds... you've run update.php?

Have you tried it yourself by registering an account?
Title: Re: Admin activation of registrations - Not working.
Post by: Scope on December 11, 2005, 07:18:32 pm
It's supposed to work. Just to eliminate confounds... you've run update.php?

Have you tried it yourself by registering an account?

No, its a new install of 1.4.2.. Do I need to run this script?

I have tried myself a couple of times, but always manage to log on and see the albums even with this option set to Yes.
Title: Re: Admin activation of registrations - Not working.
Post by: Scope on December 11, 2005, 07:31:12 pm
Forgot to mention, admin DO get an email with the following content:

In order to activate the account, you need to click on the link below or copy and paste it in your web browser.

http://www.xxxxxxx.com/coppermine/register.php?activate=

(I'd expect to see a username at the end of the string, but)
Title: Re: Admin activation of registrations - Not working.
Post by: Tranz on December 11, 2005, 07:41:14 pm
Hmm... I just tested and I got the admin email with an activation key. I also was not able to log in with my username and password until I, as admin, clicked the link to activate the account.

If you don't have anything after activate=, then something is amiss with the installation. Where did you get the installation from? A real link to your gallery might help.
Title: Re: Admin activation of registrations - Not working.
Post by: Nibbler on December 11, 2005, 07:50:34 pm
Thu, please check with 'User registration requires email verification' disabled.
Title: Re: Admin activation of registrations - Not working.
Post by: Scope on December 11, 2005, 09:21:34 pm
Hmm... I just tested and I got the admin email with an activation key. I also was not able to log in with my username and password until I, as admin, clicked the link to activate the account.

If you don't have anything after activate=, then something is amiss with the installation. Where did you get the installation from? A real link to your gallery might help.

The file was downloaded from sourceforge on the 1st dec according to the timestamp.

I will PM url details, etc.

Nibbler: Yes, "User registration requires email verification" is disabled.
Title: Re: Admin activation of registrations - Not working.
Post by: Tranz on December 11, 2005, 09:48:47 pm
Thu, please check with 'User registration requires email verification' disabled.
Ohh. ok. I was able to replicate the issue when I disabled it.

@Scope: until this gets fixed, enable this setting.
Title: Re: Admin activation of registrations - Not working.
Post by: Scope on December 11, 2005, 11:39:44 pm
TranzNDance : Yes, enabling the "'User registration requires email verification" option sorts out the problem.. Thanks. :)

I left it disabled because I didnt want the user to verify (and then me having to activate), but it doesnt send an email to the user until I have actived, so thats fine..

Thanks for your help.
Title: Re: Admin activation of registrations - Not working.
Post by: Nibbler on December 15, 2005, 05:45:30 pm
Fix committed to CVS.