那个东西是多余的,删除方法:
修改以下文件:
plugins/qqconnect/templates下的module.htm 找到以下代码,删除即可- <div id="connect_share_btn">
- <link rel="stylesheet" type="text/css" href="plugins/qqconnect/templates/extend_module.css" />
- <strong>{lang qqconnect:connect_viewthread_share_title}:</strong>
- <a href="javascript:void(0);" id="k_qqshare" onclick="postToQzone();" title="{lang qqconnect:connect_viewthread_share_to_qzone}"><i><img src="{IMGDIR}/qzone.gif" alt="{lang qqconnect:connect_viewthread_share_to_qzone}" />{lang qqconnect:connect_viewthread_share_to_qzone}</i></a>
- <a href="javascript:void(0);" onclick="postToWb();" id="k_weiboshare" title="{lang qqconnect:connect_viewthread_share_to_weibo}"><i><img src="{IMGDIR}/weibo.png" alt="{lang qqconnect:connect_viewthread_share_to_weibo}" />{lang qqconnect:connect_viewthread_share_to_weibo}</i></a>
- <a href="javascript:void(0);" onclick="postToPengyou();" id="k_pengyoushare" title="{lang qqconnect:connect_viewthread_share_to_pengyou}"><i><img src="{IMGDIR}/pengyou.png" alt="{lang qqconnect:connect_viewthread_share_to_pengyou}" />{lang qqconnect:connect_viewthread_share_to_pengyou}</i></a>
- <script type="text/javascript">
- function postToWb(){
- var _t = encodeURI(document.title);
- var _url = encodeURIComponent(document.location);
- var _appkey = encodeURI("{$connect_setting['weibo_appkey']}");
- var _pic = "{$connect_post['share_images']}";
- var _site = encodeURIComponent("{$bbname}");
- var _from = 'discuz';
- var _u = 'http://v.t.qq.com/share/share.php?url='+_url+'&appkey='+_appkey+'&site='+_site+'&pic='+_pic+'&title='+_t+'&from='+_from;
- window.open( _u,'', 'width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' );
- }
- function postToQzone(){
- var _url = encodeURIComponent(document.location.href);
- var _site = encodeURIComponent("{$bbname}");
- var _title = encodeURIComponent("{$GLOBALS['thread']['subject']}");
- var _pics = "{$connect_post['share_images']}";
- var _u = '{$connect_setting[qzone_public_share_url]}?url='+_url+'&site='+_site+'&title='+_title+'&pics='+_pics+'&from='+_from;
- var _from = 'discuz';
- window.open(_u);
- }
- function postToPengyou(){
- var _url = encodeURIComponent(document.location.href);
- var _site = encodeURIComponent("{$bbname}");
- var _title = encodeURIComponent("{$GLOBALS['thread']['subject']}");
- var _pics = "{$connect_post['share_images']}";
- var _from = 'discuz';
- var _u = '{$connect_setting[qzone_public_share_url]}?to=pengyou&url='+_url+'&site='+_site+'&title='+_title+'&pics='+_pics+'&from='+_from;
- window.open(_u);
- }
- </script>
- </div>
复制代码 |