PDA

View Full Version : human verification for navbar search


FloatBird
05-21-2011, 08:13 PM
hello,

I got a problem with human verification when i tried to use it for navbar search to easily guests can search forums but it's not worked

my plugin code is something like this:

if (!$vbulletin->userinfo['userid'] AND $vbulletin->options['enablesearches'])
{
if ($vbulletin->options['hv_type'])
{
require_once('./includes/class_humanverify.php');
$verification =& vB_HumanVerify::fetch_library($vbulletin);
$human_verify = $verification->output_token();
}

vB_Template::preRegister('navbar', array('human_verify' => $human_verify));

}

it's gives me the template 'humanverify_image' but when I search I got nothing.
any help is appreciated.. :up: