Difference between revisions of "Forum's administration changes"
From X-Moto
Line 17: | Line 17: | ||
{ | { | ||
$error = TRUE; | $error = TRUE; | ||
− | $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . "Afin d'éviter l'inscription de spammers, veuillez ne pas mettre d'adresse web lors de votre inscription. Vous pourrez remplir ce champ plus tard.";"In order to limit nasty robot users, please don't put web url during the inscription. You will be able to update it after."; | + | $error_msg .= ( ( isset($error_msg) ) ? '<br />' : '' ) . "Afin d'éviter l'inscription de spammers, veuillez ne pas mettre d'adresse web lors de votre inscription. Vous pourrez remplir ce champ plus tard."; |
+ | "In order to limit nasty robot users, please don't put web url during the inscription. You will be able to update it after."; | ||
} | } | ||
# | # | ||
--[[User:Valentin|Valentin]] 15:04, 8 October 2006 (CEST) | --[[User:Valentin|Valentin]] 15:04, 8 October 2006 (CEST) |
Revision as of 13:06, 8 October 2006
- In order to prevent nasty robot users, users can't anymore put web url when they create an account.
The file modified is /includes/usercp_register.php :
#-----[ FIND ]--------------------------------------------------------- # else if ( $mode == 'register' ) { if ( empty($username) || empty($new_password) || empty($password_confirm) || empty($email) ) { $error = TRUE; $error_msg .= ( ( isset($error_msg) ) ? '
' : ) . $lang['Fields_empty']; } # #-----[ THEN,ADD ]--------------------------------------------------- # if ( !empty($website) ) { $error = TRUE; $error_msg .= ( ( isset($error_msg) ) ? '
' : ) . "Afin d'éviter l'inscription de spammers, veuillez ne pas mettre d'adresse web lors de votre inscription. Vous pourrez remplir ce champ plus tard."; "In order to limit nasty robot users, please don't put web url during the inscription. You will be able to update it after."; } #
--Valentin 15:04, 8 October 2006 (CEST)