经过CR180的指导
总算把导读中查看新帖改成了按照最新发布主题排序
source/class/table/table_forum_thread.php首先找到table_forum_thread.php文件然后
1.查找以下代码:
$addsql .= ' AND displayorder>=0 ORDER BY lastpost DESC LIMIT 600';
2替换为:
if($type =='new'){
$addsql .= ' AND displayorder>=0 ORDER BY dateline DESC LIMIT 600';
}else{
$addsql .= ' AND displayorder>=0 ORDER BY lastpost DESC LIMIT 600';
}
3.后台更新缓存就OK