it still changes when I make a quick reply in the forum. I want to move lastpost in the code. So it only counts new threads, and not new quick replies and new post reply. Only New threads. When there is aa new thread, then it comes on top of the panel. When there is a new post reply or new quick reply then nothing happens.