本帖最后由 嘉扬哟 于 2013-11-19 23:33 编辑
演示:http://www.zhcne.com/r19011/
打开
viewthread_node.htm
查找
<div class="pi">
<div class="authi"><a href="home.php?mod=space&uid=$post['authorid']" target="_blank" class="xw1">$post[author]</a>$authorverifys</div>
</div>
替换成
<div><table width="100%" class="floot" style="outline: none; border-spacing: 0px; table-layout: fixed; color: rgb(0, 0, 0); font-family: Tahoma; font-size: 12px; line-height: normal; background-color: rgb(249, 249, 249);"><tbody style="outline: none;"><tr class="vt" style="outline: none; vertical-align: top;"><td><div class="authi"><!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]])|| ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity']<= 10800) && !$post['authorinvisible'])}--><!--{if $post['gender'] == 1}--><a class="oni" title="在线" href="home.php?uid=$post['authorid']" style="outline: none; text-decoration: none; color: rgb(51, 51, 51); display: block; height: 16px; line-height: 16px; padding-left: 20px; background-image: url(/static/image/common/online.png); background-position: initial initial; background-repeat: no-repeat no-repeat;">$post[author]</a><!--{elseif $post['gender'] == 2}--><a class="oni" title="在线" href="home.php?uid=$post['authorid']" style="outline: none; text-decoration: none; color: rgb(51, 51, 51); display: block; height: 16px; line-height: 16px; padding-left: 20px; background-image: url(/static/image/common/online.png); background-position: initial initial; background-repeat: no-repeat no-repeat;">$post[author]</a><!--{else}--><a class="oni" title="在线" href="home.php?uid=$post['authorid']" style="outline: none; text-decoration: none; color: rgb(51, 51, 51); display: block; height: 16px; line-height: 16px; padding-left: 20px; background-image: url(/static/image/common/online.png); background-position: initial initial; background-repeat: no-repeat no-repeat;">$post[author]</a><!--{/if}--><!--{else}--><!--{if $post['gender'] == 1}--><a class="oni noo" title="离线" href="home.php?uid=$post['authorid']" style="outline: none; text-decoration: none; color: rgb(51, 51, 51); display: block; height: 16px; line-height: 16px; padding-left: 20px; background-image: url(/static/image/common/online.png); background-position: 0px -16px; background-repeat: no-repeat no-repeat;">$post[author]</a><!--{elseif $post['gender'] == 2}--><a class="oni noo" title="离线" href="home.php?uid=$post['authorid']" style="outline: none; text-decoration: none; color: rgb(51, 51, 51); display: block; height: 16px; line-height: 16px; padding-left: 20px; background-image: url(/static/image/common/online.png); background-position: 0px -16px; background-repeat: no-repeat no-repeat;">$post[author]</a><!--{else}--><a class="oni noo" title="离线" href="home.php?uid=$post['authorid']" style="outline: none; text-decoration: none; color: rgb(51, 51, 51); display: block; height: 16px; line-height: 16px; padding-left: 20px; background-image: url(/static/image/common/online.png); background-position: 0px -16px; background-repeat: no-repeat no-repeat;">$post[author]</a><!--{/if}--><!--{/if}-->$authorverifys</div></a><p style="outline: none; font-weight: normal; text-indent: 20px; color: rgb(153, 153, 153); font-size: 11px;">ZyID:$post[uid]</p></div></td></tr></tbody></table></div>
查找
<div class="tns xg2">
<table cellspacing="0" cellpadding="0">
<th><p><a href="home.php?mod=space&uid=$post[authorid]&do=thread&view=me&from=space" class="xi2"><!--{echo dnumber($post[threads])}--></a></p>{lang threads}</th>
<th>
<!--{if helper_access::check_module('follow')}-->
<p><a href="home.php?mod=follow&do=follower&uid=$post[authorid]" class="xi2"><!--{echo dnumber($post[follower])}--></a></p>{lang follower}
<!--{else}-->
<p><a href="home.php?mod=space&uid=$post[authorid]&do=friend&view=me" class="xi2"><!--{echo dnumber($post[friends])}--></a></p>{lang friends}
<!--{/if}-->
</th>
<td><p><a href="home.php?mod=space&uid=$post[authorid]&do=profile" class="xi2"><!--{echo dnumber($post[credits])}--></a></p>{lang credits}</td>
</table>
</div>
替换成
真服了,这个编辑框有问题,老是出乱码
查找:
- <p><em><a href="home.php?mod=spacecp&ac=usergroup&gid=$post[groupid]" target="_blank">{$post[authortitle]}</a></em></p>
复制代码
替换成:
- <p><strong>等级: </strong><em><a href="home.php?mod=spacecp&ac=usergroup&gid=$post[groupid]" target="_blank"><b>{$post[authortitle]}</b></a></em></p>
复制代码
打开
extend_common.css
在最后添加下面这两段代码
/*头像下资料框*/
.icon-ll{height:27px;padding-top:3px;width:128px;padding-left:20px;margin-left:-4px;background:url(/template/houdao/common/icon-q.png) no-repeat 15px -20px;}
.icon-ll li a{ float:left;width:16px;margin-right:5px;height:17px; background:url(/template/houdao/common/icon-q.png) no-repeat;}
.icon-ll li.icon-msg a{ background-position:0 0;}
.icon-ll li.icon-jia a{ background-position:-26px 0;}
.icon-ll li.icon-zhuye a{ background-position:-124px 1px;}
.icon-ll li.icon-pro a{ background-position:-51px 0;}
.icon-ll li.icon-dj a{ background-position:-74px 0;}
.icon-ll li.icon-qq a{ background-position:-101px 0;}
.icon-ll li a span{ display:none}
.icon-ll li{ display:inline} .oni{ display:block;
height:16px;
line-height:16px;
padding-left:20px;
background:url(/static/image/common/online.png) no-repeat;}.noo{ background-position:0 -16px;}
将图片上传至/static/image/common/
后台更新css和缓存就好了
推荐美化:
Discuz!X 2 X2.5 X3 用户组图标显示男女,按性别显示等级图标
升级进度条 For 积分颜色三段式。DiscuzX2/X2.5/X3 完美支持!
用户组图标【显示在线离线】兼容 DiscuzX2/X2.5/X3 20131031最后更新【免费下载哦】
|