Quote:
Originally Posted by Dimoks
|
This mod has two author's mistakes...
First: Search
Quote:
$email = str_replace(".", "", substr($vbulletin->GPC['email'], 0, (strlen($vbulletin->GPC['email'])) - (strpos($vbulletin->GPC['email'], "@"))));
|
Replace it with
Quote:
$email = str_replace(".", "", substr($vbulletin->GPC['email'], 0, (strpos($vbulletin->GPC['email'], "@"))));
|
Second: authors mistake - is metodological.... If we have email 'test.1test@gmail.com' in our user database, and we register new email 'test.1.test@gmail.com' -
we have successfull registration...
Why?
Because author search (in user database) email 'test1test@gmail.com' (
without dots)