firewolf toplist 6.1 (beta)
เป็นทอปลิสจากค่ายเดียวกันคือ firewolf ครับแต่เป็นของ 6.1 ยังมีบัคตรงยังไม่แสดงรูป avatarการติดตั้ง อัพโหลดไฟล์ ไว้ตามที่อยู่ทำการแก้ไขไฟล์ดังต่อไปนี้
index.php หาโค้ดinclude template('discuz');เพิ่มโค้ดนี้ไว้ด้านบนeval($hooks['firewolf_indextoplist_require_index']);จากนั้นไปที่ไฟล์ templates/default/discuz.htm หาโค้ด<table summary="HeadBox" class="portalbox" cellpadding="0" cellspacing="1">เพิ่มโค้ดต่อไปนี้ไว้ด้านบน<!--{eval eval($hooks['firewolf_indextoplist_include_template']);}-->จากนั้นทำการติดตั้งปลั้กอินตามรูปโดยการ import ไฟล์ txt เลยไม่ต้องคัดลอกมาวางเหมือน 6.0
จากนั้นอัพเดทแคชแล้วใช้งานดูครับ
เพิ่มเติมการแก้ปัญหาตัวหนังสือฟอรั่มใหญ่ หรือ เทมเพลทบิดเบี้ยว กรอบแสดงรายละเอียดกระโดดขึ้นไปข้างบนเกิดจากตังเร่ง alt 2ตัวมานทะเลาะกันทำให้แสดงผลผิดพลาด
วิธีแก้ปัญหาให้เข้าไปลบไฟล์plugins/firewolf_indextoplist/template/altitle.jsออกไป
แล้วทำการแก้ไขไฟล์ include/javascript/common.js โดยการเพิ่มโค้ดนี้ไว้ที่บรรทัดสุดท้ายครับ
//www.chenhailm.comALT
var sPop = null;
var postSubmited = false;
document.write("<style type='text/css'id='defaultPopStyle'>");
document.write(".cPopText { font-family: Verdana, Tahoma; background-color: #DDEEFF; border: 1px #8899AA dashed; font-size: 12px; padding-right: 4px; padding-left: 4px; height: 20px; padding-top: 2px; padding-bottom: 2px; visibility: hidden; filter: Alpha(Opacity=80)}");
document.write("</style>");
document.write("<div id='popLayer' style='position:absolute;z-index:1000;' class='cPopText'></div>");
function showPopupText(event) {
if(event.srcElement) o = event.srcElement; else o = event.target;
if(!o) {
return;
}
MouseX = event.clientX;
MouseY = event.clientY;
if(o.alt != null && o.alt != '') {
o.pop = o.alt;
o.alt = '';
}
if(o.title != null && o.title != '') {
o.pop = o.title;
o.title = '';
}
if(o.pop != sPop) {
sPop = o.pop;
if(sPop == null || sPop == '') {
$('popLayer').style.visibility = "hidden";
} else {
popStyle = o.dyclass != null ? o.dyclass : 'popupmenu_popup';
$('popLayer').style.visibility = "visible";
showIt();
}
}
}
function showIt() {
$('popLayer').className = popStyle;
$('popLayer').innerHTML = sPop.replace(/</g,"<").replace(/>/g,">").replace(/\n/g,"<br>");
var bodySL, bodyST;
if(window.pageXOffset){
bodySL=window.pageXOffset;
}else if(document.documentElement&&document.documentElement.scrollLeft){
bodySL=document.documentElement.scrollLeft;
}else if(document.body){
bodySL=document.body.scrollLeft; //author: meizz
}
if(window.pageYOffset){
bodyST=window.pageYOffset;
}else if(document.documentElement&&document.documentElement.scrollTop){
bodyST=document.documentElement.scrollTop;
}else if(document.body){
bodyST=document.body.scrollTop;
}
var bodyCW, bodyCH;
if(window.innerWidth){
bodyCW=window.innerWidth;
}else if(document.documentElement&&document.documentElement.clientWidth){
bodyCW=document.documentElement.clientWidth;
}else if(document.body){
bodyCW=document.body.clientWidth; //author: meizz
}
if(window.innerHeight){
bodyCH=window.innerHeight;
}else if(document.documentElement&&document.documentElement.clientHeight){
bodyCH=document.documentElement.clientHeight;
}else if(document.body){
bodyCH=document.body.clientHeight;
}
if($('popLayer').clientWidth>300){
var popWidth = 300;
}else{
var popWidth = $('popLayer').clientWidth;
}
var popWidth = $('popLayer').clientWidth;
var popHeight = $('popLayer').clientHeight;
var popLeftAdjust = MouseX + 12 + popWidth > bodyCW ? -popWidth - 24 : 0;
var popTopAdjust = MouseY + 12 + popHeight > bodyCH ? -popHeight - 24 : 0;
$('popLayer').style.left = (MouseX + 12 + bodySL + popLeftAdjust) + 'px';
$('popLayer').style.top = (MouseY + 12 + bodyST + popTopAdjust) + 'px';
}
if(!document.onmouseover) {
document.onmouseover = function(e) {
var event = e ? e : window.event;
showPopupText(event);
};
}
//www.chenhailm.comALT
[ แก้ไขล่าสุด buachompoox เมื่อ 2008-5-2 09:03 ] โอว ขอบคุณครับ
:victory: :victory: เหอะๆ ~~ของใหม่อีกแล้วพี่น้อง ฮ่าๆ ~~
ขยันหาของใหม่ๆมาให้ลองยา เอ๊ยๆ ลองใช้ ฮ่าๆ~~ โอ๊ะ ขอบคุณมากครับ ของใหม่มาแย้ว แหล่มจิงๆครับ ขอบคุณครับ ~:2:~ แต่ว่า มือใหม่อย่างผม เจอไฟล์ 3 ตัว งง ไม่รู้จะเอาไปวางไว้ตรงไหน
คูมือก็เป็นภาษาจีนอีกคง เครียดไม่มีรายละเอียดสำหรับมือใหม่เลย
~:4:~ ขอบคุณครับผม เดี๋ยวต้องลองใช้ดูซะแล้วขอบคุณมาก ๆ ครับ :loveliness: http://www.discuzthai.com/thread-1774-1-1.html
มะแสดงผลงับ ช่วยดูให้หน่อย ขอบคุณค่ะ
สวยๆตลอดเลย
หน้า:
[1]