in functions_search.php if you want LIMIT 10 of them
$threads = $vbulletin->db->query_read_slave("
SELECT thread.threadid, MATCH(thread.title) AGAINST ('$safetitle') AS score
FROM " . TABLE_PREFIX . "thread AS thread
$hook_query_joins
WHERE MATCH(thread.title) AGAINST ('$safetitle')
AND thread.open <> 10
" . iif($threadid, " AND thread.threadid <> $threadid") . "
$hook_query_where
LIMIT 10
");
|