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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] 很好看的X1 个人信息美化

[复制链接]
lmq1991 发表于 2010-7-6 14:22:39 | 显示全部楼层 |阅读模式
插件发布
插件名称: 很好看的X1 个人信息美化
插件来源:
适用版本: Discuz! X1
语言编码: GBK简体 
最后更新时间:
插件作者: www.1jiayi.com
插件简介: 很好看的X1 个人信息美化www.1jiayi.com




1.这个是默认风格下的个人信息美化。

如果您的不是默认风格请把文件夹下的template/default/forum/show.htm 放到对应的风格文件夹下的forum 文件夹里,
如你的SNS风格,
则把template/default/forum/show.htm
复制到template/sns/forum/show.htm
如果是默认风格的话就之际把 template static 两个文件夹传到论坛跟目录
2.先要修改一下文件,模板文件夹下的forum/viewthread_node.htm

中的75行下面的一大段删掉(请注意备份)
--------------------------------------------------
  1.                 <!--{if $post['authorid'] && $post['username'] && !$post['anonymous']}-->
  2.                         <div>
  3.                         <!--{if $_G['setting']['bannedmessages'] & 2 && (($post['authorid'] && !$post['username']) || ($post['groupid'] == 4 || $post['groupid'] == 5) || ($post['status'] & 1))}-->
  4.                                 <div class="avatar">{lang member_avatar_banned}</div>
  5.                         <!--{elseif $post['avatar'] && $showavatars}-->
  6.                                 <div class="avatar"><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">$post[avatar]</a></div>
  7.                         <!--{/if}-->
  8.                         <!--{if $post[groupicon]}--><p>$post[groupicon]</p><!--{/if}-->
  9.                         <p><em><a href="home.php?mod=spacecp&ac=credit&op=usergroup" target="_blank">{$post[authortitle]}</a></em></p>
  10.                         <!--{if $post['customstatus']}--><p class="xg1">$post[customstatus]</p><!--{/if}-->
  11.                         </div>
  12.                         <p>{eval showstars($post['stars']);}</p>
  13.                         {hook/viewthread_sidetop $post['count']}
  14.                         <!--{if $customauthorinfo[1]}--><dl class="pil cl">{eval @eval('echo "'.$customauthorinfo[1].'";');}</dl><!--{/if}-->
  15.                         <!--{if $post['medals']}--><p>
  16.                                 <!--{loop $post['medals'] $medal}-->
  17.                                 <img src="{STATICURL}image/common/$medal[image]" alt="$medal[name]" title="$medal[name]" />
  18.                                 <!--{/loop}--></p>
  19.                         <!--{/if}-->
  20.                         {hook/viewthread_sidebottom $post['count']}
  21.                 <!--{else}-->
  22.                         <div class="avatar">
  23.                         <!--{if !$post['authorid']}-->
  24.                                 <a href="javascript:;">{lang guest} <em>$post[useip]</em></a>
  25.                         <!--{elseif $post['authorid'] && $post['username'] && $post['anonymous']}-->
  26.                                 <!--{if $_G['forum']['ismoderator']}--><a href="home.php?mod=space&uid=$post[authorid]" target="_blank">{lang anonymous}</a><!--{else}-->{lang anonymous}<!--{/if}-->
  27.                         <!--{else}-->
  28.                                 $post[author] <em>{lang member_deleted}</em>
  29.                         <!--{/if}-->
  30.                         </div>
  31.                 <!--{/if}-->
复制代码
-----------------------------------------------------------------
替换成
-----------------------------------
  1. {subtemplate forum/show}
复制代码
-----------------------------------
3. 把static 文件夹复制到论坛跟目录(如果默认的风格并且前面传过的跳过。)


www.1jiayi.com





本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
heyang5120 发表于 2010-7-6 16:47:46 | 显示全部楼层
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-17 01:31 , Processed in 0.125142 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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