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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

【礼物】插件免费版发佈 最新 V1.0d 版(完美版)!

[复制链接]
e7lnet 发表于 2008-9-6 20:23:37 | 显示全部楼层
原帖由 kiankhoon 于 2008-6-13 21:33 发表
原来是和你之前安装另一作者的表情插件冲突,把以下的代码从 /components/shared/function_common.php 里删除:
// Smiley Replace Function
function replace_smiley($string)
{
        $smileyarr = array(
                ":)"  ...

果然是这个问题,
这个白屏困扰了我1个多小时的时间
现在终于解决
多谢lz了
回复

使用道具 举报

ssxlzx18 发表于 2008-9-7 01:08:27 | 显示全部楼层
无法添加和编辑礼物分类,提示 ”您的请求来路不正确或表单验证串不符,无法提交。请尝试使用标准的web浏览器进行操作。“,请楼主看看
回复

使用道具 举报

chen1942 发表于 2008-9-7 03:31:54 | 显示全部楼层
你好 我全手动安装完成了 但是其他问题没出现就出现了这个问题  图片不显示 但是后台没问题  目录按你说的设置777权限了 连目录带文件都777了还是不行


图片不显示


后台正常


UCH 编码:GBK
服务器操作系统:Linux
插件文件名:gift_free_gbk_v1.0d.zip
模版:UCH原版
之前是否安装过其他版本:否

问题:前台礼物图片不显示

[ 本帖最后由 chen1942 于 2008-9-7 03:34 编辑 ]
回复

使用道具 举报

chen1942 发表于 2008-9-7 18:02:29 | 显示全部楼层
LZ 帮忙看下吧
回复

使用道具 举报

杏花烟雨 发表于 2008-9-7 18:22:02 | 显示全部楼层
你把礼物插件带的js文件里correctPNG函数屏蔽掉试试
回复

使用道具 举报

chen1942 发表于 2008-9-7 18:55:20 | 显示全部楼层
原帖由 杏花烟雨 于 2008-9-7 18:22 发表
你把礼物插件带的js文件里correctPNG函数屏蔽掉试试

你好 是这个吗?
  1. function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6.
  2. {
  3.    var arVersion = navigator.appVersion.split("MSIE")
  4.    var version = parseFloat(arVersion[1])
  5.    if ((version >= 5.5) && (document.body.filters))
  6.    {
  7.       for(var j=0; j<document.images.length; j++)
  8.       {
  9.          var img = document.images[j]
  10.          var imgName = img.src.toUpperCase()
  11.          if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
  12.          {
  13.             var imgID = (img.id) ? "id='" + img.id + "' " : ""
  14.             var imgClass = (img.className) ? "class='" + img.className + "' " : ""
  15.             var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
  16.             var imgStyle = "display:inline-block;" + img.style.cssText
  17.             if (img.align == "left") imgStyle = "float:left;" + imgStyle
  18.             if (img.align == "right") imgStyle = "float:right;" + imgStyle
  19.             if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
  20.             var strNewHTML = "<span " + imgID + imgClass + imgTitle
  21.             + " style="" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
  22.             + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
  23.             + "(src=\'" + img.src + "\', sizingMethod='scale');"></span>"
  24.             img.outerHTML = strNewHTML
  25.             j = j-1
  26.          }
  27.       }
  28.    }   
  29. }
  30. window.attachEvent("onload", correctPNG);
复制代码
我该怎么操作? 我不会 谢谢了
回复

使用道具 举报

杏花烟雨 发表于 2008-9-7 19:05:28 | 显示全部楼层
把最外两个大括号之间内容注释掉,或者把最下面那行注释掉,看看是不是这出的问题
这个
window.attachEvent("onload", correctPNG);
回复

使用道具 举报

chen1942 发表于 2008-9-7 20:27:01 | 显示全部楼层
原帖由 杏花烟雨 于 2008-9-7 19:05 发表
把最外两个大括号之间内容注释掉,或者把最下面那行注释掉,看看是不是这出的问题
这个
window.attachEvent("onload", correctPNG);

我把头尾都删掉可以显示了 但是有点错位 是不是因为我是IE6的关系 实际上是可以显示的 也不会错位?
回复

使用道具 举报

chen1942 发表于 2008-9-7 21:11:31 | 显示全部楼层
好奇怪啊 我后台的correctPNG代码生效了 能看到图片也透明了 但是前台却不行 图片不显示  谁知道怎么回事
回复

使用道具 举报

lazy_dog 发表于 2008-9-9 21:31:22 | 显示全部楼层
这个不顶不行啊~~~~~~!
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-28 04:56 , Processed in 0.137831 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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