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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] 身份美化+性别在线+头像边框+隐藏身份 自用版 for 5.0

[复制链接]
haohao036 发表于 2006-11-6 23:03:05 | 显示全部楼层 |阅读模式
自已改的。不知有没有人要。。。请大家支持我。。。

这是一楼显示



下面是二楼显示


下面是三楼显示


打开。viewthread.htm

查找


  1. <tr style="height: 100%">
复制代码


-----------------------到--------------------------

  1. <td width="82%" valign="top" style="padding: 0px">
复制代码


中间换成。

  1. {template avatarshow_1}
复制代码



查找

  1. <script type="text/javascript">
  2. function fastreply(subject) {
  3.         if($('postform')) {
  4.                 $('postform').subject.value = subject;
  5.                 $('postform').message.focus();
  6.         }
  7. }
  8. </script>
复制代码



下面添加

  1. <SCRIPT>
  2. <!--
  3. function flip (ud, img) {
  4. if (ud.style.display == "block") {
  5. ud.style.display="none";
  6. img.src = 'images/detail_plus.gif';
  7. }else{
  8. ud.style.display="block";
  9. img.src = 'images/detail_plus1.gif';
  10. }
  11. }
  12. // -->
  13. </SCRIPT>
  14. <STYLE>
  15. .detailicon {CURSOR: hand}
  16. .userdetail {DISPLAY: none}
  17. </STYLE>
复制代码


打开论坛根目录viewthread.php


查找

  1. $post['avatar'] = '';
复制代码


改成

  1. $post['avatar'] = '<a href="memcp.php?action=profile"><img src="images/free.gif" alt="您还没有头像呢!" border="0"></a>';
复制代码



再查

$post['avatar'] = '<div class="avatar" style="width: '.$post['avatarwidth'].'"><img src="'.$post['avatar'].'" width="'.$post['avatarwidth'].'" height="'.$post['avatarheight'].'" border="0" alt="" /></div>';


红色部分去掉即可


完。上传附件就可以了。

[ 本帖最后由 haohao036 于 2006-11-6 23:05 编辑 ]

评分

1

查看全部评分

 楼主| haohao036 发表于 2006-11-6 23:05:18 | 显示全部楼层
upup.放一空位。。。自用。


不想隐藏身份照如下修改。

打开。viewthread.htm

查找

  1. <script type="text/javascript">
  2. function fastreply(subject) {
  3.         if($('postform')) {
  4.                 $('postform').subject.value = subject;
  5.                 $('postform').message.focus();
  6.         }
  7. }
  8. </script>
复制代码


删掉下面

  1. <SCRIPT>
  2. <!--
  3. function flip (ud, img) {
  4. if (ud.style.display == "block") {
  5. ud.style.display="none";
  6. img.src = 'images/detail_plus.gif';
  7. }else{
  8. ud.style.display="block";
  9. img.src = 'images/detail_plus1.gif';
  10. }
  11. }
  12. // -->
  13. </SCRIPT>
  14. <STYLE>
  15. .detailicon {CURSOR: hand}
  16. .userdetail {DISPLAY: none}
  17. </STYLE>
复制代码



再打开 avatarshow_1.htm

查找删掉

       
  1. <!--{if $post['number']!=1}-->
  2.                 <br><div style="width:100%; height:22px; border:0px; padding-left:0px" align="center"><SPAN class=detailicon id=$post[number] onclick="flip(ud_$post[number], document.images.img_$post[number])"><IMG src="images/detail_plus.gif" alt="点击打开/关闭 $post[author] 的资料" id=img_$post[number]> </SPAN></div>
  3.                 <!--{/if}-->
复制代码




完成。OK

[ 本帖最后由 haohao036 于 2006-11-7 21:38 编辑 ]
回复

使用道具 举报

阿冰啊 发表于 2006-11-6 23:06:23 | 显示全部楼层
地毯.....................
回复

使用道具 举报

5iwy 发表于 2006-11-6 23:07:21 | 显示全部楼层
不错的美化!:) :)
回复

使用道具 举报

maodan2 发表于 2006-11-6 23:12:26 | 显示全部楼层
支持 in非主流  www.in-fzl.com
回复

使用道具 举报

wlqc 发表于 2006-11-6 23:12:53 | 显示全部楼层
支持啊。。。。
:) :)
回复

使用道具 举报

woai80 发表于 2006-11-6 23:13:36 | 显示全部楼层
....................

很不错的说

[ 本帖最后由 woai80 于 2006-11-6 23:24 编辑 ]

本帖子中包含更多资源

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

x
回复

使用道具 举报

maodan2 发表于 2006-11-6 23:15:16 | 显示全部楼层
哈哈 我接着来 www.in-fzl.com
回复

使用道具 举报

帅五爷 发表于 2006-11-6 23:25:05 | 显示全部楼层
新鲜热辣,也正需要,楼主做的东东绝对可以放心用。
回复

使用道具 举报

木辛歪歪 发表于 2006-11-6 23:42:41 | 显示全部楼层
不错不错,明天起来改
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-29 00:58 , Processed in 0.106365 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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