2014-02-26 49 views
0

我在哪里可以找到可以在其中编辑名为L_USERNAME_EXPLAIN的变量以查看注册表单中其他信息的文件? 我尝试在common.php中,但没有像这样的变量。以注册形式更改数据

我从管理员帐户发送电子邮件有一些问题,有些主机不希望从我这里收到它,但与另一个(如gmail.com)一切正常。

回答

1

L_USERNAME_EXPLAIN变量是....变量(我知道这没有意义!)。这一切都取决于您的ACP设置下的'用户注册设置'

如果您打开/language/xx/ucp.php(其中xx是您使用的语言,例如默认的英文是en)并查看第476行,您将看到针对不同用户名的各种解释配置....

'USERNAME_ALPHA_ONLY_EXPLAIN' => 'Username must be between %1$d and %2$d chars long and use only alphanumeric characters.', 
'USERNAME_ALPHA_SPACERS_EXPLAIN'=> 'Username must be between %1$d and %2$d chars long and use alphanumeric, space or -+_[] characters.', 
'USERNAME_ASCII_EXPLAIN'  => 'Username must be between %1$d and %2$d chars long and use only ASCII characters, so no special symbols.', 
'USERNAME_LETTER_NUM_EXPLAIN' => 'Username must be between %1$d and %2$d chars long and use only letter or number characters.', 
'USERNAME_LETTER_NUM_SPACERS_EXPLAIN'=> 'Username must be between %1$d and %2$d chars long and use letter, number, space or -+_[] characters.', 
'USERNAME_CHARS_ANY_EXPLAIN' => 'Length must be between %1$d and %2$d characters.',