Quote:
Originally Posted by antialiasis
littlematts, try replacing
PHP Code:
if ($vbulletin->options['nospam_use_reg'] AND $vbulletin->options['quickregister_active']) {
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
}
with just
PHP Code:
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
Then tell me if it works then.
familyhistory: Registration works fine for me. About the search, yes, I think Smoothie hits the nail on the head - it sounds like there's something up with your navbar template. Did you keep an old template unreverted after upgrading to 3.6 or something like that?
|
hia buddy.. tried with the same and following alteration but to no avail.. sorry for any mistaken trial ... coz i am not good in coding..
Trial 1:
PHP Code:
default:
{
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
}
Result: No Luck.
Traial2:
PHP Code:
default:
if $vbulletin->options['quickregister_active']) {
$questions = explode("\n", $vbulletin->options['nospam_questions']);
$nospamnumber = array_rand($questions);
$qanda = explode(":",$questions["$nospamnumber"]);
$nospamquestion = $qanda[0];
}
$nospamdo = false;
}
Result: No Luck

donno what issue with my case.. are u getting the result when tried testing?
do u want me to try any other combination buddy.. i will be only happy to.. coz the nospam mod is much useful than captcha verification as per my view..
regards
Matthew