进入IPB后台
点击选项卡:语言及模板
进入:风格属性及模板,点击:IP.Board Mobile风格组
找到风格文件:topicViewTemplate
查找:
window.open(‘http://twitter.com/intent/tweet?url=’ + encodeURIComponent( _url ) + ‘&text=’ + encodeURIComponent( _title ) );
更改为:
window.open(‘http://service.weibo.com/share/share.php?url=’ + encodeURIComponent( _url ) + ‘&title=’ + encodeURIComponent( _title ) + ‘&appkey=1382803354’ );
查找:
window.open(‘http://www.facebook.com/sharer.php?u=’ + encodeURIComponent( _url ) + ‘&t=’ + encodeURIComponent( _title ) );
更改为:
window.open(‘http://share.v.t.qq.com/index.php?c=share&a=index&title=’ + encodeURIComponent( _title ) + ‘&url=’ + encodeURIComponent( _url ) + ‘&source=bookmark’ );
保存
将上面的facebook.png与twitter.png改为对应的tencent.png和weibo.png即可
ipb的手机风格中将分享按钮更改为新浪微博和腾讯微博
Posted by