if($usernamelen < 3) { showmessage('profile_username_tooshort'); } elseif($usernamelen > 15) { showmessage('profile_username_toolong'); 将上面的15改成你需要的数字 2、打开 /source/language/lang_message.php 文件 找到'profile_username_toolong' => '抱歉,您的用户名超过 15 个字符,请输入一个较短的用户名',
把上面的15改成你需要的数字 3、打开 /source/language/mobile/lang_template.php 文件 找到 'reg_username' => '用户名必须为大于3位小于15位', 和 'registerinputtip' => '用户名:3-15位', 把上面的15都改成你需要的数字 4、打开 /source/module/forum/Forum_ajax.php 文件 找到 if($usernamelen < 3) { showmessage('profile_username_tooshort', '', array(), array('handle' => false)); } elseif($usernamelen > 15) { showmessage('profile_username_toolong', '', array(), array('handle' => false)); } 把上面的15改成你需要的数字 到这里就全部改完了。欢迎分享,转载请注明来源:内存溢出
赞
(0)
打赏
微信扫一扫
支付宝扫一扫
![微信扫一扫](/view/img/theme/weipay.png)
![支付宝扫一扫](/view/img/theme/alipay.png)
discuz门户diy实现翻页功能的方法
上一篇
2022-09-27
Discuz!管理员无法登录后台时更新系统缓存的方法
下一篇
2022-09-27
评论列表(0条)