提醒『强制』使用中文名注册DZ6.1

不指定
时间: 2008/05/26 21:38 | 作者: 小铭铭
一:在注册时候提醒使用中文注册
打开…\templates\default\register.htm文件
找到

<th><label for="username">{lang username} *</label></th>

修改为(颜色代码可以自己修改):

<th><label for="username">{lang username}『<font color=red>推荐中文注册</font>』 *</label></th>

进入uc后台(不是论坛后台) ----注册设置 -----禁止的用户名 添加下输入下面内容

*q*
*w*
*e*
*r*
*t*
*y*
*u*
*i*
*o*
*p*
*a*
*s*
*d*
*f*
*g*
*h*
*j*
*k*
*l*
*z*
*x*
*c*
*v*
*b*
*n*
*m*
*Q*
*W*
*E*
*R*
*T*
*Y*
*U*
*I*
*O*
*A*
*S*
*D*
*F*
*G*
*H*
*J*
*K*
*L*
*Z*
*X*
*C*
*V*
*B*
*N*
*M*
*1*
*2*
*3*
*4*
*5*
*6*
*7*
*8*
*9*
*0*
*管理员*
*版主*
*1*
*2*
*3*
*4*
*5*
*6*
*7*
*8*
*9*
*0*
*A*
*B*
*C*
*D*
*E*
*F*
*G*
*H*
*I*
*J*
*K*
*L*
*N*
*M*
*O*
*P*
*Q*
*R*
*S*
*T*
*U*
*V*
*X*
*X*
*Y*
*Z*

接着继续打开打开…\templates\default\messages.lang.php
查找

'profile_username_illegal' => '用户名包含敏感字符或被系统屏蔽,请返回重新填写。',


修改为

'profile_username_illegal' => '用户名包含敏感字符或使用非中文字符,请重新填写。',


OK,收工!






| 快乐分享 | 引用(0) | 评论(0) | 阅读(661)