SoFunction
Updated on 2025-04-13

Personal information beautification For Discuz6.1.0 qq requires page 2/2



3. templates/default/(module file)

①Search:

Code:
{eval $postcount = 0;}
Add below:

Code:
<SCRIPT>
<!--
function flip(ud, img) {
if ( == "block") {
="none";
 = './images/sn-post/qqshow_1.gif';
}else{
="block";
 = './images/sn-post/qqshow_2.gif';
}
}
// -->
</SCRIPT>
②Search:

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

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

                               </td>
Change to:

Code:
                                 {template snshow}
③Search again:

Code:
<!--{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}/" alt="{lang msn_add}" /></a>
                                                        <a href="javascript:;" onclick="msnoperate('chat', '$post[msn]')" 

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

&Site=$bbname&Menu=yes" target="_blank"><img src="{IMGDIR}/" alt="QQ" /></a><!--{/if}-->
                                                <!--{if $post['icq']}--><a href="/scripts/?

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

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

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

target="_blank" href="/?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&s=2"><img 

src="{IMGDIR}/" alt="{lang taobao}" /></a>');</script><!--{/if}-->
                                        </div>
                                        <!--{/if}-->
                                        <dl>{eval @eval('echo "'.$customauthorinfo[2].'";');}</dl>
Delete the above code!!


4. Upload attachment [file in imgages]...update...complete!!!

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

If you have any questions, please join the Discuz! Forum [KBS] exchange group: 9675645 for inquiries
Previous page12Read the full text