Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] [整合美化]首页四格+社区之星后台控制全Cache版 FOR DZ4.1正式版[6.1更新]

[复制链接]
 楼主| mousecat 发表于 2006-6-21 00:55:15 | 显示全部楼层
原帖由 nabbx 于 2006-6-18 10:07 发表
为什么我的每天统计后的昨日帖子都为1呢??
还有就是怎么每天不能统计发帖之星呢??

应该是安装过程中有地方出错了
回复

使用道具 举报

啊神! 发表于 2006-6-21 07:48:10 | 显示全部楼层
出现乱码  请哪位高手帮帮我,谢谢。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

hhkkggll 发表于 2006-6-21 09:59:14 | 显示全部楼层
原帖由 mousecat 于 2006-6-21 00:53 发表

第一次遇到这样的问题。。。。再仔细从头看一次你所安装的字段


最大可能是修改那個檔案出錯???
回复

使用道具 举报

啊神! 发表于 2006-6-21 22:47:39 | 显示全部楼层
原帖由 啊神! 于 2006-6-21 07:48 发表
出现乱码  请哪位高手帮帮我,谢谢。

没人知道如何解决这个问题吗?
回复

使用道具 举报

Old吴 发表于 2006-6-22 01:22:00 | 显示全部楼层

!

回复

使用道具 举报

 楼主| mousecat 发表于 2006-6-22 01:52:39 | 显示全部楼层
原帖由 啊神! 于 2006-6-21 22:47 发表

没人知道如何解决这个问题吗?

你的dz是什么版本阿?
回复

使用道具 举报

 楼主| mousecat 发表于 2006-6-22 01:54:06 | 显示全部楼层
原帖由 hhkkggll 于 2006-6-21 09:59 发表


最大可能是修改那個檔案出錯???


我感觉是和cache有关的
回复

使用道具 举报

啊神! 发表于 2006-6-22 02:52:36 | 显示全部楼层
原帖由 mousecat 于 2006-6-22 01:52 发表

你的dz是什么版本阿?

是UTF-8简体中文版的.
回复

使用道具 举报

 楼主| mousecat 发表于 2006-6-22 03:24:45 | 显示全部楼层
那要用utf的那个
回复

使用道具 举报

啊神! 发表于 2006-6-22 04:26:01 | 显示全部楼层
我用的就是utf那个, 是这断代码出了问题  不知道有没有解决办法.
  1. //========== 社区明星BY 33201 开始
  2. $nopoststar ='<td width=17%>姓名:<font color=red><b> 虚位以待!</b></font> <br>UID  :<b>空</b> <br>积分:空 <br>精华:空<br>今日发帖:空<br>总发帖量:空<br> 在线时间:空 <br> </td><td width=16% align=center class=altbg1><img src=images/nopic.gif width=80 height=80 align=center></td>';
  3.     if($_DCACHE['daystar']) {
  4.                 foreach($_DCACHE['daystar'] as $key => $dstar) {
  5.             if ($key<3){
  6.                 $daystars .="<td width=17%>姓名:<b>".$dstar[author]."</b> <br>UID  :<b>".$dstar[authorid]."</b> <br>积分:".$dstar[credits]." <br>精华:".$dstar[digestposts]." 篇<br><font color=red><b>今日</b></font>发帖:<font color=red><b>".$dstar[num]."</b></font> 篇<br>总发帖量:".$dstar[posts]." 篇<br> 在线时间:".$dstar[oltime]." 小时<br> </td><td width=16% align=center class=altbg1><img src=".$dstar[avatar]." width=".$dstar[avatarwidth]." height=".$dstar[avatarheight]." align=center></td>";$n=$key;
  7. }
  8.                 }
  9. if($n==0){$nostar .=$nopoststar.$nopoststar;}elseif($n==1){$nostar .=$nopoststar;}
  10.         }
  11.     if($_DCACHE['weekstar']) {
  12.                 foreach($_DCACHE['weekstar'] as $key => $wstar) {
  13.             if ($key<3){
  14.                 $weekstars .="<td width=17%>姓名:<b>".$wstar[author]."</b> <br>UID  :<b>".$wstar[authorid]."</b> <br>积分:".$wstar[credits]." <br>精华:".$wstar[digestposts]." 篇<br><font color=red><b>本周</b></font>发帖:<font color=red><b>".$wstar[num]."</b></font> 篇<br>总发帖量:".$wstar[posts]." 篇<br> 在线时间:".$wstar[oltime]." 小时<br> </td><td width=16% align=center class=altbg1><img src=".$wstar[avatar]." width=".$wstar[avatarwidth]." height=".$wstar[avatarheight]." align=center></td>";$weeknum=$key;
  15.             }
  16.                 }
  17. if($weeknum==0){$noweekstar .=$nopoststar.$nopoststar;}elseif($weeknum==1){$noweekstar .=$nopoststar;}
  18.         }
  19.     if($_DCACHE['monthstar']) {
  20.                 foreach($_DCACHE['monthstar'] as $key => $mstar) {
  21.             if ($key<3){
  22.                 $monthstars .="<td width=17%>姓名:<b>".$mstar[author]."</b> <br>UID  :<b>".$mstar[authorid]."</b> <br>积分:".$mstar[credits]." <br>精华:".$mstar[digestposts]." 篇<br><font color=red><b>".$month."月</b></font>发帖:<font color=red><b>".$mstar[num]."</b></font> 篇<br>总发帖量:".$mstar[posts]." 篇<br> 在线时间:".$mstar[oltime]." 小时<br> </td><td width=16% align=center class=altbg1><img src=".$mstar[avatar]." width=".$mstar[avatarwidth]." height=".$mstar[avatarheight]." align=center></td>";
  23.             }
  24.                 }
  25.         }
  26.     if($_DCACHE['yearstar']) {
  27.                 foreach($_DCACHE['yearstar'] as $key => $ystar) {
  28.             if ($key<3){
  29.                 $yearstars .="<td width=17%>姓名:<b>".$ystar[author]."</b> <br>UID  :<b>".$ystar[authorid]."</b> <br>积分:".$ystar[credits]." <br>精华:".$ystar[digestposts]." 篇<br><font color=red><b>".$year."年</b></font>发帖:<font color=red><b>".$ystar[num]."</b></font> 篇<br>总发帖量:".$ystar[posts]." 篇<br> 在线时间:".$ystar[oltime]." 小时<br> </td><td width=16% align=center class=altbg1><img src=".$ystar[avatar]." width=".$ystar[avatarwidth]." height=".$ystar[avatarheight]." align=center></td>";
  30.             }
  31.                 }
  32.         }
  33. //==========社区明星BY 33201 结束
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-5-22 21:11 , Processed in 0.344090 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表