Code: Select all
if ($data['AB_Question'] != strtolower($config['abanswer']) && $data['AB_Question'] != strtolower($config['abanswer2']))
{
$error[] = $user->lang['AB_QUESTION_ERROR'];
}
Code: Select all
if ($config['enable_abquestion'])
{
if ($data['AB_Question'] != strtolower($config['abanswer']) && $data['AB_Question'] != strtolower($config['abanswer2']))
{
$error[] = $user->lang['AB_QUESTION_ERROR'];
}
}
You seem to be missing this part of the mod,dawmdt wrote:I'm having a minor problem with this mod...
On the user registration page, instead of my defined anti-spambot question, it simply says
{ AB_Question }:
Anyone have any ideas what I've done wrong?
http://www.tempusdraco.com is the site...
Code: Select all
'L_PASSWORD_EXPLAIN' => sprintf($user->lang[$config['pass_complex'] . '_EXPLAIN'], $config['min_pass_chars'], $config['max_pass_chars']),
Code: Select all
'L_AB_QUESTION' => $config['abquestion'],
Cheers mate that did it!CoC wrote:You seem to be missing this part of the mod,dawmdt wrote:I'm having a minor problem with this mod...
On the user registration page, instead of my defined anti-spambot question, it simply says
{ AB_Question }:
Anyone have any ideas what I've done wrong?
http://www.tempusdraco.com is the site...
Open: includes/ucp/ucp_register.php
FindAdd afterCode: Select all
'L_PASSWORD_EXPLAIN' => sprintf($user->lang[$config['pass_complex'] . '_EXPLAIN'], $config['min_pass_chars'], $config['max_pass_chars']),
Code: Select all
'L_AB_QUESTION' => $config['abquestion'],