The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
help please
hi
i have notice that about 05% of new members type their email like that: www.ex@hotmail.com i dont know why they write www. before their email.. maybe cuase they think it works like a website or something like that. anway i need to do something like that: if (www. isin $email) { $email = str_replace("www.", " ", $email); } i dont know where/what/how should i moditfy.. database? register.php? register template? i dontknow aranoid: please help me.. and type the code to me if you can thanks |
#2
|
||||
|
||||
edit register.php, find:
PHP Code:
PHP Code:
|
#3
|
|||
|
|||
thank you. but you have missed the email confirm feild, i just want to say it to other users may have same my problem
1.find: $email = trim($email); 2.write down it: if (substr(strtolower($email),0,4)=="www.") { $email=substr($email,4); } 3. find: $emailconfirm = trim($emailconfirm); 4. write down it: if (substr(strtolower($emailconfirm),0,4)=="www.") { $emailconfirm=substr($emailconfirm,4); } |
#4
|
||||
|
||||
no I didnt miss it.. You dont need to check it because if email field includes www. it will be replaced and now email and emailconfirmation fields wont match and user will automatically get the error
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|