Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] 个人信息美化 for Discuz! X 6-14日更新!

[复制链接]
北北℃ 发表于 2010-5-11 11:52:46 | 显示全部楼层 |阅读模式
插件发布
插件名称: 个人信息美化 for Discuz! X
插件来源:
适用版本: Discuz! X1
语言编码: GBK简体 
最后更新时间:
插件作者: 忘记了,我就是升级了一下,
插件简介: 用了你就知道了,就是把个人信息换了呗
本帖最后由 北北℃ 于 2010-6-14 18:00 编辑

呵呵,喜欢的就用了试试咯!
演示地址:http://www.fansbar.cn
先看看效果呗




说明下哦,★粉丝吧★有你更精彩 这几个字   加入是你自己的帖子则显示这个,若不是则显示发消息,加好友(如果你们是好友了,则显示解除好友关系)!
下面是修改方法,只提供手动修改,不提供覆盖包,嘿嘿,自己动手丰衣足食!

就修改一个文件,打开 template/default/forum/viewthread_node.htm  找到
  1.                 $post[newpostanchor] $post[lastpostanchor]
  2.                 <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
  3.                         <!--{if $_G['setting']['authoronleft']}-->
  4.                                 <div class="pi">
  5.                                         <a target="_blank" href="home.php?mod=space&uid=$post['authorid']" style="margin-left: 20px; font-weight: 700">$post[author]</a>
  6.                                 </div>
  7.                         <!--{/if}-->
  8.                 <div class="p_pop blk bui" id="userinfo$post[pid]" style="display: none; {if $_G['setting']['authoronleft']}margin-top: -11px;{/if}">
  9.                         <div class="m z">
  10.                                 <div id="userinfo$post[pid]_ma"></div>
  11.                                 <ul>
  12.                                         <li class="pm2"><a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_$post[authorid]&touid=$post[authorid]&pmid=0&daterange=2&pid=$post[pid]" title="{lang send_pm}">{lang send_pm}</a></li>
  13.                                         <!--{if $post[authorid] != $_G[uid]}-->
  14.                                                 <!--{if !in_array($post[authorid], $friends)}-->
  15.                                                         <li class="buddy"><a href="home.php?mod=spacecp&ac=friend&op=add&uid=$post[authorid]&handlekey=addfriendhk_{$post[authorid]}" id="a_friend_li_{$post[pid]}">{lang add_to_buddylist}</a></li>
  16.                                                 <!--{else}-->
  17.                                                         <li class="buddy"><a href="home.php?mod=spacecp&ac=friend&op=ignore&uid=$post[authorid]&handlekey=addfriendhk_{$post[authorid]}" id="a_friend_li_{$post[pid]}">解除好友关系</a></li>
  18.                                                 <!--{/if}-->
  19.                                         <!--{/if}-->
  20.                                 </ul>
  21.                                 <!--{if $_G['setting']['magicstatus']}-->
  22.                                         <!--{if !empty($_G['setting']['magics']['showip'])}-->
  23.                                                 <img src="{STATICURL}/image/magic/showip.small.gif" class="vm" /> <a href="home.php?mod=magic&mid=showip&idtype=user&id={echo rawurlencode($post[author])}" id="a_showip_li_{$post[pid]}">$_G['setting']['magics']['showip']</a><br />
  24.                                         <!--{/if}-->
  25.                                         <!--{if !empty($_G['setting']['magics']['checkonline']) && $post['authorid'] != $_G['uid']}-->
  26.                                                 <img src="{STATICURL}/image/magic/checkonline.small.gif" class="vm" /> <a href="home.php?mod=magic&mid=checkonline&idtype=user&id={echo rawurlencode($post[author])}" id="a_repent_$post[pid]">$_G['setting']['magics']['checkonline']</a><br />
  27.                                         <!--{/if}-->
  28.                                 <!--{/if}-->
  29.                                 {hook/viewthread_profileside $post['count']}
  30.                         </div>
  31.                         <div class="i y">
  32.                                 <div>
  33.                                         <strong><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$post[author]</a></strong>
  34.                                         <!--{if $_G['setting']['vtonlinestatus'] && $post['authorid']}-->
  35.                                                 <!--{if ($_G['setting']['vtonlinestatus'] == 2 && $_G[forum_onlineauthors][$post[authorid]]) || ($_G['setting']['vtonlinestatus'] == 1 && (TIMESTAMP - $post['lastactivity'] <= 10800) && !$post['invisible'])}-->
  36.                                                         <em>{lang online}
  37.                                                 <!--{else}-->
  38.                                                         <em>{lang offline}
  39.                                                 <!--{/if}-->
  40.                                                 </em>
  41.                                         <!--{/if}-->
  42.                                 </div>
  43.                                 <dl class="cl">{eval @eval('echo "'.$customauthorinfo[2].'";');}</dl>
  44.                                 <div class="imicn">
  45.                                         <!--{if $post['qq']}--><a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=$post[qq]&amp;Site=$_G['setting']['bbname']&amp;Menu=yes" target="_blank" title="QQ"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
  46.                                         <!--{if $post['icq']}--><a href="http://wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank" title="ICQ"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
  47.                                         <!--{if $post['yahoo']}--><a href="http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank" title="Yahoo"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!"  /></a><!--{/if}-->
  48.                                         <!--{if $post['taobao']}--><a href="javascript:;" title="{lang taobao}"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a><!--{/if}-->
  49.                                         <!--{if $post['site']}--><a href="$post[site]" target="_blank" title="{lang member_homepage}"><img src="{IMGDIR}/forumlink.gif" alt="{lang member_homepage}"  /></a><!--{/if}-->
  50.                                         <a href="home.php?mod=space&uid=$post[authorid]" target="_blank" title="{lang member_viewpro}"><img src="{IMGDIR}/userinfo.gif" alt="{lang member_viewpro}"  /></a>
  51.                                         {hook/viewthread_imicons $post['count']}                                       
  52.                                 </div>
  53.                                 <div id="avatarfeed"><span id="threadsortswait"></span></div>
  54.                         </div>
  55.                 </div>
  56.                 <!--{/if}-->
  57.                 <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
  58.                         <div>
  59.                         <!--{if $_G['setting']['bannedmessages'] & 2 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))}-->
  60.                                 <div class="avatar">{lang member_avatar_banned}</div>
  61.                         <!--{elseif $post['avatar'] && $showavatars}-->
  62.                                 <div class="avatar"><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$post[avatar]</a></div>
  63.                         <!--{/if}-->
  64.                         <!--{if $post[groupicon]}--><p>$post[groupicon]</p><!--{/if}-->
  65.                         <p><em><a href="home.php?mod=spacecp&ac=credit&op=usergroup" target="_blank">{$post[authortitle]}</a></em></p>
  66.                         <!--{if $post['customstatus']}--><p class="xg1">$post[customstatus]</p><!--{/if}-->
  67.                         </div>
  68.                         <p>{eval showstars($post['stars']);}</p>
  69.                         {hook/viewthread_sidetop $post['count']}
  70.                         <!--{if $customauthorinfo[1]}--><dl class="pil cl">{eval @eval('echo "'.$customauthorinfo[1].'";');}</dl><!--{/if}-->
  71.                         <!--{if $post['medals']}--><p>
  72.                                 <!--{loop $post['medals'] $medal}-->
  73.                                 <img src="{STATICURL}image/common/$medal[image]" alt="$medal[name]" title="$medal[name]" />
  74.                                 <!--{/loop}--></p>
  75.                         <!--{/if}-->
  76.                         {hook/viewthread_sidebottom $post['count']}
  77.                 <!--{else}-->
  78.                         <div class="avatar">
  79.                         <!--{if !$post['authorid']}-->
  80.                                 <a href="javascript:;">{lang guest} <em>$post[useip]</em></a>
  81.                         <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
  82.                                 <!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}-->
  83.                         <!--{else}-->
  84.                                 $post[author] <em>{lang member_deleted}</em>
  85.                         <!--{/if}-->
  86.                         </div>
  87.                 <!--{/if}-->
  88.                 <!--{if $_G['group']['allowedituser'] || $_G['group']['allowbanuser'] || ($_G['forum']['ismoderator'] && $_G['group']['allowviewip'] && ($_G['forum_thread']['digest'] >= 0 || !$post['first']))}-->
  89.                         <p>
  90.                                 <!--{if $_G['forum']['ismoderator'] && $_G['group']['allowviewip'] && ($_G['forum_thread']['digest'] >= 0 || !$post['first'])}-->
  91.                                         <a href="forum.php?mod=topicadmin&action=getip&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]" title="{lang admin_getip}">IP</a>&nbsp;
  92.                                 <!--{/if}-->
  93.                                 <!--{if $_G['group']['allowedituser']}-->
  94.                                         <a href="{if $_G['adminid'] == 1}admin.php?frames=yes&action=members&operation=search&uid=$post[authorid]&submit=yes{else}forum.php?mod=modcp&action=members&op=edit&uid=$post[authorid]{/if}" target="_blank">{lang edit}</a>&nbsp;
  95.                                 <!--{/if}-->
  96.                                 <!--{if $_G['group']['allowbanuser']}-->
  97.                                         <!--{if $_G['adminid'] == 1}-->
  98.                                                 <a href="admin.php?action=members&operation=ban&username=$post[usernameenc]&frames=yes" target="_blank">{lang ban_member}</a>&nbsp;
  99.                                         <!--{else}-->
  100.                                                 <a href="forum.php?mod=modcp&action=members&op=ban&uid=$post[authorid]" target="_blank">{lang ban_member}</a>&nbsp;
  101.                                         <!--{/if}-->
  102.                                 <!--{/if}-->
  103.                                 <a href="forum.php?mod=modcp&action=thread&op=post&do=search&searchsubmit=1&users=$post[usernameenc]" target="_blank">{lang posts}</a>
  104.                         </p>
  105.                 <!--{/if}-->
复制代码
替换为
  1. {subtemplate forum/show}
复制代码
还有就是没有了修改完毕了....{:3_45:}

下载附件,上传到对应目录  然后更新缓存,一定要更新哦{:3_47:}



3385408 发表于 2010-5-11 12:22:41 | 显示全部楼层
回复

使用道具 举报

3385408 发表于 2010-5-11 12:23:28 | 显示全部楼层
没钱买
回复

使用道具 举报

ilei365 发表于 2010-5-11 12:49:34 | 显示全部楼层
不错。。。。。。。
回复

使用道具 举报

clothos 发表于 2010-5-11 13:29:12 | 显示全部楼层
很不粗呢!!
回复

使用道具 举报

qqgms.com 发表于 2010-5-11 21:03:26 | 显示全部楼层
(EM:166:)
回复

使用道具 举报

myhong 发表于 2010-5-11 22:05:00 | 显示全部楼层
这么快就出来了呀
回复

使用道具 举报

hqu 发表于 2010-5-11 22:40:54 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

kart555 发表于 2010-5-12 11:17:02 | 显示全部楼层
ssssssssssssssss
回复

使用道具 举报

Easry 发表于 2010-5-12 14:37:54 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-17 02:44 , Processed in 0.121698 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表