PDA

View Full Version : Problem with registration


g3nti
05-21-2009, 12:55 PM
Hi all,

i've enabled "Verify Email address in Registration" in my vbulletin.

when i register a new account, i am logged in without confirm registration trought the link mailed me.

:confused::confused::confused:

whats wrong?

EnIgMa1234
05-21-2009, 02:10 PM
You can still loggin but you'll be in the user's awaiting validation group until you become activated

g3nti
05-21-2009, 02:36 PM
i've fixed in this way


/includes/funcions_login.php

row #140

if ($vbulletin->userinfo = $vbulletin->db->query_first("SELECT userid, usergroupid, membergroupids, infractiongroupids, username, password, salt FROM " . TABLE_PREFIX . "user WHERE username = '" . $vbulletin->db->escape_string(htmlspecialchars_uni($username)) . "' AND usergroupid <> 3"))



any better idea?

Lynne
05-21-2009, 02:52 PM
Did you read what EnIgMa said? You get put into the User's Awaiting Email Confirmation group at first. You may limit the permissions on that group so that they can't do much until they confirm the email.