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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] 用户信息栏美化与用户组图章整合插件 FOR DZ4.0.0 (已经修改)

[复制链接]
caoyuqing 发表于 2005-12-14 03:44:55 | 显示全部楼层 |阅读模式
用户信息栏美化与用户组图章整合插件 FOR DZ4.0.0

插件作者:海儿
技术支持:网络家园
http://bbs.162e.com

演示:http://bbs.162e.com/viewthread.php?tid=8721&extra=page%3D1

由于时间急 请大家到本站观看演示

找到

templates/default/viewthread.htm


查找
  1. <!--{loop $postlist $post}-->
  2.         <tr><td colspan="2" class="singleborder">$post[newpostanchor] $post[lastpostanchor]</td></tr>
  3.         <tr class="$post[thisbg]" height="100%">
  4.         <td width="21%" valign="top" style="word-break: break-all">
  5.         <!--{if $forum['ismoderator']}-->
  6.                 <!--{if $allowviewip}--><a href="topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]"><img src="{IMGDIR}/ip.gif" border="0" align="right" alt="{lang admin_getip}"></a><!--{/if}-->
  7.         <!--{/if}-->
  8.         <!--{if $post['authorid'] && $post['username']}-->
  9.                 <a href="viewpro.php?uid=$post[authorid]" target="_blank" class="bold">$post[author]</a>
  10.                 <!--{if $post['nickname']}--> <span class="smalltxt">($post[nickname])</span><!--{/if}-->
  11.                 <br><span class="smalltxt">
  12.                 $post[authortitle]
  13.                 <br>{eval showstars($post['stars']);}<br><!--{if $post['customstatus']}-->$post[customstatus]<br><!--{/if}--><br>
  14.                 <!--{if $avatarshowpos == 3 && $post['avatarshow']}-->
  15.                         <center>$post[avatarshow]</center><br>
  16.                 <!--{elseif $post['avatar']}-->
  17.                         <table width="95%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed">
  18.                         <tr><td align="center">$post[avatar]</td></tr></table><br>
  19.                 <!--{else}-->
  20.                         <br><br>
  21.                 <!--{/if}-->
  22.                 <!--{if $post['medals']}-->
  23.                         <!--{loop $post['medals'] $medal}-->
  24.                                 <img src="images/common/$medal[image]" border="0" alt="$medal[name]">   
  25.                         <!--{/loop}-->
  26.                         <br>
  27.                 <!--{/if}-->
  28.                 {lang uid} $post[uid]<br>
  29.                 {lang digest_posts} <!--{if $post['digestposts']}--><a href="digest.php?authorid=$post[authorid]">$post[digestposts]</a><!--{else}-->$post[digestposts]<!--{/if}--><br>
  30.                 {lang credits} $post[credits]<br>
  31.                 {lang posts} $post[posts]<br>
  32.                 <!--{loop $extcredits_thread $key $credit}-->
  33.                         $credit[title] $post[$key] $credit[unit]<br>
  34.                 <!--{/loop}-->
  35.                 {lang readperm} $post[readaccess]<br>
  36.                 {lang regtime} $post[regdate]
  37.                 <!--{loop $_DCACHE['fields_thread'] $field}-->
  38.                         <br>$field[title]
  39.                         <!--{if $field['selective']}-->
  40.                                 $field['choices'][$post['field_'.$field['fieldid']]]
  41.                         <!--{else}-->
  42.                                 $post['field_'.$field['fieldid']]
  43.                         <!--{/if}-->
  44.                 <!--{/loop}-->
  45.                 <!--{if $post['location']}--><br>{lang location} $post[location]<!--{/if}--><br>
  46.                 <!--{if $vtonlinestatus && $post['authorid']}-->
  47.                         <!--{if $timestamp - $post['lastactivity'] <= 10800 && !$post['invisible']}-->
  48.                                 {lang online_status} <b>{lang online}</b>
  49.                         <!--{else}-->
  50.                                 {lang online_status} {lang offline}
  51.                         <!--{/if}-->
  52.                 <!--{/if}-->
复制代码


