If you add JasonMerchant's code, a comment line and code line, to the vB370RC2 search.php it APPEARS to work; now shows the thumbnails when doing a New Posts search.
Code:
// do data query
if (!empty($itemids))
{
$ids = implode(', ', array_keys($itemids));
$dataQuery .= '(' . $ids . ')';
//edited by jason
$dataQuery .= " " . $hook_query_where; $items = $db->query_read_slave($dataQuery);
$itemidname = iif($search['showposts'], 'postid', 'threadid');
$dotthreads = fetch_dot_threads_array($ids);
}
[Note: I bolded Jason's code for clarity.]
Give this a try. This truly is a wonderful hack and it's a priceless addition to any art forum that has people posting their art work.
~OZ