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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] 【完美修正】超漂亮的DZ个人信息美化插件 为Discuz!x2.5

[复制链接]
xiaowang10gg 发表于 2012-8-13 19:33:21 | 显示全部楼层 |阅读模式
插件发布
插件名称: 超漂亮的DZ个人信息美化插件
插件来源: 二次修改他人插件
适用版本: Discuz! X2.5
语言编码: GBK简体 
最后更新时间: 2012-08-13
插件作者: 55625
插件简介: 超漂亮的DZ个人信息美化插件
本帖最后由 风乱流年 于 2012-9-18 15:59 编辑

之前的很多和此贴一样的帖,但是存在很多问题,在此一一列出,全部经过测试(请放心使用

b.466u.com求个IP

压缩包内文件:
1.forum文件夹(包含:viewthread_node.htm ,viewthread_user.htm 两个文件 )
2.美化图片文件夹
3.和模版匹配的用户组等级图片文件夹
---------------------------------------------------------------------
修改方法如下:
1.首先修改个人信息栏的宽度
打开 template/使用中的模板/common/module.css 查找 .pls 类定义 将 width: 160px; 修改为: width: 181px; 保存上传更新缓存。
2.将压缩包内forum里面两个HTM文件:
viewthread_node.htm
viewthread_user.htm
上传至:/template/当前模板目录/forum/ 目录更新缓存。
3.上传美化图片文件夹里的所有图片到 static/image/common目录下
4.最后上传用户组等级图片文件夹里的所有图片到static/image/common目录下 或自定义的路径下

图片演示:

演示地址:http://b.466u.com/forum.php?mod=viewthread&tid=558


备注数据如下:
<1>钻石、贡献位置改变:
修改viewthread_user.htm文件,搜索extcredits,得到:

  1.         <li><strong>经验:</strong><span> $post[extcredits4] 点</span></li>
  2.             <li><strong>银两:</strong><span> $post[extcredits1] 枚</span></li>
  3.             <li><strong>贡献:</strong><span> $post[extcredits3] 次</span></li>
  4. 依照论坛设定即可更改
复制代码
<2>名片上方颜色无法显示更改(原因是因为用户组不匹配)

修改viewthread_user.htm文件,搜索<div id="vwuser">

  1. <!--{if $post['groupid'] ==  X   }-->X为用户组uid
  2. <!--{elseif $post['groupid']>=10 && $post['groupid']<=25 }-->    >=10  <=25为用户组大于等于10小于等于15中间的用户组
  3. 其中的groupidX于最上方

  4. #vwuser h3#groupida{ width:181px; height:37px; line-height:37px; text-align:center; background:url({IMGDIR}/user_topicoa.jpg) no-repeat}
  5. 匹配
复制代码
<3>论坛等级图标更改
搜索h4,将

  1.    <h4 {if $post['upgradecredit'] !== false} id="g_up$post[pid]"{/if}>
  2.     <!--{if $post[groupicon]}-->$post[groupicon]<!--{/if}-->
  3.     </h4>
  4.     <!--{if $post['upgradecredit'] !== false}-->
  5.     <div id="g_up$post[pid]_menu" class="tip tip_4" style="display: none;">
  6.      <div class="tip_horn"></div>
  7.      <div class="tip_c">$post['authortitle'], {lang credits} $post['credits'], {lang thread_groupupgrade} $post['upgradecredit'] {lang credits}</div>
  8.     </div>
  9.    <!--{/if}-->
复制代码
替换为

  1.    <h4 {if $post['upgradecredit'] !== false} id="g_up$post[pid]"{/if}><!--{eval showstars($post['stars']);}--></p>
  2.    <!--{if $post['upgradecredit'] !== false}-->
  3.     </h4>
  4.     <div id="g_up$post[pid]_menu" class="tip tip_4" style="display: none;">
  5.      <div class="tip_horn"></div>
  6.      <div class="tip_c">$post['authortitle'], {lang credits} $post['credits'], {lang thread_groupupgrade} $post['upgradecredit'] {lang credits}</div>
  7.     </div>
  8.    <!--{/if}-->
复制代码
<4>如何缩短(删除)不需要的
1、删除 主题好友积分:
  1.     <div id="vwuserBg">
  2.     <div class="tns xg2">
  3. <table cellspacing="0" cellpadding="0">
  4. <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>
  5. <th>
  6. <!--{if helper_access::check_module('follow')}-->
  7. <p><a href="home.php?mod=follow&do=follower&uid=$post[authorid]" class="xi2"><!--{echo dnumber($post[follower])}--></a></p>{lang follower}
  8. <!--{else}-->
  9. <p><a href="home.php?mod=space&uid=$post[authorid]&do=friend&view=me" class="xi2"><!--{echo dnumber($post[friends])}--></a></p>{lang friends}
  10. <!--{/if}-->
  11. </th>
  12. <td><p><a href="home.php?mod=space&uid=$post[authorid]&do=profile" class="xi2"><!--{echo dnumber($post[credits])}--></a></p>{lang credits}</td>
  13. </table>
  14. </div>
复制代码
删除此段
2、删除徽章

  1. <!--{if $post['medals']}-->
  2. <h5><img src="{IMGDIR}/user_rongyu.jpg" /></h5>
  3.     <ul id="xunzhang">
  4.         <!--{loop $post['medals'] $medal}-->
  5.         <img src="{STATICURL}image/common/$medal[image]" alt="$medal[name]" title="$medal[name]" />
  6.         <!--{/loop}-->
  7.     </ul>
  8. <!--{else}-->
  9. <!--{/if}-->
复制代码
删除此段
3、删除经验条
  1. <div id="jingyan">
  2. <ul>
  3. <!--{if $post[posts]<10}-->
  4. <img width=1 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯加油加油><img width=6 src="{IMGDIR}/hp.gif" height=12>
  5. <!--{elseif $post[posts]<100}-->
  6. <img width=2 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯哎哟哎哟><img width=6 src="{IMGDIR}/hp.gif" height=12>
  7. <!--{elseif $post[posts]<200}-->
  8. <img width=3 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快4级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  9. <!--{elseif $post[posts]<300}-->
  10. <img width=4 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快5级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  11. <!--{elseif $post[posts]<400}-->
  12. <img width=6 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快6级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  13. <!--{elseif $post[posts]<500}-->
  14. <img width=8 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快7级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  15. <!--{elseif $post[posts]<600}-->
  16. <img width=10 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快8级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  17. <!--{elseif $post[posts]<700}-->
  18. <img width=12 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快9级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  19. <!--{elseif $post[posts]<800}-->
  20. <img width=14 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯马上就要文坛巨匠咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  21. <!--{elseif $post[posts]<900}-->
  22. <img width=16 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯文坛巨匠了不起哦><img width=6 src="{IMGDIR}/hp.gif" height=12>
  23. <!--{elseif $post[posts]<1000}-->
  24. <img width=18 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快12级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  25. <!--{elseif $post[posts]<1500}-->
  26. <img width=20 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快13级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  27. <!--{elseif $post[posts]<2000}-->
  28. <img width=25 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快14级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  29. <!--{elseif $post[posts]<2500}-->
  30. <img width=30 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快15级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  31. <!--{elseif $post[posts]<3000}-->
  32. <img width=35 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快16级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  33. <!--{elseif $post[posts]<3500}-->
  34. <img width=40 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快17级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  35. <!--{elseif $post[posts]<4000}-->
  36. <img width=45 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快18级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  37. <!--{elseif $post[posts]<4500}-->
  38. <img width=50 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快19级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  39. <!--{elseif $post[posts]<5000}-->
  40. <img width=55 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯马上就要做水神了啊><img width=6 src="{IMGDIR}/hp.gif" height=12>
  41. <!--{elseif $post[posts]<5500}-->
  42. <img width=60 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯水神啊!><img width=6 src="{IMGDIR}/hp.gif" height=12>
  43. <!--{elseif $post[posts]<6000}-->
  44. <img width=65 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快22级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  45. <!--{elseif $post[posts]<6500}-->
  46. <img width=70 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快23级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  47. <!--{elseif $post[posts]<7000}-->
  48. <img width=75 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快24级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  49. <!--{elseif $post[posts]<7500}-->
  50. <img width=80 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快25级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  51. <!--{elseif $post[posts]<8000}-->
  52. <img width=85 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快26级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  53. <!--{elseif $post[posts]<8500}-->
  54. <img width=90 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快27级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  55. <!--{elseif $post[posts]<9000}--><img width=120 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快28级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  56. <!--{elseif $post[posts]<9800}-->
  57. <img width=95 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快29级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  58. <!--{elseif $post[posts]<15000}-->
  59. <img width=100 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯马上就可以当水龙王了啊><img width=6 src="{IMGDIR}/hp.gif" height=12>
  60. <!--{elseif $post[posts]<20000}-->
  61. <img width=104 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯水龙王非你莫属><img width=6 src="{IMGDIR}/hp.gif" height=12>
  62.       <!--{/if}-->
  63.       </ul>
  64.             </div>
复制代码
删除此段
<5>修改发帖等级
  1. <div id="jingyan">
  2. <ul>
  3. <!--{if $post[posts]<10}-->
  4. <img width=1 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯加油加油><img width=6 src="{IMGDIR}/hp.gif" height=12>
  5. <!--{elseif $post[posts]<100}-->
  6. <img width=2 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯哎哟哎哟><img width=6 src="{IMGDIR}/hp.gif" height=12>
  7. <!--{elseif $post[posts]<200}-->
  8. <img width=3 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快4级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  9. <!--{elseif $post[posts]<300}-->
  10. <img width=4 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快5级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  11. <!--{elseif $post[posts]<400}-->
  12. <img width=6 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快6级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  13. <!--{elseif $post[posts]<500}-->
  14. <img width=8 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快7级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  15. <!--{elseif $post[posts]<600}-->
  16. <img width=10 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快8级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  17. <!--{elseif $post[posts]<700}-->
  18. <img width=12 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快9级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  19. <!--{elseif $post[posts]<800}-->
  20. <img width=14 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯马上就要文坛巨匠咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  21. <!--{elseif $post[posts]<900}-->
  22. <img width=16 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯文坛巨匠了不起哦><img width=6 src="{IMGDIR}/hp.gif" height=12>
  23. <!--{elseif $post[posts]<1000}-->
  24. <img width=18 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快12级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  25. <!--{elseif $post[posts]<1500}-->
  26. <img width=20 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快13级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  27. <!--{elseif $post[posts]<2000}-->
  28. <img width=25 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快14级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  29. <!--{elseif $post[posts]<2500}-->
  30. <img width=30 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快15级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  31. <!--{elseif $post[posts]<3000}-->
  32. <img width=35 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快16级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  33. <!--{elseif $post[posts]<3500}-->
  34. <img width=40 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快17级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  35. <!--{elseif $post[posts]<4000}-->
  36. <img width=45 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快18级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  37. <!--{elseif $post[posts]<4500}-->
  38. <img width=50 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快19级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  39. <!--{elseif $post[posts]<5000}-->
  40. <img width=55 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯马上就要做水神了啊><img width=6 src="{IMGDIR}/hp.gif" height=12>
  41. <!--{elseif $post[posts]<5500}-->
  42. <img width=60 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯水神啊!><img width=6 src="{IMGDIR}/hp.gif" height=12>
  43. <!--{elseif $post[posts]<6000}-->
  44. <img width=65 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快22级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  45. <!--{elseif $post[posts]<6500}-->
  46. <img width=70 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快23级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  47. <!--{elseif $post[posts]<7000}-->
  48. <img width=75 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快24级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  49. <!--{elseif $post[posts]<7500}-->
  50. <img width=80 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快25级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  51. <!--{elseif $post[posts]<8000}-->
  52. <img width=85 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快26级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  53. <!--{elseif $post[posts]<8500}-->
  54. <img width=90 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快27级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  55. <!--{elseif $post[posts]<9000}--><img width=120 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快28级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  56. <!--{elseif $post[posts]<9800}-->
  57. <img width=95 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯快29级咯><img width=6 src="{IMGDIR}/hp.gif" height=12>
  58. <!--{elseif $post[posts]<15000}-->
  59. <img width=100 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯马上就可以当水龙王了啊><img width=6 src="{IMGDIR}/hp.gif" height=12>
  60. <!--{elseif $post[posts]<20000}-->
  61. <img width=104 height=12 src={IMGDIR}/orange.gif title=已经发了$post[posts]篇文章咯水龙王非你莫属><img width=6 src="{IMGDIR}/hp.gif" height=12>
  62.       <!--{/if}-->
  63.       </ul>
  64.             </div>
复制代码
每段开头的<!--{elseif $post[posts]<XXXX}-->XXX为发帖达到某数升到XXX级别(于论坛级别无关)


[b.466u.com精品修改插件]
帖子美化——漫画框!for X2.5、X2!
【完美修正】超漂亮的DZ个人信息美化插件 为Discuz!x2.5

本帖子中包含更多资源

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

x
 楼主| xiaowang10gg 发表于 2012-8-13 19:33:45 | 显示全部楼层
占位更改~~~~~~~~
回复

使用道具 举报

请你务必牢记 发表于 2012-8-13 19:39:50 | 显示全部楼层
{:soso__3943448463613330755_3:}{:soso__16984349925490629196_1:}
回复

使用道具 举报

 楼主| xiaowang10gg 发表于 2012-8-13 20:45:48 | 显示全部楼层
名片修改方法公布!!!!
回复

使用道具 举报

独1无2_不毁的爱 发表于 2012-8-13 20:58:08 | 显示全部楼层
看贴回贴能拿分。为什么不回?你说呢
回复

使用道具 举报

 楼主| xiaowang10gg 发表于 2012-8-13 21:01:51 | 显示全部楼层
论坛的等级图标替换发布~~~~~~~
回复

使用道具 举报

风乱流年 发表于 2012-8-13 21:02:48 | 显示全部楼层
泛滥了。。。。
回复

使用道具 举报

 楼主| xiaowang10gg 发表于 2012-8-13 21:03:42 | 显示全部楼层
风乱流年 发表于 2012-8-13 21:02
泛滥了。。。。

之前很多都有很多不完善,现在修正了
回复

使用道具 举报

风乱流年 发表于 2012-8-13 21:04:37 | 显示全部楼层
xiaowang10gg 发表于 2012-8-13 21:03
之前很多都有很多不完善,现在修正了

最好把帖子编辑的好看点,代码用CODE编辑下,方便新手
回复

使用道具 举报

 楼主| xiaowang10gg 发表于 2012-8-13 21:08:22 | 显示全部楼层
风乱流年 发表于 2012-8-13 21:04
最好把帖子编辑的好看点,代码用CODE编辑下,方便新手

哦,好了~~~~~
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-6-19 03:01 , Processed in 0.119990 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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