edo


disconnected
主题工具

問題=.=!

... 发表于 2007-11-18 16:51  ... 10114 次点击

問題一
1.投票的棒棒圖是不是未修正?
問題二
最新討論那個我用回i_threadlist

但怎樣用這個:
如果有私人板块不希望出现在帖子列表中,请修改include/cache.func.php的$disinit变量
,,,即不希望私人板块出现在最新討論的帖子列表中。
-----------
include/cache.func.php好像修改了很多=.=!不懂改呢
來幫幫~謝!

本主题共有 3 条回复 | 回到顶部
#1 - 2007-11-18 17:29
Sai 桂林
1.恩

2.找到
$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";

改成
$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 地球
兩段有什麼不同=.=?

用了原本那個,解決了,,謝謝你!
   $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";

[ 本帖最后由 edo 于 2007-11-18 17:54 编辑 ]
#3 - 2007-11-18 18:30
Sai 桂林
……我忘记加{$disinit}了
看完之后有话想说?那就帮楼主加盖一层吧!

在回复之前你需要先进行登录
用户名 / UID
密码
Project Parasynthesis | Based on Discuz! 5.5.0 | Thanks to Livid
About | Help | Developer | N2Design
清除 Cookies - 联系我们 - 无名杂志 - Archiver - Mobile
Processed in 0.053902 second(s), 9 queries, Gzip enabled