个人信息美化----For Dz6.0.0正式版(完美版)+(冇边框版)家族+恋人+宠物修改方法[更新]
适用版本:Discuz!6.0.0
适用语言:简体中文GBK版本
作 者:Shun21、蓝星
美 化:Shun21、蓝星
模版修改:register.php、register.htm、viewthread.htm
安装难易:易
技术支持:www.musicbbs.com.cn(送個IP)修正部分错位,进一步完美化,游客发粘同匿名发帖美化,QQ秀改为以前5.5版本的伸缩模式,在线状态改为男女小头像,会员名以三种色区分性别.....
二樓有:QQ秀展開或刪除方法、星星太陽改為等級圖片的方法、加入"家族"和"戀人"修改方法、加入宠物信息修改方法 注:本站还没升级6.0.0版本...
只不这过分享给大家哦~!请大家多多支持小弟哦~~
如果有什么问题请联系本人QQ:413215473

==========================================================================
安装方法:
==========================================================================
1、修改register.php(主目录下文件)
①查找:- if($password != $password2) {
- showmessage('profile_passwd_notmatch');
- }
复制代码 下面加:- if($qq = preg_match("/^([0-9]+)$/", $qq) && strlen($qq) >= 5 && strlen($qq) <= 12 && intval($qq) > 0 ? $qq : '') {
- } else {
- showmessage('请填写QQ号码,返回重新填写','javascript:history.back()');
- }
复制代码 2、templates/default/register.htm(模块文件)
①查找:- <tr>
- <th><label for="password2">{lang password_confirm} *</label></th>
- <td>
- <input type="password" name="password2" size="25" id="password2" onBlur="checkpassword2()" tabindex="5" />
- <span id="checkpassword2"> </span>
- </td>
- </tr>
复制代码 下面加:- <tr>
- <th><label for="qq">QQ *</label></th>
- <td><input type="text" id="qq" name="qq" size="25" tabindex="23" /></td>
- </tr>
复制代码 ②再查找:- <tr>
- <th><label for="qq">QQ</label></th>
- <td><input type="text" id="qq" name="qq" size="25" tabindex="23" /></td>
- </tr>
复制代码 把以上代码删掉!!(删除高级选项里的)
3、templates/default/viewthread.htm(模块文件)
①查找:下面加:- <SCRIPT>
- <!--
- function flip(ud, img) {
- if (ud.style.display == "block") {
- ud.style.display="none";
- img.src = './images/sn-post/qqshow_1.gif';
- }else{
- ud.style.display="block";
- img.src = './images/sn-post/qqshow_2.gif';
- }
- }
- // -->
- </SCRIPT>
复制代码 ②查找:- <td class="postauthor">
- $post[newpostanchor] $post[lastpostanchor]
- <cite><!--{if $forum['ismoderator']}-->
- <!--{if $allowviewip && ($thread['digest'] >= 0 || !$post['first'])}--><label>
- '
- '
- 一直到
- '
- '
- <!--{else}-->
- $post[author]</cite>
- {lang member_deleted}
- <!--{/if}-->
- <!--{/if}-->
- </td>
复制代码 改为:③再查找:- <!--{if $post['msn'] || $post['qq'] || $post['icq'] || $post['yahoo'] || $post['taobao']}-->
- <div class="imicons">
- <!--{if $post['msn']}--><a href="javascript:;" onclick="msnoperate('add', '$post[msn]')" title="{lang msn_add}"><img src="{IMGDIR}/msnadd.gif" alt="{lang msn_add}" /></a>
- <a href="javascript:;" onclick="msnoperate('chat', '$post[msn]')" title="{lang msn_chat}"><img src="{IMGDIR}/msnchat.gif" alt="{lang msn_chat}" /></a><!--{/if}-->
- <!--{if $post['qq']}--><a href="http://wpa.qq.com/msgrd?V=1&Uin=$post[qq]&Site=$bbname&Menu=yes" target="_blank"><img src="{IMGDIR}/qq.gif" alt="QQ" /></a><!--{/if}-->
- <!--{if $post['icq']}--><a href="http://wwp.icq.com/scripts/search.dll?to=$post[icq]" target="_blank"><img src="{IMGDIR}/icq.gif" alt="ICQ" /></a><!--{/if}-->
- <!--{if $post['yahoo']}--><a href="http://edit.yahoo.com/config/send_webmesg?.target=$post[yahoo]&.src=pg" target="_blank"><img src="{IMGDIR}/yahoo.gif" alt="Yahoo!" /></a><!--{/if}-->
- <!--{if $post['taobao']}--><script type="text/javascript">document.write('<a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid='+encodeURIComponent('$post[taobaoas]')+'&s=2"><img src="{IMGDIR}/taobao.gif" alt="{lang taobao}" /></a>');</script><!--{/if}-->
- </div>
- <!--{/if}-->
- <dl>{eval @eval('echo "'.$customauthorinfo[2].'";');}</dl>
复制代码 把以上代码删掉!!
4、上传附件....更新....完成!!!
=============================================================================
旧版更新方法:
=============================================================================
1、templates/default/viewthread.htm(模块文件)
查找:- <!--{loop $postlist $post}-->
- <!--{if $postcount++}-->
- </div>
- <div class="mainbox viewthread">
- <!--{/if}-->
- <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
- <tr>
- <td class="postauthor">
- $post[newpostanchor] $post[lastpostanchor]
- {template snshow}
- </td>
复制代码 改为:- <SCRIPT>
- <!--
- function flip(ud, img) {
- if (ud.style.display == "block") {
- ud.style.display="none";
- img.src = './images/sn-post/qqshow_1.gif';
- }else{
- ud.style.display="block";
- img.src = './images/sn-post/qqshow_2.gif';
- }
- }
- // -->
- </SCRIPT>
- <!--{loop $postlist $post}-->
- <!--{if $postcount++}-->
- </div>
- <div class="mainbox viewthread">
- <!--{/if}-->
- <table id="pid$post[pid]" summary="pid$post[pid]" cellspacing="0" cellpadding="0">
- <tr>
- {template snshow}
复制代码 2、上传附件...."个人信息美化(完美版)--更新"....完成!!!
================================================================================
舊的
新的
新
新
新
新
冇边框
[ 本帖最后由 shun21 于 2007-12-30 20:56 编辑 ] |
-
1
评分次数
-