检查模板中是否有QQ互联代码(非默认模板下可能会确实相应的代码导致发帖无法推送到Qzone和腾讯微博):
检查当前使用模板文件夹下的viewthread_node.htm文件中是否存在如下代码:
- <!--{if !empty($_G['setting']['pluginhooks']['viewthread_share_method'])}-->
- <div class="tshare cl">
- <strong>{lang viewthread_share_to}:</strong>
- <!--{hook/viewthread_share_method}-->
- </div>
- <!--{/if}-->
复制代码 请问互联代码加到那个位置合适?我网页 模版viewthread_node.htm文件内容
<!--{eval $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);}-->
<!--{block authorverifys}-->
<!--{if $_G['setting']['verify']['enabled']}-->
<!--{loop $_G['setting']['verify'] $vid $verify}-->
<!--{if $verify['available'] && $post['verify'.$vid] == 1}-->
<a href="home.php?mod=spacecp&ac=profile&op=verify&vid=$vid" target="_blank"><!--{if $verify[icon]}--><img src="$verify[icon]" class="vm" alt="$verify[title]" title="$verify[title]" /><!--{else}-->$verify[title]<!--{/if}--></a>
<!--{/if}-->
<!--{/loop}-->
<!--{/if}-->
<!--{/block}-->
<!--{if $post['first'] && $_G['forum_threadstamp']}-->
<div id="threadstamp"><img src="{STATICURL}image/stamp/$_G[forum_threadstamp][url]" title="$_G[forum_threadstamp][text]" /></div>
<!--{/if}-->
<table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
<tr>
<td class="pls" rowspan="2" style="width:0px!important; border:none!important;">
</td>
<td class="plc">
<div style="border:none; padding:0px; margin:0px; position:relative;">
<!--{if !IS_ROBOT}-->
<div style="position:absolute; top:0px; right:0px; color:#CCC;">
<!--{if !empty($postno[$post[number]])}-->{$post[number]}<!--{else}--><em>{$post[number]}</em><!--{/if}-->
</div>
<!--{/if}-->
</div>
<!--{ad ad_a_pr/thread/a_pr/3/$postcount}-->
<div class="pct">
<!--{ad/thread/a_pt/2/$postcount}-->
<!--{if !$_G['inajax']}-->
<!--{if empty($ad_a_pr_css)}-->
<style type="text/css">.pcb{margin-right:0}</style>
<!--{eval $ad_a_pr_css=1;}-->
<!--{/if}-->
<!--{/if}-->
<!--{subtemplate forum/viewthread_node_body}-->
</div>
<!--{if $post['first'] && ($post[tags] || $relatedkeywords)}-->
<div class="ptg mbm">
<!--{if $post[tags]}-->
<!--{eval $tagi = 0;}-->
<!--{loop $post[tags] $var}-->
<!--{if $tagi}-->, <!--{/if}--><a title="$var[1]" href="misc.php?mod=tag&id=$var[0]" target="_blank">$var[1]</a>
<!--{eval $tagi++;}-->
<!--{/loop}-->
<!--{/if}-->
<!--{if $relatedkeywords}--><span>$relatedkeywords</span><!--{/if}-->
</div>
<!--{/if}-->
</td>
</tr>
<tr>
<td class="plc plm">
<!--{if !IS_ROBOT && $post['first'] && !$_G['forum_thread']['archiveid']}-->
<!--{if $post['invisible'] == 0}-->
<div id="p_btn" class="mtw mbm cl">
<!--{if ($_G['group']['allowrecommend'] || !$_G['uid']) && $_G['setting']['recommendthread']['status']}-->
<a id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=$_G[tid]" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate({$_G['group']['allowrecommend']})');return false;"{else}{/if}><i>$_G['setting']['recommendthread'][addtext]</i><span id="recommendv_add">$_G[forum_thread][recommend_add]</span></a>
<a id="recommend_subtract" href="forum.php?mod=misc&action=recommend&do=subtract&tid=$_G[tid]" {if $_G['uid']}onclick="ajaxmenu(this, 3000, 1, 0, '43', 'recommendupdate(-{$_G['group']['allowrecommend']})');return false;"{else}{/if}><i>$_G['setting']['recommendthread'][subtracttext]</i><span id="recommendv_subtract">$_G[forum_thread][recommend_sub]</span></a>
<!--{/if}-->
<span class="y">$_G[forum_thread][replies]条评论 : :</span>
<!--{hook/viewthread_useraction}-->
</div>
<!--{/if}-->
<!--{/if}-->
<!--{ad/thread/a_pb/1/$postcount}-->
</td>
</tr>
<!--{if !$_G['forum_thread']['archiveid'] }-->
<tr>
<td class="pls"></td>
<td class="plc">
<div class="po" style="padding:0px; margin:0px; {if $_G[uid]}height:25px;{else}height:10px;{/if} overflow:hidden;">
<!--{if !$post['first'] && $modmenu['post']}-->
<span class="y">
<label for="manage$post[pid]">
<input type="checkbox" id="manage$post[pid]" class="pc" {if !empty($modclick)}checked="checked" {/if}onclick="pidchecked(this);modclick(this, $post[pid])" value="$post[pid]" autocomplete="off" />
{lang manage}
</label>
</span>
<!--{/if}-->
<div class="pob cl">
<p>
<!--{if $post['invisible'] == 0}-->
<!--{if $_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G[timestamp] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0}-->
<a href="javascript:;">{lang reward_set_bestanswer}</a>
<!--{/if}-->
<!--{if !$post['first'] && $_G['group']['raterange'] && $post['authorid']}-->
<a href="javascript:;">{lang rate}</a>
<!--{/if}-->
<!--{if $post['rate'] && $_G['forum']['ismoderator']}-->
<a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page">{lang removerate}</a>
<!--{/if}-->
<!--{if $post['authorid'] != $_G['uid']}-->
<a href="javascript:;" style="display:none;">{lang report}</a>
<!--{/if}-->
<!--{/if}-->
<em>
<!--{if $post['invisible'] == 0}-->
<!--{if $allowpostreply}-->
<!--{if !$needhiddenreply}-->
<!--{if $post['first']}-->
<a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_G[gp_extra]&page=$page">{lang reply}</a>
<!--{else}-->
<a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_G[gp_extra]&page=$page">{lang reply}</a>
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{/if}-->
<!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && $post['authorid'] == $_G['uid'] && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
<a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_G[gp_modthreadkey])}&modthreadkey=$_G[gp_modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}-->
<!--{elseif $_G['uid'] && $post['authorid'] == $_G['uid']}-->
<a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_G[gp_extra]&page=$page">{lang postappend}</a>
<!--{/if}-->
<!--{if $post['first'] && $post['invisible'] == -3}-->
<a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
<!--{/if}-->
<!--{if $post['invisible'] == -2 && !$post['first']}-->
<span class="xg1">({lang moderate_need})</span>
<!--{/if}-->
<!--{if $post['first'] && $allowblockrecommend}--><a class="push" href="javascript:;">{lang modmenu_blockrecommend}</a><!--{/if}-->
<!--{hook/viewthread_postfooter $postcount}-->
</em>
</p>
<!--{if $_G['setting']['magicstatus']}-->
<ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
<!--{if $post['first']}-->
<!--{if !empty($_G['setting']['magics']['bump'])}-->
<li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['bump']</a></li>
<!--{/if}-->
<!--{if !empty($_G['setting']['magics']['stick'])}-->
<li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick"><img src="{STATICURL}image/magic/stick.small.gif" />$_G['setting']['magics']['stick']</a></li>
<!--{/if}-->
<!--{if !empty($_G['setting']['magics']['close'])}-->
<li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick"><img src="{STATICURL}image/magic/close.small.gif" />$_G['setting']['magics']['close']</a></li>
<!--{/if}-->
<!--{if !empty($_G['setting']['magics']['open'])}-->
<li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick"><img src="{STATICURL}image/magic/open.small.gif" />$_G['setting']['magics']['open']</a></li>
<!--{/if}-->
<!--{if !empty($_G['setting']['magics']['highlight'])}-->
<li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G['setting']['magics']['highlight']</a></li>
<!--{/if}-->
<!--{if !empty($_G['setting']['magics']['sofa'])}-->
<li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
<!--{/if}-->
<!--{if !empty($_G['setting']['magics']['jack'])}-->
<li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack"><img src="{STATICURL}image/magic/jack.small.gif" />$_G['setting']['magics']['jack']</a></li>
<!--{/if}-->
<!--{hook/viewthread_magic_thread}-->
<!--{/if}-->
<!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply}-->
<li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]_G[tid]" id="a_repent_$post[pid]"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['repent']</a></li>
<!--{/if}-->
<!--{if !empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']}-->
<li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]_G[tid]" id="a_anonymouspost_$post[pid]"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G['setting']['magics']['anonymouspost']</a><li>
<!--{/if}-->
<!--{if !empty($_G['setting']['magics']['namepost'])}-->
<li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]_G[tid]" id="a_namepost_$post[pid]"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G['setting']['magics']['namepost']</a><li>
<!--{/if}-->
<!--{hook/viewthread_magic_post $postcount}-->
</ul>
<script type="text/javascript" reload="1">checkmgcmn('post_$post[pid]')</script>
<!--{/if}-->
</div>
</div>
</td>
</tr>
<!--{/if}-->
<tr class="ad">
<td class="pls"></td>
<td class="plc">
<!--{if $post['first'] && $_G['forum_thread']['replies']}--><!--{ad/interthread/a_p}--><!--{/if}-->
<!--{if $post['first'] && $_G[forum_thread][special] == 5 && $_G[forum_thread][displayorder] >= 0}-->
<ul class="ttp cl">
<li style="display:inline;margin-left:12px"><strong class="bw0 bg0_all">{lang debate_filter}: </strong></li>
<li{if !isset($_G['gp_stand'])} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]" hidefocus="true">{lang all}</a></li>
<li{if $_G['gp_stand'] == 1} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=1" hidefocus="true">{lang debate_square}</a></li>
<li{if $_G['gp_stand'] == 2} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=2" hidefocus="true">{lang debate_opponent}</a></li>
<li{if isset($_G['gp_stand']) && $_G['gp_stand'] == 0} class="xw1 a"{/if}><a href="forum.php?mod=viewthread&tid=$_G[tid]&extra=$_G[gp_extra]&stand=0" hidefocus="true">{lang debate_neutral}</a></li>
</ul>
<!--{/if}-->
</td>
</tr>
</table>
<!--{if !empty($aimgs[$post[pid]])}-->
<script type="text/javascript" reload="1">
aimgcount[{$post[pid]}] = [<!--{echo dimplode($aimgs[$post[pid]]);}-->];
attachimggroup($post['pid']);
<!--{if empty($_G['setting']['lazyload'])}-->
<!--{if !$post['imagelistthumb']}-->
attachimgshow($post[pid]);
<!--{else}-->
attachimgshow($post[pid], 1);
<!--{/if}-->
<!--{/if}-->
<!--{if $post['imagelistthumb']}-->
attachimglstshow($post['pid'], <!--{echo intval($_G['setting']['lazyload'])}-->);
<!--{/if}-->
</script>
<!--{/if}-->
<!--{hook/viewthread_endline $postcount}-->好心人帮帮我 网址 lequ123.net
|