修改为



  1. <!-- 用户信息栏美化开始 -->
  2. <!-- 插件作者:海儿-->
  3. <!-- 技术支持:网络家园http://bbs.162e.com -->
  4. <!--{loop $postlist $post}-->
  5.         <tr><td colspan="2" class="singleborder">$post[newpostanchor] $post[lastpostanchor]</td></tr>
  6.         <tr class="$post[thisbg]" height="100%">
  7.         <td width="21%" valign="top" style="word-break: break-all">
  8.         <!--{if $forum['ismoderator']}-->
  9.                 <!--{if $allowviewip}--><a href="topicadmin.php?action=getip&fid=$fid&tid=$tid&pid=$post[pid]"><img src="{IMGDIR}/ip.gif" border="0" align="right" alt="{lang admin_getip}"></a><!--{/if}-->
  10.         <!--{/if}-->
  11.         <!--{if $post['authorid'] && $post['username']}-->
  12.                 <a href="viewpro.php?uid=$post[authorid]" target="_blank" class="bold">$post[author]</a>
  13.                 <!--{if $post['nickname']}--> <span class="smalltxt"><br>($post[nickname])</span><!--{/if}-->
  14.                 <br><span class="smalltxt">
  15.                 <!--{if $post['customstatus']}-->$post[customstatus]<br><!--{/if}--><br>
  16.                 <!--{if $avatarshowpos == 3 && $post['avatarshow']}-->
  17.                         <center>$post[avatarshow]</center><br>
  18.                 <!--{elseif $post['avatar']}-->
  19.                         <table width="95%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed">
  20.                         <tr><td align="center">$post[avatar]</td></tr></table><br>
  21.                 <!--{else}-->
  22.                         <br><br>
  23.                 <!--{/if}-->
  24. <center>
  25. <!--{if $post['groupid'] == 1}--><img src="images/common/medal11.gif" border="0" alt="官方管理员" width="140"><br>
  26. <!--{elseif $post['groupid'] == 17}--><img src="images/common/medal12.gif" border="0" alt="荣誉管理员" width="140"><br>
  27. <!--{elseif $post['groupid'] == 2}--><img src="images/common/medal13.gif" border="0" alt="超级斑竹" width="140"><br>
  28. <!--{elseif $post['groupid'] == 16}--><img src="images/common/medal14.gif" border="0" alt="本站嘉宾" width="140"><br>
  29. <!--{elseif $post['groupid'] == 3}--><img src="images/common/medal15.gif" border="0" alt="正式斑竹" width="140"><br>
  30. <!--{elseif $post['groupid'] == 20}--><img src="images/common/medal16.gif" border="0" alt="实习斑竹" width="140"><br>
  31. <!--{elseif $post['groupid'] == 18}--><img src="images/common/medal16.gif" border="0" alt="论坛VIP高级会员" width="140"> <br><!--{/if}-->
  32. </center>
  33. <TABLE cellSpacing=0 cellPadding=0 width=155 align=center
  34.                   border=0>
  35.                     <TBODY>
  36.                     <TR>
  37.                       <TD
  38.                       background="images/pic/kuan03.gif">
  39.                         <TABLE cellSpacing=0 cellPadding=0 border=0>
  40.                           <TBODY>
  41.                           <TR>
  42.                             <TD width=8></TD>
  43.                             <TD
  44.                             background="images/pic/kuan04.gif"><SPAN
  45.                               class=smalltxt><IMG
  46.                               src="images/pic/rb01.gif"
  47.                               width=1>
  48.                 $post[authortitle]
  49.                 <!--{if $credits < 100}-->
  50.                 <IMG src="images/pic/money0.gif" align=absMiddle border=0>
  51.                 <!--{else}-->
  52.                 <IMG src="images/pic/money1.gif" align=absMiddle border=0>
  53.                 <!--{/if}-->

  54.                         </SPAN></TD></TR></TBODY></TABLE></TD></TR>
  55.                     <TR>
  56.                       <TD align=middle
  57.                       background="images/pic/kuan02.gif"
  58.                       bgColor=#f8f8f8>
  59.                         <TABLE cellSpacing=0 cellPadding=0 width="85%"
  60.                         align=center border=0>
  61.                           <TBODY>
  62.                           <TR>
  63.                             <TD>{eval showstars($post['stars']);}</TD>
  64.                             <TD></TD></TR>
  65.                           <TR>
  66.                             <TD colSpan=2>
  67.                 <IMG src="images/pic/icon_1.gif" border=0>{lang uid} $post[uid]<br>
  68.                 <IMG src="images/pic/icon_2.gif" border=0>{lang digest_posts} <!--{if $post['digestposts']}--><a href="digest.php?authorid=$post[authorid]">$post[digestposts]</a><!--{else}-->$post[digestposts]<!--{/if}--><br>
  69.                 <IMG src="images/pic/icon_1.gif" border=0>{lang credits} $post[credits]<br>
  70.                 <IMG src="images/pic/icon_2.gif" border=0>{lang posts} $post[posts]<br>
  71.                 <!--{loop $extcredits_thread $key $credit}-->
  72.                 <IMG src="images/pic/icon_1.gif" border=0>$credit[title] $post[$key] $credit[unit]<br>
  73.                 <!--{/loop}-->
  74.                 <IMG src="images/pic/icon_2.gif" border=0>{lang readperm} $post[readaccess]<br>
  75.                 <IMG src="images/pic/icon_1.gif" border=0>{lang regtime} $post[regdate]
  76.                 <!--{loop $_DCACHE['fields_thread'] $field}-->
  77.                         <br>$field[title]
  78.                         <!--{if $field['selective']}-->
  79.                                 $field['choices'][$post['field_'.$field['fieldid']]]
  80.                         <!--{else}-->
  81.                                 $post['field_'.$field['fieldid']]
  82.                         <!--{/if}-->
  83.                 <!--{/loop}-->
  84.                
  85.                 <!--{if $vtonlinestatus && $post['authorid']}-->
  86.                         <!--{if $timestamp - $post['lastactivity'] <= 10800 && !$post['invisible']}-->
  87.                                 <br><IMG src="images/pic/icon_2.gif" border=0>{lang online_status} <IMG src="images/pic/online.gif">
  88.                         <!--{else}-->
  89.                                 <br><IMG src="images/pic/icon_2.gif" border=0>{lang online_status} <IMG src="images/pic/offline.gif">
  90.                         <!--{/if}-->
  91.                 <!--{/if}-->
  92.                 </td></tr></table></td></tr><tr><td><IMG height="4" src="images/pic/kuan01.gif" width="155"></td></tr></table>
  93. <!-- 插件作者:海儿 -->
  94. <!-- 技术支持:网络家园http://bbs.162e.com -->
  95. <!--{if $post['medals']}-->               
  96. <table width="155" border="0" align="center" cellpadding="0" cellspacing="0">
  97. <tr><td background="images/pic/kuan03.gif">
  98. <table cellSpacing=0 cellPadding=0 border=0><tr><td width=8></td>
  99. <td background="kuan04.gif" height=15>
  100. <span class="smalltxt"><IMG src="images/pic/rb01.gif" width="1">
  101. <font color=red>荣誉勋章</font>
  102. </span></td></tr></table></td></tr>
  103. <tr><td background="images/pic/kuan02.gif" bgColor=#f8f8f8 align=middle >
  104. <table width="100%" border="0" cellspacing="0" cellpadding="3">
  105. <tr><td class="row1" align="center">
  106.                         <!--{loop $post['medals'] $medal}-->
  107.                                 <img src="images/common/$medal[image]" border="0" alt="$medal[name]">   
  108.                         <!--{/loop}-->
  109. </td></tr></table></td></tr>
  110.   <tr><td><IMG height=4 src="images/pic/kuan01.gif" width=155></td></tr>
  111. <TR><TD height=10>
  112. </TD></TR></table>
  113. <!--{/if}-->
  114. <!-- 用户信息栏美化结束 -->
