|
修改方法
首先在defalut下面打开register.htm文件
找到代码:<label><em>{lang username}:</em><input type="text" id="username" name="username" autocomplete="off" size="25" maxlength="15" value="" tabindex="1" class="txt" /> *</label>
复制代码修改为:<label><em>{lang username}:</em><input type="text" id="username" name="username" autocomplete="off" size="25" maxlength="15" value="" tabindex="1" class="txt" />* <font color=red><b>『请使用中文注册,且用邮箱激活您的用户』</b></font></label>
然后打开defalut下面的messages.lang.php文件
找到代码
'profile_email_duplicate' => '该 Email 地址已经被注册'
在下面加
'profile_username_illegal' => '用户名包含敏感字符或使用非中文字符,请重新填写。',
'profile_username_protect' => '用户名字符不正确,请使用中文,谢谢!',
进入uc后台(不是论坛后台) ----注册设置 -----禁止的用户名 添加下输入下面内容*q*
*w*
*r*
*t*
*y*
*u*
*i*
*o*
*p*
*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*
|
|