Quote:
Originally posted by webhost
In register.php find this
PHP Code:
if ($action=="register") {
if (!$allowregistration) {
eval("standarderror(\"".gettemplate("error_noregister")."\");");
exit;
}
if ($bbuserinfo[userid]!=0 and !$allowmultiregs) {
$getuser=$DB_site->query_first("SELECT username FROM user WHERE userid='$bbuserinfo[userid]'");
$username=$getuser[username];
eval("standarderror(\"".gettemplate("error_alreadyregistered")."\");");
exit;
}
After it put this
PHP Code:
" if($country==""){
eval("standarderror('Please select your country.');");
exit;
}"
|
Great
Thanks for that
But just to check, should those
" at the start and end be there in the code I'm puting in be there?