Limited Support
Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.
Jun 05, 2017 9:49 pm
Instead of 3-15 characters I would like usernames to be between 3-5 characters long. Can you explain how to go about this please?
Regards,
jmkt
1 Reply
Jun 06, 2017 4:40 am
You can customize wpForo template files. Particularly the in register.php in update save way.
wpForo theme files:
https://wpforo.com/docs/root/forum-themes/theme-files/
wpForo theme customization:
https://wpforo.com/docs/root/forum-themes/theme-customization/
Find this line:
<td class="wpf-register-field"><input autofocus required="TRUE" type="text" value="<?php echo esc_attr($user_login) ?>" name="wpfreg[user_login]" class="wpf-register-text wpfw-70" maxlength="30" /></td>
Change to this:
<td class="wpf-register-field"><input autofocus required="TRUE" type="text" value="<?php echo esc_attr($user_login) ?>" name="wpfreg[user_login]" class="wpf-register-text wpfw-70" maxlength="5" /></td>