Difference between revisions of "Forum's administration changes"
From X-Moto
Line 2: | Line 2: | ||
The file modified is /includes/usercp_register.php : | The file modified is /includes/usercp_register.php : | ||
− | + | -----[ FIND ]--------------------------------------------------------- | |
− | + | ||
else if ( $mode == 'register' ) | else if ( $mode == 'register' ) | ||
{ | { | ||
Line 12: | Line 12: | ||
} | } | ||
− | + | ||
#-----[ THEN,ADD ]--------------------------------------------------- | #-----[ THEN,ADD ]--------------------------------------------------- | ||
− | + | ||
if ( !empty($website) ) | if ( !empty($website) ) | ||
{ | { | ||
Line 20: | Line 20: | ||
$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."; | $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."; | ||
} | } | ||
− | |||
− |
Revision as of 12:58, 8 October 2006
- In order to prevent nasty robot users, users can't anymore give an email adress 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."; }