原帖由 mengxinxu99 于 2006-10-7 05:37 发表 
修改出错的forumdisplay.php 
 
<?php 
 
/* 
         (C)2001-2006 Comsenz Inc. 
        This is NOT a freeware, use is subject to license terms 
 
        $RCSfile: forumdisplay.php,v $ 
        $Revision: 1.48.2.1 $ 
        $D ...   
原帖由 mengxinxu99 于 2006-10-7 05:37 发表 
修改出错的forumdisplay.php 
 
<?php 
 
/* 
         (C)2001-2006 Comsenz Inc. 
        This is NOT a freeware, use is subject to license terms 
 
        $RCSfile: forumdisplay.php,v $ 
        $Revision: 1.48.2.1 $ 
        $D ...   
 
找到那相同的三处 
 
将- $query = $db->query("SELECT $dotadd1 t.*, b.message FROM {$tablepre}threads t $dotadd2 LEFT JOIN {$tablepre}posts b USING(tid, dateline)
 
  复制代码 
 
修改为- $querysticky = $db->query("SELECT $dotadd1 t.*, mf.avatar,b.message  FROM {$tablepre}threads t $dotadd2
 
 - LEFT JOIN {$tablepre}memberfields mf ON(mf.uid = t.authorid) 
 
 - LEFT JOIN {$tablepre}posts b USING(tid, dateline) 
 
 
  复制代码 
 
不知道你装的具体的插件链接在那里,所以不能进行测试。以上公供参考。不一定正确。 |