SQL:
- INSERT INTO `cdb_settings` (`variable`, `value`) VALUES ('retrospect', '10');
复制代码
模板文件夹: post_newreply.htm
查找:
- <!--{if $thread['replies'] > $ppp}-->
复制代码
改为:
模板文件夹: admincp.lang.php
查找:
- 'settings_hideprivate_comment' => '不在列表中显示当前用户无权访问的论坛',
复制代码
下面加:
- 'settings_retrospect' => '主题回顾显示条数(0为关闭):',
- 'settings_retrospect_comment' => '回复主题时,页面下方显示已经回复过的信息,可选显示的条数',
复制代码
admin/settings.inc.php
查找:
- showsetting('settings_fastpost', 'settingsnew[fastpost]', $settings['fastpost'], 'radio');
复制代码
下面加:
- showsetting('settings_retrospect', 'settingsnew[retrospect]', $settings['retrospect'], 'text');
复制代码
再找:
- 'maxpostsize', 'minpostsize', 'maxavatarsize'
复制代码
后面加:
保存退出.
include/newreply.inc.php
查找:
- if($thread['replies'] <= $ppp) {
复制代码
改为:
再找:
- WHERE tid='$tid' AND invisible='0' ORDER BY dateline DESC
复制代码
后面加:
后台更新一下缓存完工.
[ 本帖最后由 oytktk 于 2007-8-24 15:35 编辑 ] |