步骤: ⒈打开 forumdisplay.php ,查找“ if ($announcement=$DB_site->query_first("SELECT announcementid,userid,startdate,title FROM announcement WHERE startdate<=$datenow AND enddate>=$datenow AND (forumid=$forumid OR forumid=-1) ORDER BY startdate DESC LIMIT 1")) { ”,在后面加入“ // Hack thread size $size=0; $announcements=$DB_site->query("SELECT pagetext FROM announcement WHERE startdate<=$datenow AND enddate>=$datenow AND (forumid=$forumid OR forumid=-1)"); while ($announce=$DB_site->fetch_array($announcements)) $size+=strlen($announce[pagetext]); $size=iif($size>1024,number_format($size/1024,1)."K",$size); // End Hack thread size ”,查找“ while ($thread=$DB_site->fetch_array($threads)) { ”,在后面加入“ // Hack thread size $size=0; $posts=$DB_site->query("SELECT pagetext FROM post WHERE threadid=".$thread[threadid]); while ($post=$DB_site->fetch_array($posts)) $size+=strlen($post[pagetext]); $size=iif($size>1024,number_format($size/1024,1)."K",$size); // End Hack thread size ”,保存退出;