Next time post this in the same thread please.
Anyway, in search.php find this:
Code:
$datesql=" AND thread.lastpost>=".$bbuserinfo[lastvisit];
$wheresql="1=1".$forumsql.$datesql;
$wheresql.=" AND thread.open<>10";
Note: the middle line was changed due to what I helped you with before.
Replace that with this:
Code:
$datesql=" AND thread.lastpost>=".$bbuserinfo[lastvisit];
if ($newsonly) {
$wheresql="1=1 AND forumid=XX".$datesql;
} else {
$wheresql="1=1".$forumsql.$datesql;
}
$wheresql.=" AND thread.open<>10";
Again, the line there is changed in your code.
Change XX to the ID of your news forum, then link to search.php?action=getnew&newsonly=1.