$msg .= error(sprintf(__('Please enter a valid nick.') . ' ' . __('Use up to 23 letters, numbers, connecting punctuations or spaces for your nickname.'),
$msg .= error(sprintf(__('Please enter a valid nick.') . ' ' . __('Use up to 24 letters, numbers, connecting punctuations or spaces for your nickname.'),
$nick), true);
$nick), true);
}
}
if (User::whereName($nick)->count() > 0) {
if (User::whereName($nick)->count() > 0) {
@ -323,11 +323,11 @@ function guest_register()
__('Nick') . ' ' . entry_required(),
__('Nick') . ' ' . entry_required(),
$nick,
$nick,
false,
false,
23,
24,
'nickname'
'nickname'
),
),
form_info('',
form_info('',
__('Use up to 23 letters, numbers, connecting punctuations or spaces for your nickname.'))
__('Use up to 24 letters, numbers, connecting punctuations or spaces for your nickname.'))