Okay, I made some changes to the code and here are the modified instructions:
In
forumdisplay.php find
PHP Code:
$threadids='thread.threadid IN (0'.$stickyids;
Replace it with
PHP Code:
$threadids='threadid IN (0'.$stickyids;
Find
PHP Code:
// check to see if there are any threads to display. If there are, do so, otherwise, show message
Right below it add
PHP Code:
$posts = $DB_site->query("SELECT COUNT(*) AS posts,threadid FROM post WHERE $threadids AND dateline>$bbuserinfo[lastvisit] GROUP BY threadid");
while ($post = $DB_site->fetch_array($posts)) {
$newpost[$post[threadid]] = $post[posts];
}
Find
PHP Code:
if (($bbuserinfo[maxposts] != -1) and ($bbuserinfo[maxposts] != 0))
Right above it add
PHP Code:
if ($newpost[$thread[threadid]]) {
$newposts = $newpost[$thread[threadid]];
eval("\$numnew = \"".gettemplate('forumdisplaybit_newposts')."\";");
} else {
$newposts = "0";
eval("\$numnew = \"".gettemplate('forumdisplaybit_newposts')."\";");
}
And then you need to add a template named
forumdisplaybit_newposts with the following contents:
And then edit the
forumdisplay_threadslist template
Code:
<td bgcolor="{tableheadbgcolor}" nowrap><smallfont><a href="$sorturl&sortorder=desc&sortfield=replycount"><font color="{tableheadtextcolor}"><b>Replies</b></font></a> $sortarrow[replycount]</smallfont></td>
Right below it add
Code:
<td bgcolor="{tableheadbgcolor}" nowrap><smallfont><font color="{tableheadtextcolor}"><b>New Posts</b></font></smallfont></td>
Then find
Code:
<td bgcolor="{tableheadbgcolor}" width="100%" colspan="8" align="center"><smallfont color="{tableheadtextcolor}">
Important! Change the "8" to "9".
Then in the
forumdisplaybit template do the following:
Step 1) In
forumdisplaybit find:
<td bgcolor="
(secondaltcolor
)"><normalfont>$thread[views]</normalfont></td>
Step 2) Replace that with:
<td bgcolor="
(firstaltcolor
)"><normalfont>$thread[views]</normalfont></td>
Step 3) Insert the following above it:
<td bgcolor="
(secondaltcolor
)"><normalfont>$numnew</normalfont></td>
just change the
( and
) to
{ and
}
And that's it!
*************************
After going through and changing the instructions I saw that it was indeed
forumdisplaybit.
anyway, tubedogg-- you rock!

thanks man!
Dave