也懒得卖金币啦,大家要用直接下载吧
我也不外链,也懒得加演示,免得有人说我卖广告
想看演示的点击一下我签名就行了
1. 修改风格下的viewthread.htm文件
如果你没有做过任何修改,查找:-
- <td class="postauthor">
- $post[newpostanchor] $post[lastpostanchor]
- <cite><!--{if $forum['ismoderator']}-->
- <!--{if $allowviewip && ($thread['digest'] >= 0 || !$post['first'])}--><label><a href="topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]" id="ajax_getip_$post[count]" onclick="ajaxmenu(event, this.id, 10000, null, 0)" title="{lang admin_getip}">IP</a></label><!--{/if}-->
- <!--{/if}-->
- <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
- <a href="space.php?uid=$post[authorid]" target="_blank" id="userinfo$post[pid]" class="dropmenu" onmouseover="showMenu(this.id)">$post[author]</a></cite>
- <!--{if $post['nickname']}--><p>$post[nickname]</p><!--{/if}-->
- <!--{if $post['avatar'] && $showavatars}-->
- $post[avatar]
- <!--{/if}-->
- <p><em>$post[authortitle]</em></p>
- <p>{eval showstars($post['stars']);}</p>
- <!--{if $post['customstatus']}--><p class="customstatus">$post[customstatus]</p><!--{/if}-->
- <!--{if $customauthorinfo[1]}--><dl class="profile">{eval @eval('echo "'.$customauthorinfo[1].'";');}</dl><!--{/if}-->
- <!--{if $post['medals']}--><p>
- <!--{loop $post['medals'] $medal}-->
- <img src="images/common/$medal[image]" alt="$medal[name]" />
- <!--{/loop}--></p>
- <!--{/if}-->
- <ul>
- <!--{if $ucappopen['UCHOME']}-->
- <li class="space"><a href="{$uchomeurl}/space.php?uid=$post[authorid]" target="_blank">{lang space}</a></li>
- <!--{elseif $ucappopen['XSPACE']}-->
- <li class="space"><a href="{$xspaceurl}/?uid-$post[authorid]" target="_blank">{lang space}</a></li>
- <!--{/if}-->
- <li class="pm"><a href="###" onclick="pmwin('open', 'uid=$post[authorid]')">{lang send_pm}</a></li>
- <li class="buddy"><a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" onclick="ajaxmenu(event, this.id, 3000, 0)">{lang add_to_buddylist}</a></li>
- <!--{if $vtonlinestatus && $post['authorid']}-->
- <!--{if ($vtonlinestatus == 2 && $onlineauthors[$post[authorid]]) || ($vtonlinestatus == 1 && ($timestamp - $post['lastactivity'] <= 10800) && !$post['invisible'])}-->
- <li class="online">{lang online}
- <!--{else}-->
- <li class="offline">{lang offline}
- <!--{/if}-->
- </li>
- <!--{/if}-->
- </ul>
- <!--{else}-->
- <!--{if !$post['authorid']}-->
复制代码 如果做过修改的话,查找:-
- <td class="postauthor">
- $post[newpostanchor] $post[lastpostanchor]
-
- ..................(中间应该你做的一些美化代码)
-
- <!--{else}-->
- <!--{if !$post['authorid']}-->
复制代码 替换为:-
- <td class="postauthor">
- $post[newpostanchor] $post[lastpostanchor]
- <cite style="border-bottom:0px;"><!--{if $forum['ismoderator']}-->
- <!--{if $allowviewip && ($thread['digest'] >= 0 || !$post['first'])}--><label><a href="topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]" id="ajax_getip_$post[count]" onclick="ajaxmenu(event, this.id, 10000, null, 0)" title="{lang admin_getip}">IP</a></label><!--{/if}-->
- <!--{/if}-->
- <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
- <!--{if $post['gender'] == 1}--><font color="DeepSkyBlue">$post[author]</font><!--{elseif $post['gender'] == 2}--> <font color="#FF1493">$post[author]</font><!--{else}--><font color="SeaGreen">$post[author]</font><!--{/if}--></cite>
- <div align="center">
- <div id="userinfo$post[pid]" onmouseover="showMenu(this.id,false,1)" class="avatar" style="margin-left:-5px;">$post[avatar]</div>
-
- <p>{eval showstars($post['stars']);}</p>
- <div align="left" style="width:176px">
- <p><img src="./images/mini.gif" border="0"> 编号: <font color="#FF0000">№ $post[uid]</font><br>
- <p><img src="./images/mini.gif" border="0"> 组别: <font color="#FF1493">$post[authortitle]</font><br>
- <p><img src="./images/mini.gif" border="0"> {lang posts}: <font color="#0000FF">$post[posts]</font><br>
- <p><img src="./images/mini.gif" border="0"> 金币: <font color="#FF0000">$post[extcredits2]</font><br>
- </div>
- <p align="center">
- <div style="text-align: center; width:160px">
- <fieldset style="padding:2px;border:1px solid #B7B7B7; color:#CC3300; line-height:2.0; font-size:12px;">
- <legend style="color:red; border: 0 solid #000000"> 荣誉勋章 </legend>
- <p><div>
- <!--{if $post['medals']}-->
- <!--{loop $post['medals'] $medal}-->
- <img src="images/common/$medal[image]" alt="$medal[name]" />
- <!--{/loop}-->
- <!--{else}--><font color=blue>还没获得勋章,努力哦!</font><!--{/if}--></div>
- </fieldset>
- </div>
复制代码 同时做了一下勋章美化
2. 继续修改viewthread.htm文件
同样,在你没有做过任何修改或者美化的情况下,查找:
- </td>
- </tr>
- <tr>
- <td class="postauthor">
- <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
- <div class="popupmenu_popup userinfopanel" id="userinfo$post[pid]_menu" style="display: none;">
- <!--{if $post['msn'] || $post['qq'] || $post['icq'] || $post['yahoo'] || $post['taobao']}-->
- <div class="imicons">
- <!--{if $post['msn']}-->
- <a target='_blank' href='http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=$post[msn]&mkt=zh-cn'><img style='border-style: none;' src='http://messenger.services.live.com/users/$post[msn]/presenceimage?mkt=zh-cn' width='16' height='16' /></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>
- <!--{if $post['site']}-->
- <p><a href="$post[site]" target="_blank">{lang member_homepage}</a></p>
- <!--{/if}-->
- <p><a href="space.php?uid=$post[authorid]" target="_blank">{lang member_viewpro}</a></p>
- <!--{if $allowedituser}-->
- <p><a href="{if $adminid == 1}admincp.php?action=members&username=$post[usernameenc]&submit=yes&frames=yes{else}modcp.php?action=members&op=edit&uid=$post[authorid]{/if}" target="_blank">{lang edit_member}</a></p>
- <!--{/if}-->
- <!--{if $allowbanuser}-->
- <p><a href="{if $adminid == 1}admincp.php?action=members&operation=ban&uid=$post[authorid]&membersubmit=yes&frames=yes{else}modcp.php?action=members&op=ban&uid=$post[authorid]{/if}" target="_blank">{lang ban_member}</a></p>
- <!--{/if}-->
- </div>
- <!--{/if}-->
- </td>
- <td class="postcontent">
- <div class="postactions">
复制代码 如果做过美化,则查找:- </td>
- </tr>
- <tr>
- <td class="postauthor">
-
- ......................(你做的一些美化代码)
- </td>
- <td class="postcontent">
- <div class="postactions">
复制代码 替换为:-
- </td>
- </tr>
- <tr>
- <td class="postauthor">
- <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
- <div class="userinfopanel" id="userinfo$post[pid]_menu" style="display: none;width:340px;margin-top:-16px;margin-left:-16px; ">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" align="left">
- <tr>
- <td width="170" valign="top" align="left" style="border-top:0px;">
- $post[avatar]
- <p><a href="space.php?uid=$post[authorid]" target="_blank"><!--{if $post['gender'] == 1}-->
- <font color="DeepSkyBlue">$post[author]</a> (№ $post[uid])</font>
- <!--{elseif $post['gender'] == 2}-->
- <font color="#FF1493">$post[author]</a> (№ $post[uid])</font>
- <!--{else}-->
- <font color="SeaGreen">$post[author]</a> (№ $post[uid])</font>
- <!--{/if}--></p><br />
-
- <p><a href="###" onclick="pmwin('open', 'uid=$post[authorid]')"><img src="images/pmto.gif" border="0"> {lang send_pm}</a> <a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" onclick="ajaxmenu(event, this.id, 3000, 0)"><img src="images/default/user_add.gif" border="0"> {lang add_to_buddylist}</a>
- <p><a href="{$uchomeurl}/space.php?uid=$post[authorid]" target="_blank"><img src="images/default/homelink.gif" border="0"> {lang space}</a>
- <!--{if $allowedituser}--><br><p><img src="images/default/activitysmall.gif" border="0"> <a href="{if $adminid == 1}admincp.php?action=members&username=$post[usernameenc]&submit=yes&frames=yes{else}modcp.php?action=members&op=edit&uid=$post[authorid]{/if}" target="_blank">{lang edit_member}</a><!--{/if}-->
- <!--{if $allowbanuser}--><a href="{if $adminid == 1}admincp.php?action=members&operation=ban&uid=$post[authorid]&membersubmit=yes&frames=yes{else}modcp.php?action=members&op=ban&uid=$post[authorid]{/if}" target="_blank"><img src="images/default/tradesmall.gif" border="0"> {lang ban_member}</a><!--{/if}-->
- <br><br>
- <div align="center">
- <!--{if $vtonlinestatus && $post['authorid']}-->
- <!--{if $timestamp - $post['lastactivity'] <= 10800 && !$post['invisible']}-->
- <!--{if $post[gender] == 1}--> <img src="images/sn-post/male.gif" alt="{lang gender}:{lang male}-{lang online}" border="0">
- <!--{elseif $post[gender] == 2}--> <img src="images/sn-post/female.gif" alt="{lang gender}:{lang female}-{lang online}" border="0">
- <!--{else}--> <img src="images/sn-post/secret.gif" alt="{lang gender}:{lang secret}-{lang online}" border="0">
- <!--{/if}-->
- <!--{else}-->
- <!--{if $post[gender] == 1}--> <img src="images/sn-post/male_offline.gif" alt="{lang gender}:{lang male}-{lang offline}" border="0">
- <!--{elseif $post[gender] == 2}--> <img src="images/sn-post/female_offline.gif" alt="{lang gender}:{lang female}-{lang offline}" border="0">
- <!--{else}--> <img src="images/sn-post/secret_offline.gif" alt="{lang gender}:{lang secret}-{lang offline}" border="0">
- <!--{/if}-->
- <!--{/if}-->
- <!--{/if}-->
- <!--{if $post['msn'] || $post['qq'] || $post['icq'] || $post['yahoo'] || $post['taobao']}-->
- <!--{if $post['msn']}--> <a href="javascript:;" onclick="msnoperate('chat', '$post[msn]')" title="{lang msn_chat}"><img src="{IMGDIR}/msnchat.gif" alt="MSN聊天" /></a><!--{/if}-->
- <!--{if $post['qq']}--> <a href="http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$bbname&Menu=yes" target="_blank" id="qqx_$post[pid]" title="点击即可进行QQ聊天"><img src="{IMGDIR}/qq.gif"></a>
- <!--{/if}-->
- <!--{if $post[qq]}--> <a href="http://new.qzone.qq.com/$post[qq]" target="_blank" title="欢迎光临$post[username]的QQ空间"><img src="images/sn-post/qqzone.gif" border="0"></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}-->
- <!--{/if}-->
- </div>
- </td>
- <td align="left" valign="top" style="border-top:0px;">
- <P><img src="./images/mini.gif" border="0"> 呢称: <!--{if $post['customstatus']}--><font color="#FF0099">$post[nickname]</font><!--{else}-->没有呢称<!--{/if}-->
- <P><img src="./images/mini.gif" border="0"> 头衔: <!--{if $post['customstatus']}--><font color="#0000FF">$post[customstatus]</font><!--{else}-->没有头衔<!--{/if}-->
- <p><img src="./images/mini.gif" border="0"> 威望: <font color="#FF0000">$post[extcredits1]</font>
- <p><img src="./images/mini.gif" border="0"> 金币: <font color="#FF0000">$post[extcredits2]</font>
- <P><img src="./images/mini.gif" border="0"> 在线: <font color="#FF6600">$post[oltime] 小时</font>
- <p><img src="./images/mini.gif" border="0"> 性别: <!--{if $post['gender']==1}--><font color="#0000FF"> 帅哥</font><!--{elseif $post['gender']==2}--><font color="#FF0000"> 美女</font><!--{else}--><font color="#FF3CEF">人妖</font><!--{/if}-->
- <p><img src="./images/mini.gif" border="0"> {lang credits}: <font color="#66FF00">$post[credits]</font>
- <p><img src="./images/mini.gif" border="0"> {lang digest_posts}: <!--{if $post['digestposts']}--><a href="digest.php?authorid=$post[authorid]"><font color="#FF0099">$post[digestposts]</font></a><!--{else}-->$post[digestposts]<!--{/if}-->
- <p><img src="./images/mini.gif" border="0"> 权限: <font color="#FFBF00">$post[readaccess]</font>
- <p><img src="./images/mini.gif" border="0"> {lang regtime}: <font color="#33CCCC">$post[regdate]</font>
- <p><!--{if $post['location']}--><img src="./images/mini.gif" border="0"> {lang location}: <font color="green">$post[location]</font><!--{/if}-->
-
-
- </td>
- </tr>
- </table>
- </div>
- <!--{/if}-->
- </td>
- <td class="postcontent">
- <div class="postactions">
复制代码 3. 后台更新缓存,应该就可以了
已经完美无错了
如果没有做过任何美化的话
我的懒人覆盖包直接可以用
如果因为风格问题
引起头像错位
查找:-
- display: none;width:340px;margin-top:-16px;margin-left:-16px;
复制代码 自己调里面的数字
340px是显示详细信息的框宽度
两个-16px自己慢慢调
调到满意为止
另外BS一下在我论坛上偷了我文件再跑来Discuz说是自己写的某个人
比如说仿7.0头像系统的
跑他论坛一看
还真偷了我不少东西,都是直接下载就使用的 |