QUOTE:
蓝色米吧(仿米吧风格) For 6.1
http://www.discuz.net/thread-907183-1-1.html
蓝色米吧(仿米吧风格) For 6.0
http://www.discuz.net/thread-867396-1-1.html
QUOTE:
修改方法与“米吧”基本一致,所以效果与“米吧”完全一样!
由于本人时间有限,只对修改过程中出现错误的进行解释说明,不对其他问题进行答复,谢谢合作!
本人极度不欢迎某些人按照本方法修改后再发布!
QUOTE:
【2008.04.25】修正6.1不能发短消息问题修改方法:
【2008.02.27】修正点击MSN图标无效问题
【2008.07.11】添加“个人网站”按钮
1、修改include/javascript/viewthread.js文件
查找
CODE:
function copycode(obj) {在上面增加CODE:
function mushow(number)
{
numberx="xusinfox"+number;
var usinfo = document.getElementById(numberx);
if(typeof usinfo.style.MozOpacity != "undefined")
{
otype= "moz";
}
else if(typeof usinfo.style.opacity != "undefined")
{
otype= "w3c";
}
else if(typeof usinfo.style.KhtmlOpacity != "undefined")
{
otype= "khtml";
}
else if(typeof usinfo.filters == "object")
{
otype = (usinfo.filters.length > 0 && typeof usinfo.filters.alpha == 'object' && typeof usinfo.filters.alpha.opacity == 'number')?'ie':'none';
}
if (usinfo.style.display=="none")
{
if(otype=="w3c")
{
fadeun(numberx);
}
else if(otype=="ie")
{
fadeun(numberx);
}
else if(otype=="moz")
{
fadeun(numberx);
}
else if(otype=="khtml")
{
fadeun(numberx);
}
usinfo.style.display="";
}
else if(usinfo.style.display=="")
{
if(otype=="w3c")
{
fadeun(numberx);
}
else if(otype=="ie")
{
fadeun(numberx);
}
else if(otype=="moz")
{
fadeun(numberx);
}
else if(otype=="khtml")
{
fadeun(numberx);
}
usinfo.style.display="none";
}
}
function fadeun(number)
{
var usinfo = document.getElementById(number);
if(typeof usinfo.style.MozOpacity != "undefined")
{
otype= "moz";
}
else if(typeof usinfo.style.opacity != "undefined")
{
otype= "w3c";
}
else if(typeof usinfo.style.KhtmlOpacity != "undefined")
{
otype= "khtml";
}
else if(typeof usinfo.filters == "object")
{
otype = (usinfo.filters.length > 0 && typeof usinfo.filters.alpha == 'object' && typeof usinfo.filters.alpha.opacity == 'number')?'ie':'none';
}
if(usinfo.style.display=="none")
{
if(otype=="w3c")
{
usinfo.style.opacity-=1;
if (usinfo.style.opacity<100)
{
setTimeout("fadeun(numberx)",90);
}
}
else if(otype=="ie")
{
usinfo.filters.alpha.opacity-=1;
if (usinfo.filters.alpha.opacity<100)
{
setTimeout("fadeun(numberx)",90);
}
}
else if(otype=="moz")
{
usinfo.style.MozOpacity=1;
}
else if(otype=="khtml")
{
usinfo.style.khtmlOpacity-=0.1;
if(usinfo.style.khtmlOpacity < 1)
{
setTimeout("fadeun(numberx)",90);
}
}
}
else if(usinfo.style.display=="")
{
if(otype=="w3c")
{
usinfo.style.opacity+=1;
if (usinfo.style.opacity>0)
{
setTimeout("fadeun(numberx)",90);
}
}
else if(otype=="ie")
{
usinfo.filters.alpha.opacity+=1;
if(usinfo.filters.alpha.opacity>0)
{
setTimeout("fadeun(numberx)",90);
}
}
else if(otype=="moz")
{
usinfo.style.MozOpacity=1;
}
else if(otype=="khtml")
{
usinfo.style.khtmlOpacity+=0.1;
if(usinfo.style.khtmlOpacity > 0)
{
setTimeout("fadeun(numberx)",90);
}
}
}
}此代码作用:实现折叠效果2、修改templates/default/viewthread.htm模板文件
①查找:
CODE:
<script type="text/javascript">zoomstatus = parseInt($zoomstatus);</script>下面增加:CODE:
<style type="text/css">
.xusinfox {filter:alpha(opacity=0);opacity:0.1;-moz-opacity:0.1;-khtml-opacity:0.1;}
</style>此代码作用:实现渐变效果②再查找:
CODE:
<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>改为:CODE:
{template show}3、上传附件“个人信息美化”,更新缓存即可。=================================================================
演示:
=================================================================
下载说明:
个人信息美化(修改好的).rar 适用于没有对include/javascript/viewthread.js和templates/default/viewthread.htm文件修改过的论坛使用,如果您不需要折叠效果,请勿下载此压缩包!
个人信息美化.rar 适用于已经对上述文件修改过及不需要折叠效果的论坛使用!(修改方法已说明的很清楚了)
[ 本帖最后由 ayblue 于 2008-7-11 15:39 编辑 ]
个人信息美化(修改好的)For6.1.rar
(2008-07-11 15:38:57, Size: 47.2 KB, Downloads: 1297)
个人信息美化(修改好的)For6.0.rar
(2008-07-11 15:38:57, Size: 46.6 KB, Downloads: 688)
个人信息美化For6.1.rar
(2008-07-11 15:38:57, Size: 34.7 KB, Downloads: 692)
个人信息美化For6.0.rar
(2008-07-11 15:38:57, Size: 34.7 KB, Downloads: 426)


最新回复
1、修改templates/default/viewthread.htm模板文件
查找:
CODE:
<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>
CODE:
{template show}2、修改templates/default/show.htm(此文件在附件内)查找
QUOTE:
红色部分修改为QUOTE:
即可[ 本帖最后由 ayblue 于 2008-7-11 15:43 编辑 ]
(2008-07-11 15:43:56, Size: 44.4 KB, Downloads: 652)
(2008-07-11 15:43:56, Size: 44.2 KB, Downloads: 432)
(2008-07-11 15:43:56, Size: 34.7 KB, Downloads: 308)
(2008-07-11 15:43:56, Size: 34.7 KB, Downloads: 197)
[ 本帖最后由 ayblue 于 2008-4-23 13:28 编辑 ]
越來越喜歡米吧 的美化了
支持!!!!!
楼主太有才了!