本帖最后由 凡军 于 2009-8-4 14:04 编辑
免费下载,不会装的和装了出问题的 !请勿PM我!
演示地址:http://ee23.cn/
DZ7.0+UCH1.5
已升级到UCH2.0的不要用!更新下数据库升级教程:
1、字段修改:
按照下图打开查看你的表前缀,我的是【c_】,替换升级语句中的【b_】
2、升级界面 【工具-数据库-升级】
升级语句:
- ALTER TABLE `b_sessions` ADD `gid` SMALLINT( 6 ) NULL ;
复制代码 注意要把语句中的【b_】替换成你第一步查询的。
3、修改index.php
查找- foreach($catlist as $catid => $category) {
复制代码 下面添加
- $groupgfid = $catlist[$catid][fid];
- $counttoday = $db->fetch_first("SELECT sum(todayposts) as sum FROM {$tablepre}forums WHERE fup='$groupgfid'");
- $catlist[$catid][sumtoday] = $counttoday[sum];
- $flis = "$gp";
- $countol = $db->fetch_first("SELECT count(uid) as count FROM {$tablepre}sessions WHERE gid='$groupgfid'");
- $catlist[$catid][ol] = $countol['count'];
- $gidlast = $db->fetch_first("SELECT t.subject, t.author, t.authorid, t.tid, t.lastpost FROM {$tablepre}threads t
- LEFT JOIN {$tablepre}forums f ON f.fid=t.fid WHERE f.fup='$groupgfid' ORDER BY dateline DESC LIMIT 1");
- $catlist[$catid][gsubject] = $gidlast[subject];
- $catlist[$catid][gauthorid] = $gidlast[authorid];
- $catlist[$catid][gauthor] = $gidlast[author];
- $catlist[$catid][gtid] = $gidlast[tid];
- $catlist[$catid][glastpost] = gmdate("$dateformat $timeformat", $gidlast[lastpost] + $timeoffset * 3600);
复制代码 安装
完成数据升级后,按照附件中的安装说明进行修改!不要着急,一步一步来!
BBS及UCH修正
1、家园活跃会员变形修复
修改文件:home/template/common.css
找到:.shuoyue li { list-style:none; float:left; width:65px;}
修改为:.shuoyue li { list-style:none; float:left; width:65px; height:80px; overflow:hidden;}
2、家园最新相册变形修复
修改文件:home/template/common.css
找到:.sphoto li { list-style:none; float:left; width:65px; overflow:hidden;}
修改为:.sphoto li { list-style:none; float:left; width:65px; overflow:hidden;height:100px;}
3、论坛最新专辑变形修复:
修改文件:bbs/templates/sinblack_page/discuz_info.htm
找到:.nablum img { width:57px; height:60px;}
换行添加:.nablum li {float:left; width:70px; height:100px; overflow:hidden;}
|