复制代码

最后上传附件到论坛根目录

[ 本帖最后由 caoyuqing 于 2005-12-14 09:31 编辑 ]
Trangerinfo 发表于 2005-12-14 04:09:03 | 显示全部楼层
沙发支持~~好东西·~
回复

使用道具 举报

wptang 发表于 2005-12-14 05:41:20 | 显示全部楼层
有一个问题啊  美化后信息栏两侧占很宽   怎么修改?

[ 本帖最后由 wptang 于 2005-12-14 05:43 编辑 ]
回复

使用道具 举报

爱雨冷雪 发表于 2005-12-14 06:06:50 | 显示全部楼层
已经有人发过了.
回复

使用道具 举报

kaiwong1020 发表于 2005-12-14 07:36:39 | 显示全部楼层
不好看...........................
回复

使用道具 举报

wptang 发表于 2005-12-14 07:54:55 | 显示全部楼层
难道就没人能回答我的问题……?
回复

使用道具 举报

 楼主| caoyuqing 发表于 2005-12-14 09:13:14 | 显示全部楼层
修改完了
回复

使用道具 举报

33201 发表于 2005-12-15 09:54:59 | 显示全部楼层
还不错啦。
回复

使用道具 举报

如如何 发表于 2005-12-16 22:24:30 | 显示全部楼层
真的不好看
我认为
回复

使用道具 举报

FujiwaraSai 发表于 2005-12-16 22:36:00 | 显示全部楼层
这样修改太浪费啦

完全可以用div+css实现
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-18 20:11 , Processed in 0.168772 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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