根据8.0主题列表页完美显示作者小头像,有图有演示,申请版主加亮[8-14二次更新] 修改后8.3可用的插件
) ^% b% c, a" _. _, s
; h1 c" L6 y7 ?! E; n& }+ h- D截图效果:$ T) k# [" Y3 u
, R6 J( N( z, z' p7 O+ H
修改template/wind/thread_maincommon.htm* @! x' p) t; H6 `
& w: N/ P, ?' Y O' `
查找 - <li style="list-style-position: outside;">//作者头像小图</li><li style="list-style-position: outside;"> $tufid=$thread['authorid']; </li><li style="list-style-position: outside;"> require_once(R_P.'require/showimg.php'); </li><li style="list-style-position: outside;"> $userdb = $db->get_one("SELECT uid,icon FROM pw_members where uid='$tufid'");</li><li style="list-style-position: outside;"> $userface = str_replace("<img ","<img width='32px' height='32px' ",showfacedesign($userdb['icon']));</li>
复制代码 继续查找 5 R/ r6 a8 c5 S+ V, G
- <td class="author" style="width:120px">作者</td>
复制代码 继续查找 6 s, a5 {* c3 `! m
- <td class="author" style="width:120px"><div style="float:left"><a href="{$db_userurl}$thread[authorid]"target="_blank">$userface</a></div><a href="{$db_userurl}$thread[authorid]" target="_blank">$thread[author]</a><p>$thread[postdate]</p></td>
复制代码
! v `3 z" a4 \# G. Q8 ]5 L# J$ q% Y" g2 E! b$ a+ D
. G4 e3 o& a) [# D2 e
|