if you change the line in search.php:
PHP Code:
(NULL,'".addslashes($wheresql)."',".time().",'".addslashes($query)."',0,$bbuserinfo[userid],'".addslashes($ipaddress)."')");
TO:
PHP Code:
(NULL,'".addslashes($wheresql)."',".time().",'".addslashes($query)."',1,$bbuserinfo[userid],'".addslashes($ipaddress)."')");
I guess it should work. There are 2 instances, change both. This is not tested btw.