On 5.5, I have this done, but with the changes to V6, this is much harder to do, because the code isn't all in the same place anymore.
I need to know what code to add to postlist.php and showthreaded.php to add a tr class to new posts(class "newthread" in the css)... Right now I edited the code near the "Alternate Colors" to be:
[:"blue"]// --------------------
// alternate the colors
if ( ($Posted >= $unread) && (!ereg($thisone,$read ) ) ) {
$postrow[$z]['color'] = 'newthread';
} else {
$color = $html -> switch_colors($color);
}[/]
But this will only update the new post itself. We need to color the original post of the thread if there are any replies to the thread, for collapsed mode.
When viewing in collapsed mode, anytime there is a new post we want the parent post to have the newthread class to that table row.
When viewing in expanded mode, we want just the new posts to have the newthread class to that table row, not also the parent thread. And on showthreaded, same thing.
Basically, anytime the "/newicons/" would be used instead of "/icons/" I need to change that row to be class = "newthread" ...
So, where are they all?
Last edited by Muhammad; 06/03/2002 4:51 PM.