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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] 站内附件图片展示 FOR D4.1 全缓存强化版 Edit By 温馨阁

[复制链接]
axyoo 发表于 2006-4-28 15:34:40 | 显示全部楼层
7. include/editpost.inc.php
查找:
updatecredits($discuz_uid, $creditspolicy['postattach'], -($db->affected_rows()));
下面加:

                                require_once DISCUZ_ROOT.'./include/cache.func.php';
                                updatecache('attachs_new');
再找:
updatecredits($discuz_uid, $creditspolicy['postattach'], count($attachments));
..............................................................................................................
4.1的根本没有~~~这两段语句~~

按上面照楼主说的做~~~
显示出来的只是~~两个打XX的样子~~
回复

使用道具 举报

琴韵 发表于 2006-4-28 20:34:18 | 显示全部楼层
一直以来我都不敢修改论坛的默认数据。因为我都不懂。

我希望有修改好的数据,让我上传后就可以用
回复

使用道具 举报

两只袜子 发表于 2006-4-29 20:11:27 | 显示全部楼层
原来用过一个,那数据库还要升级吗?
回复

使用道具 举报

hopetm 发表于 2006-5-2 09:33:31 | 显示全部楼层
支持一下
回复

使用道具 举报

e_zailai 发表于 2006-5-10 00:18:05 | 显示全部楼层
谢谢~~~
回复

使用道具 举报

胡说侃人 发表于 2006-5-12 10:52:42 | 显示全部楼层
装一下试试
回复

使用道具 举报

胡说侃人 发表于 2006-5-12 15:43:01 | 显示全部楼层
原帖由 axyoo 于 2006-4-28 15:34 发表
7. include/editpost.inc.php
查找:
updatecredits($discuz_uid, $creditspolicy, -($db->affected_rows()));
下面加:

                                require_once DISCUZ_ROOT.'./include/cache.fun ...




我的也是,顶一下。等高人解决
回复

使用道具 举报

handmag 发表于 2006-5-14 02:54:22 | 显示全部楼层
成功安装
只是图片边上有把小叉,不知是哪里出了问题


另外
4. include/cache.php
查找:


CODE:[Copy to clipboard]'bbcodes'        => array('bbcodes', 'smilies'),

这一步时,没找到include/cache.php,用类似的文件代替include/cache.func.php


另外要找的应该是这个                   'bbcodes'        => array('bbcodes', 'smilies'),
               
               

演示网站:www.mkaca.com

[ 本帖最后由 handmag 于 2006-5-14 03:05 编辑 ]
回复

使用道具 举报

handmag 发表于 2006-5-14 03:04:24 | 显示全部楼层
原帖由 axyoo 于 2006-4-28 15:34 发表
7. include/editpost.inc.php
查找:
updatecredits($discuz_uid, $creditspolicy, -($db->affected_rows()));
下面加:

                                require_once DISCUZ_ROOT.'./include/cache.fun ...




分别用这两个试试
updatecredits($orig['authorid'], $creditspolicy['postattach'], -($db->affected_rows()));


updatecredits($orig['authorid'], $creditspolicy['postattach'], count($attachments));

可能是什么都不懂的缘故,我在找不到楼主使用的语句时,全用类似的代替,竟然成功啦,呵呵!
回复

使用道具 举报

handmag 发表于 2006-5-14 03:19:06 | 显示全部楼层
cha cha 也解决啦。
把bk.jif
放到image目录下
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-26 09:30 , Processed in 0.125745 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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