用户头像调用QQ秀,未填写QQ帐号资料的就显示为默认头像 For Discuz 7.x
1.打开viewthread_node.htm找到:<div class="avatar" onmouseover="showauthor(this, 'userinfo$post')"><a href="space.php?uid=$post" target="_blank">$post</a></div>修改为:<!--{if $post['qq']}-->
<div class="avatar" onmouseover="showauthor(this, 'userinfo$post')"><a href="space.php?uid=$post" target="_blank"><img alt=我的QQshow src=http://qqshow-user.tencent.com/$post/10/00/ border=0 align=absmiddle></a></div>
<!--{else}-->
<div class="avatar" onmouseover="showauthor(this, 'userinfo$post')"><a href="space.php?uid=$post" target="_blank">$post</a></div>
<!--{/if}-->
页:
[1]