Feature to disable email confirmation [message #212] |
Fri, 25 January 2002 03:49 |
zerobits
Messages: 69 Registered: January 2002 Location: Malaysia
Karma: 0
|
Member |
|
|
Also, there should be a feature setting that allows the admin to enable or disable "email confirmation" in the registration process. I notice that there is one in the global setting page but when i disabe that "email confirmation" feature, user still receives an error upon login that says he/she has not confirmed his login.
[Updated on: Fri, 25 January 2002 04:10] Report message to a moderator
|
|
|
Re: Feature to disable email confirmation [message #220 is a reply to message #212] |
Fri, 25 January 2002 17:19 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
That is indeed a bug, I've added a fix for it inside cvs, in the meantime here are the 2 things you need to do to fix this on your forum.
1) edit file called users_reg.inc, find a line which says "$this->id = DB_LASTID();" right after this line put the following code:
if( $GLOBALS['EMAIL_CONFIRMATION'] == 'N' ) $this->email_confirm();
2) Go in to your MySQL database and type the following command, it will "confirm" all the current unconfirmed users, which should be fine, because you are trying to use the forum without email confirmation.
UPDATE fud_users SET email_conf='Y';
FUDforum Core Developer
|
|
|