教程正文: - <label><em>{lang username}:</em><input type="text" id="username" name="{$_G['setting']['reginput']['username']}" autocomplete="off" size="25" maxlength="15" value="" tabindex="1" class="txt" /> *</label>
复制代码 在它上面添加
- <th><FONT color=#000000>『<FONT color=#ff0000>温馨提示:请使用中文用户名注册。</FONT>』</FONT></th>
复制代码 二:完全使用中文注册
进入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*
复制代码 接着继续打开打开:
source/language/lang_message.php
查找:
- 'profile_username_protect' => '用户名包含被系统屏蔽的字符',
复制代码
修改为:
- 'profile_username_protect' => '请输入中文用户名注册,请返回或者重新填写',
复制代码
刷新缓存
OK...
看效果吧。
作者:lmpeople
|