Home > Backend Development > PHP Tutorial > Destoon旺旺无法正常显示,点击提示“会员名不存在”的解决办法_php实例

Destoon旺旺无法正常显示,点击提示“会员名不存在”的解决办法_php实例

WBOY
Release: 2016-06-07 17:18:28
Original
1076 people have browsed it

很多朋友都遇到了Destoon供求栏目下旺旺无法正常显示,点击提醒“会员名不存在”的情况,原因是旺旺更改了在线旺旺的代码,但是Destoon没有及时更新。这时候只需要修改api/im.func.php中第二段旺旺联系的那段:

即将function im_ali($id, $style = 0) 修改成下面的方法即可。

function im_ali($id, $style = 0) {
return $id &#63; ‘<a href=”http://amos.im.alisoft.com/msg.aw&#63;v=2&uid='.$id.'&site=cntaobao&s=6″
target=”_blank” rel=”nofollow”><img src=”http://amos.im.alisoft.com/online.aw&#63;v=2&uid='.$id.'&site=cntaobao&s=2″ title=”点击旺旺交谈/留言”
align=”absmiddle” onerror=”this.src=DTPath+\'file/image/ali-off.gif\'” onload=”if(this.width>20)this.src=SKPath+\'image/ali-off.gif\'”/></a>' : ”;
}
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template