本帖最后由 nawanla 于 2011-8-20 17:35 编辑
如题,升级前正常,风格也是全DIY的,
按照帖子介绍,直接下载上传覆盖。
升级后顶部好多密密麻麻的乱码,我关闭QQ互联就正常了,这是怎么回事?
而且是错位的,网页居左显示
网址:http://www.lq168.com
求达人帮助啊,现在只有关闭QQ互联功能了
解决方法,用x2update20110629_sc_gbk补丁的QQ互联插件覆盖下即可。可能是新版补丁内的插件有问题。
乱码:
- return $this->_viewthread_share_method_output(); } function viewthread_bottom_output() { return $this->_viewthread_bottom_output(); } function viewthread_nonexistence_message($param) { return $this->_viewthread_nonexistence_message($param); } } class plugin_qqconnect_home extends plugin_qqconnect { function spacecp_profile_bottom() { global $_G; if(submitcheck('profilesubmit')) { $_G['group']['maxsigsize'] = $_G['group']['maxsigsize'] < 200 ? 200 : $_G['group']['maxsigsize']; return; } if($_G['uid'] && $_G['setting']['connect']['allow']) { require_once libfile('function/connect'); connect_merge_member(); if($_G['member']['conuin'] && $_G['member']['conuinsecret']) { $arr = array(); $arr['oauth_consumer_key'] = $_G['setting']['connectappid']; $arr['oauth_nonce'] = mt_rand(); $arr['oauth_timestamp'] = TIMESTAMP; $arr['oauth_signature_method'] = 'HMAC_SHA1'; $arr['oauth_token'] = $_G['member']['conuin']; ksort($arr); $arr['oauth_signature'] = connect_get_oauth_signature('http://cp.discuz.qq.com/connect/getSignature', $arr, 'GET', $_G['member']['conuinsecret']); $result = connect_output_php('http://cp.discuz.qq.com/connect/getSignature?' . http_build_query($arr, '', '&')); if($result['status'] == 0) { $js = 'a.onclick = function () { seditor_insertunit(\'sightml\', \'[wb='.$result['result']['username'].']'.$result['result']['signature_url'].'[/wb]\'); };'; } else { $js = 'a.onclick = function () { showDialog(\''.lang('plugin/qqconnect', 'connect_wbsign_no_account').'\'); };'; } } else { $js = 'a.onclick = function () { showDialog(\''.lang('plugin/qqconnect', 'connect_wbsign_no_bind').'\'); };'; } return ''; } } } ?>
复制代码
|