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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

防D4附件显示 D2.5sp1 by ejew(更新07260500)

[复制链接]
 楼主| ejew 发表于 2005-9-1 14:41:39 | 显示全部楼层

回复 #40 .阿峰 的帖子

附件内的模板文件
找全部的

size="15"
其中的15改小点就行了
回复

使用道具 举报

.阿峰 发表于 2005-9-5 18:11:09 | 显示全部楼层
谢谢ejew ,知道改哪个模板我就会改了。修改好了。
一会安装你的那个控制验证码。
回复

使用道具 举报

1223 发表于 2005-9-12 23:51:33 | 显示全部楼层
强贴!!!!!成功··
回复

使用道具 举报

1223 发表于 2005-9-13 00:58:00 | 显示全部楼层
点了没反应!!是因为后台设置附件上传个数的问题。。呵呵。。都正常。。谢谢楼主提供这个好东西。

[ 本帖最后由 1223 于 2005-9-13 11:07 编辑 ]
回复

使用道具 举报

sdywd 发表于 2005-9-16 02:14:34 | 显示全部楼层
在编辑附件的时候有一个问题,比如我删掉一个附件的时候,其他附件也不见了,我个人认为下面这个地方改的不对


  1. 添加文字说明的升级

  2. 其中editpost.php再找

  3. if ($saveaid) {
  4. 。。。。中间内容省略,自己找匹配
  5. if ($del_aids) {

  6. 改为


  7.                                if ($saveaid) {
  8. if ($allowsetattachperm && $att[creditsrequire] != $origattachperm["$att[aid]"]|| $att[attachtext] != $origattachtext["$att[aid]"]){
  9.                                                 $att[creditsrequire] = $origattachperm["$att[aid]"];
  10.                                                 $att[attachtext] = $origattachtext["$att[aid]"];
  11.                                                 $db->query("UPDATE $table_attachments set

  12. creditsrequire='$att[creditsrequire]',attachtext='$att[attachtext]' WHERE aid='$att[aid]'", 'UNBUFFERED');
  13.                                         }
  14.                                         $post_attaches_count ++;
  15.                                 }
  16.                         }
  17.                         if ($del_aids) {


复制代码


我个人改为
  1.                                 if ($saveaid) {
  2.                                         if ($allowsetattachperm && $att[creditsrequire] != $origattachperm["$att[aid]"]|| $att[attachtext] != $origattachtext["$att[aid]"]){
  3.                                                 $att[creditsrequire] = $origattachperm["$att[aid]"];
  4.                                                 $att[attachtext] = $origattachtext["$att[aid]"];
  5.                                                 $db->query("UPDATE $table_attachments set creditsrequire='$att[creditsrequire]',attachtext='$att[attachtext]' WHERE aid='$att[aid]'", 'UNBUFFERED');
  6.                                         }
  7.                                         $new_aids[] = $t_a;
  8.                                 }
  9.                         }
  10.                         if ($del_aids) {
复制代码



这样才没有上面我所说的问题,望楼主测试一下看看

[ 本帖最后由 sdywd 于 2005-9-16 02:38 编辑 ]
回复

使用道具 举报

比翼鸟 发表于 2005-9-16 15:40:31 | 显示全部楼层
不错不错
回复

使用道具 举报

fengshen34 发表于 2005-9-16 18:35:02 | 显示全部楼层
晕啊晕啊……好多的字母啊……看上都迷糊啊。
回复

使用道具 举报

求助啊! 发表于 2005-10-11 13:05:37 | 显示全部楼层

马上试,谢谢.

回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-22 04:17 , Processed in 0.099702 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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