::NoName Magazine 无名杂志 » Project Parasy » 問題=.=!
本主题共有 3 条回复 | 回到顶部
#1 - 2007-11-18 17:29
Sai
桂林
1.恩
2.找到
改成
在按格式修改$disinit即可
还有ParasySettings.inc.php中也有一处权限设置
2.找到
CODE:
$conditions = "LEFT JOIN {$tablepre}forums f ON f.fid=t.fid LEFT JOIN {$tablepre}memberfields mf ON mf.uid=t.authorid WHERE t.displayorder!='-1' ORDER BY t.lastpost DESC LIMIT 0, 20";
改成
CODE:
$conditions = "LEFT JOIN {$tablepre}forums f ON f.fid=t.fid LEFT JOIN {$tablepre}memberfields mf ON mf.uid=t.authorid WHERE t.displayorder!='-1' {$disinit} ORDER BY t.lastpost DESC LIMIT 0, 20";
在按格式修改$disinit即可
还有ParasySettings.inc.php中也有一处权限设置
#2 - 2007-11-18 17:40
edo
地球
兩段有什麼不同=.=?
用了原本那個,解決了,,謝謝你!
[ 本帖最后由 edo 于 2007-11-18 17:54 编辑 ]
用了原本那個,解決了,,謝謝你!
CODE:
$cols = 't.tid, t.fid, t.author,t.subject, t.dateline, t.lastpost, t.lastposter, t.views, t.replies,f.name,f.board_name, mf.avatar';
$conditions = "LEFT JOIN {$tablepre}forums f ON f.fid=t.fid LEFT JOIN {$tablepre}memberfields mf ON mf.uid=t.authorid WHERE t.displayorder!='-1' and f.fid!='72'and f.fid!='73'and f.fid!='76'and f.fid!='49'and f.fid!='67'and f.fid!='74'and f.fid!='77'and f.fid!='46' and f.fid!='6'and f.fid!='25'and f.fid!='51'and f.fid!='26'and f.fid!='64' ORDER BY t.lastpost DESC LIMIT 0, 20";
$conditions = "LEFT JOIN {$tablepre}forums f ON f.fid=t.fid LEFT JOIN {$tablepre}memberfields mf ON mf.uid=t.authorid WHERE t.displayorder!='-1' and f.fid!='72'and f.fid!='73'and f.fid!='76'and f.fid!='49'and f.fid!='67'and f.fid!='74'and f.fid!='77'and f.fid!='46' and f.fid!='6'and f.fid!='25'and f.fid!='51'and f.fid!='26'and f.fid!='64' ORDER BY t.lastpost DESC LIMIT 0, 20";
[ 本帖最后由 edo 于 2007-11-18 17:54 编辑 ]