1 、打开 /source/class/class_member.php 文件
找到
<p ><font size="4"></font><blockquote><font size="4">if($usernamelen < 3) {
showmessage('profile_username_tooshort');
} elseif($usernamelen > 15) {
showmessage('profile_username_toolong');</font>
将上面的 15 改成你需要的数字
2 、打开 /source/language/lang_message.php 文件
找到
<p><font size="4"> 'profile_username_toolong' => '抱歉,您的用户名超过 15 个字符,请输入一个较短的用户名',</font></p>
把上面的 15 改成你需要的数字
3 、打开 /source/language/mobile/lang_template.php 文件
找到
<font size="4"> 'reg_username' => '用户名必须为大于 3 位小于 15 位',</font>
和
<font size="4">'registerinputtip' => '用户名:3-15 位',</font>
把上面的 15 都改成你需要的数字
4 、打开 /source/module/forum/Forum_ajax.php 文件
找到
<font size="4">if($usernamelen < 3) {
showmessage('profile_username_tooshort', '', array(), array('handle' => false));
} elseif($usernamelen > 15) {
showmessage('profile_username_toolong', '', array(), array('handle' => false));
}</font>
把上面的 15 改成你需要的数字
到这里就全部改完了。