Whoops
Forgot to add the LIMIT SQL bit back in after testing
PHP Code:
<?
error_reporting(7);
$templatesused='header,headinclude,phpheader,newsbit,shownews';
$loadbirthdays=1;
$loadmaxusers=1;
//Configuration Options
//What is the ID of your News forum?
$newsforums = 107;
//How many news items should be displayed?
$newsitems = 10;
//Path to your forums directory (leave out trailing slash)
$forumspath = "/forum";
require('./global.php');
$newsquery = "SELECT thread.*, post.*";
$newsquery .= " FROM thread,post";
$newsquery .= " WHERE post.threadid=thread.threadid";
$newsquery .= " AND thread.forumid=$newsforums";
$newsquery .= " GROUP BY thread.threadid";
$newsquery .= " ORDER BY thread.dateline DESC";
$newsquery .= " LIMIT $newsitems"
$news=$DB_site->query($newsquery);
while ($newsarray=$DB_site->fetch_array($news)) {
$dateposted = vbdate("jS F Y, H:i",$newsarray[dateline]);
if ($newsarray[replycount]==1) {
$commenttext = "Comment";
}
else {
$commenttext = "Comments";
}
$cookedthread=bbcodeparse2($newsarray[pagetext],"1","1","1","1");
$test1 .= "test";
eval("\$newsbits .= \"".gettemplate("newsbit")."\";");
}
eval("dooutput(\"".gettemplate("shownews")."\");");
?>
Im not actually sure if this works, im at work at the moment, and i dont have access to my database to test it.
Basically i just added the last line to $newsquery.
Watch out for v1.5 soon!
Itll have more features! (who knows what at the moment

)
I plan on adding multiple forum support, which ive done in my version, but its only basic, and you need to know the forumid(any forumid works atm, gotta fix that)
Maybe news headlines, just like PluhNews, i like that feature.
Im also working on OPColumns, which will do similar features to
here.
If you can sugest any more features you would like, ill try work on them