| 
 
   
- 積分
 - 61 
 - 威望
 - 61  
 - 金錢
 - 73  
 - 最後登錄
 - 2012-11-6 
 
  | 
当用户设置了QQ号码时,自动调用其QQ秀; 用户没有设置QQ时,显示默认! 
 
模板管理 -- 找到 : viewthread_node.htm 点 编辑 
 
大约77行 找到:-                         <!--{elseif $post['avatar'] && $showavatars}-->
 
 -                                 <div class="avatar" onmouseover="showauthor(this, 'userinfo$post[pid]')"><a href="space.php?uid=$post[authorid]" target="_blank">$post[avatar]</a></div>
 
 -                         <!--{/if}-->
 
  複製代碼 替换为:-                         <!--{elseif $post['avatar'] && $showavatars}-->
 
 -                                 <div class="avatar" onmouseover="showauthor(this, 'userinfo$post[pid]')"><a href="space.php?uid=$post[authorid]" target="_blank"><!--{if $post['qq']}--><img src="http://qqshow-user.tencent.com/$post['qq']/10/00/" /><!--{else}-->$post[avatar]<!--{/if}--></a></div>
 
 -                         <!--{/if}-->
 
  複製代碼 更新 缓存  / 即可实现如下效果: 
 
 
 
 
 
作者:Adcode 出处: http://no5.imotor.com 
 
原帖地址: http://no5.imotor.com/viewthread ... 1&extra=#pid138 |   
 
- 
1
評分人數 
 
- 
 
 
 
 
 |