2011-04-11, 07:37 PM
Open plugin file and Find and Replace the following;
Its checked and confirmed.
if($mybb->settings['nosearch_enabled'] == 1)
{
if($mybb->input['action'] == 'getnew' && $mybb->settings['nosearch_getnew'] != "")
{
$where_sql_add = " AND t.fid NOT IN (".$mybb->settings['nosearch_getnew'].")AND replies > 0";
}
elseif($mybb->input['action'] == 'getdaily' && $mybb->settings['nosearch_getdaily'] != "")
{
$where_sql_add = " AND t.fid NOT IN (".$mybb->settings['nosearch_getdaily'].")AND replies > 0";
}
elseif($mybb->input['action'] == 'findguest' && $mybb->settings['nosearch_findguest'] != "")
{
$where_sql_add = " AND t.fid NOT IN (".$mybb->settings['nosearch_findguest'].")AND replies > 0";
}
elseif($mybb->input['action'] == 'finduser' && $mybb->settings['nosearch_finduser'] != "")
{
$where_sql_add = " AND t.fid NOT IN (".$mybb->settings['nosearch_finduser'].")AND replies > 0";
}
elseif($mybb->input['action'] == 'finduserthreads' && $mybb->settings['nosearch_finduserthreads'] != "")
{
$where_sql_add = " AND t.fid NOT IN (".$mybb->settings['nosearch_finduserthreads'].")AND replies > 0";
}
$searcharray['querycache'] .= $db->escape_string($where_sql_add);
}
Its checked and confirmed.