SCLUB免費論壇申請-使用者論壇's Archiver

无界 發表於 2013-12-4 23:18

分享贴内左侧会员资料美化代码

先看修改后效果:
[attach]25895[/attach]

不喜勿喷!


修改方法:
1、按图先勾去“帖子内容页”贴内左侧的信息显示,提交。
[attach]25896[/attach]

2、打开viewthread_node.htm模板编辑,找到[code]<p>{eval showstars($post['stars']);}</p>[/code]替换为[code]<!--用户名显示-->
<p class="v_user"><p class="v_atten" style="width:120px; text-align:center;"><a target="_blank" href="space.php?uid=$post['authorid']" style="padding-right:20px">$post[author]</a></p></p>
<!--用户组显示-->
<p class="v_info">职务:&nbsp;&nbsp;<em style="text-decoration:none; color:#FF6600">$post[authortitle]</em></p>
<!--性别显示 -->
<p class="v_info">性别:&nbsp;&nbsp;<em style="text-decoration:none; color:#000000"><!--{if $post['gender'] == 1}-->帅哥<!--{elseif $post['gender'] == 2}-->美女<!--{else}-->未知<!--{/if}--></em></p>
<!--帖子及精华 -->
<p class="v_info">帖子:&nbsp;&nbsp;<em style="text-decoration:none; color:#000000">$post[posts] 篇</em></p>
<p class="v_info">精华:&nbsp;&nbsp;<em style="text-decoration:none; color:#000000">$post[digestposts] 篇</em></p>
<!--失踪判断 -->
<p class="v_info">失踪:<!--{eval $post[offdays] = intval(($timestamp - $post['lastactivity']) / 86400);}-->&nbsp;&nbsp;<em style="text-decoration:none; color:#000000">$post[offdays] 天</em></p>
<!--注册时间 -->
<p class="v_info">注册时间:&nbsp;&nbsp;<em style="text-decoration:none;">$post[regdate]</em></p>
<!--好友互动 -->
<p class="v_info" style="margin-top:5px"><a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" title="{lang add_to_buddylist}" onclick="ajaxmenu(this, 3000);doane(event);">加好友</a> <a href="pm.php?action=new&uid=$post[authorid]" onclick="hideMenu('userinfo$post[pid]');showWindow('sendpm', this.href);return false;" title="{lang send_pm}">打招呼</a> <!--{if $post['qq']}--><a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=$post[qq]&amp;Site=$bbname&amp;Menu=yes" target="_blank" title="Q他(她)一下!">Q 一下</a><!--{/if}--></p>
<!--<p class="v_atten"><a href="my.php?item=buddylist&newbuddyid=$post[authorid]&buddysubmit=yes" target="_blank" id="ajax_buddy_$post['count']" title="{lang add_to_buddylist}" onclick="ajaxmenu(this, 3000);doane(event);">加好友</a></p>-->
            
<p style="display:none">{eval showstars($post['stars']);}</p>[/code]提交即可。

效果预览网址:
[url]http://tlb.258club.com/thread-2183-1-1.html[/url]

superman1024 發表於 2013-12-5 00:42

謝謝樓主熱心分享

luluxiuMUGEN 發表於 2013-12-5 12:07

感谢分享~

有机兔子 發表於 2013-12-10 12:30

感谢分享!

Kloster 發表於 2014-2-1 14:48

[b]回復 [url=http://sclub.com.tw/discuz/redirect.php?goto=findpost&pid=203270&ptid=26317]1#[/url] [i]无界[/i] [/b]


    不错诶!学习了

bluewxs 發表於 2014-2-5 10:13

感谢分享

梅子爱阿政 發表於 2017-8-29 08:18

怎样将多余的管理员去掉?

cjmeyss 發表於 2017-8-29 16:51

感謝分享

4rphotoclub 發表於 2017-8-30 00:28

我也來跟樓主學習呀

天剑先生 發表於 2019-8-13 11:37

感谢分享

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.