以登记表格更改数据

时间:2014-02-26 10:30:39

标签: forms email phpbb3

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

我从管理员帐户发送电子邮件时遇到了一些问题,有些主机不希望从我这里收到邮件但是有其他人(比如gmail.com)一切正常。

1 个答案:

答案 0 :(得分: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.',