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

 找回密码
 立即注册
搜索

[已解决] 礼品中心x2.5 网页地址多出%22 如果解决?

[复制链接]
kx9h 发表于 2013-2-5 11:41:42 | 显示全部楼层 |阅读模式
  
[td]您收到 admin 送的 1 个 开心玛瑙,admin 说:


回赠地址:http://kx9h.com/%22plugin.php?id=xlg_gift:gift&giftto=admin\"

赠送地址:http://kx9h.com/%22plugin.php?id=xlg_gift:gift&action=giftlog&operation=sendlog\"

获赠地址:http://kx9h.com/%22plugin.php?id=xlg_gift:gift&action=giftlog&operation=receivelog\"

图片地址:http://kx9h.com/%22plugin.php?id=xlg_gift:gift&giftto=admin\



一个很奇怪的问题,之前安装的礼品中心在x1.5  x2.0都是正常的链接。可是到了x2.5 安装后网址自动两头增加红色部分 22% 是什么问题啦?

诸位谁知道这是什么原因造成的。

先谢谢大家了。






回复

使用道具 举报

水分子 发表于 2013-2-5 11:45:12 | 显示全部楼层
后台,看看自己域名设置是不是多了"
回复

使用道具 举报

 楼主| kx9h 发表于 2013-2-5 11:49:51 | 显示全部楼层
水分子 发表于 2013-2-5 11:45
后台,看看自己域名设置是不是多了"

谢谢你的回复,但是不是这个问题的,因为不光是前面多出22%,地址后边也同样多出来一个“\”
回复

使用道具 举报

水分子 发表于 2013-2-5 12:21:20 | 显示全部楼层
kx9h 发表于 2013-2-5 11:49
谢谢你的回复,但是不是这个问题的,因为不光是前面多出22%,地址后边也同样多出来一个“\”

我自己跑去注册,你的设置让我郁闷,问插件作者吧
回复

使用道具 举报

 楼主| kx9h 发表于 2013-2-5 12:42:56 | 显示全部楼层
水分子 发表于 2013-2-5 12:21
我自己跑去注册,你的设置让我郁闷,问插件作者吧

非常感谢你的能注册本站,问题我已经自己解决了。
问题是这样解决的:

在discuz_plugin_xlg_gift_SC_GBK.xml 文件中有一个双引号注解。我把双引号去掉了。x2.5完美通过了。

修改后的代码如下:
  1. <item id="gift_send"><![CDATA[<table><tr><td width=85px><img src=data/attachment/gift/{giftpic} style="height: 74px; width: 74px;">
  2. <td>您收到 {actor} 送的 {giftnum} 个 {gift},{actor} 说:
  3. <div class="quote"><blockquote>{message}</blockquote></div>
  4. <p class="mbn"><a href=plugin.php?id=xlg_gift:gift&giftto={actorn} target="_blank">回赠礼品</a>
  5. <span class="pipe">|</span><a href=plugin.php?id=xlg_gift:gift&action=giftlog&operation=sendlog target="_blank">赠送记录</a>
  6. <span class="pipe">|</span><a href=plugin.php?id=xlg_gift:gift&action=giftlog&operation=receivelog target="_blank">获赠记录</a></p></tr></table>]]></item>
复制代码
没有修改前的代码。在x2.5中,用上边的代码 替换下面的代码部分问题的到完美解决。
  1. <item id="gift_send"><![CDATA[<table><tr><td width=85px><img src="data/attachment/gift/{giftpic}" style="height: 74px; width: 74px;">
  2. <td>您收到 {actor} 送的 {giftnum} 个 {gift},{actor} 说:
  3. <div class="quote"><blockquote>{message}</blockquote></div>
  4. <p class="mbn"><a href="plugin.php?id=xlg_gift:gift&giftto={actorn}" target="_blank">回赠装备</a>
  5. <span class="pipe">|</span><a href="plugin.php?id=xlg_gift:gift&action=giftlog&operation=sendlog" target="_blank">赠送记录</a>
  6. <span class="pipe">|</span><a href="plugin.php?id=xlg_gift:gift&action=giftlog&operation=receivelog" target="_blank">获赠记录</a></p></tr></table>]]></item>
复制代码
把地址中的双引号注销就可以了。非常方便。{:soso_e182:}
回复

使用道具 举报

 楼主| kx9h 发表于 2013-2-5 12:45:25 | 显示全部楼层

本帖子中包含更多资源

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

x
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-11 02:10 , Processed in 0.140378 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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