个人信息美化 For Discuz6.1.0 qq必填

 更新时间:2008年05月19日 19:33:56   作者:  
个人信息美化!For Discuz6.1.0[修正无法发送短信息与加好友的问题]


3、templates/default/viewthread.htm(模块文件)

①查找: 

代码:
{eval $postcount = 0;}
下面加: 

代码:
<SCRIPT>
<!--
function flip(ud, img) {
if (ud.style.display == "block") {
ud.style.display="none";
img.src = './images/sn-post/qqshow_1.gif';
}else{
ud.style.display="block";
img.src = './images/sn-post/qqshow_2.gif';
}
}
// -->
</SCRIPT>
②查找: 

代码:
                                <td class="postauthor">
                                        $post[newpostanchor] $post[lastpostanchor]
                                        <cite><!--{if $forum['ismoderator']}-->
                                                <!--{if $allowviewip && ($thread['digest'] >= 0 || !$post['first'])}--

><label>
                                 '
                                 '
                              一直到
                                 '
                                 '
                                                <!--{else}-->
                                                        $post[author]</cite>
                                                        {lang member_deleted}
                                                <!--{/if}-->
                                        <!--{/if}-->

                               </td>
改为: 

代码:
                                 {template snshow}
③再查找: 

代码:
<!--{if $post['msn'] || $post['qq'] || $post['icq'] || $post['yahoo'] || $post['taobao']}-->
                                        <div class="imicons">
                                                <!--{if $post['msn']}--><a href="javascript:;" onclick="msnoperate('add', 

'$post[msn]')" title="{lang msn_add}"><img src="{IMGDIR}/msnadd.gif" alt="{lang msn_add}" /></a>
                                                        <a href="javascript:;" onclick="msnoperate('chat', '$post[msn]')" 

title="{lang msn_chat}"><img src="{IMGDIR}/msnchat.gif" alt="{lang msn_chat}" /></a><!--{/if}-->
                                                <!--{if $post['qq']}--><a href="http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]

&Site=$bbname&Menu=yes" target="_blank"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
                                                <!--{if $post['icq']}--><a href="http://wwp.icq.com/scripts/search.dll?

to=$post[icq]" target="_blank"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
                                                <!--{if $post['yahoo']}--><a 

href="http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank"><img src="{IMGDIR}/yahoo.gif" 

alt="Yahoo!"  /></a><!--{/if}-->
                                                <!--{if $post['taobao']}--><script type="text/javascript">document.write('<a 

target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&s=2"><img 

src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a>');</script><!--{/if}-->
                                        </div>
                                        <!--{/if}-->
                                        <dl>{eval @eval('echo "'.$customauthorinfo[2].'";');}</dl>
把以上代码删掉!!


4、上传附件[imgages里的文件]....更新....完成!!!

=============================================================================

有什么问题可加入Discuz!论坛[KBS]交流群:9675645询问

相关文章

最新评论