go to member.module.php
function signup
find this code
[code]
if (!$resp->is_valid) {
$captchaerror = $resp->error;
$errors[] = t('Wrong Verification code');
}
[/code]
put this code after that
[code]
if (!$_POST['security_question'] || $_POST['security_question'] != 'PUT UR ANSWER HERE' ) {
$errors[] = t('You must answer security question correctly!');
}
[/code]
change this in the code PUT UR ANSWER HERE with your answer
find this code
[code]
<tr class="row1">
<td>'.t('Image verification').'</td><td>
'.recaptcha_get_html($captcha['publickey'],$captchaerror).'
</td>
</tr>
[/code]
put this code after that
[code]
<tr class="row1">
<td>'.t('Security Question:').'</td>
<td>PUT HERE YOUR QUESTION?
<input type="text" name="security_question"/>
</td>
</tr>
[/code]
change this in the code PUT HERE YOUR QUESTION?
This is for the free version
i do not know if this work on other versions
credit to
[url]http://jcowmaster.net/forums/viewthread/553[/url]
|