2008-06-28 14:12:14

dj_afran
» FTalkAgent
FTalk Level: zero
2005
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

:arrow: [b]mr.learning[/b] om.. cuba script ini taruh di bagian C/paling bawah.. [spoiler]/*veiwers main foto on sidebar*/ if (!attachOnLoadHandler(function() { mainVpic();})) window.onload = function() { mainVpic();}; function mainVpic() { if(pageViewerID !== "") SPAWNPIC.init(); } if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; } SPAWNPIC = { photo: [], type: "commonbox", info: { name: null, photo: null, status: null, since: null, location: null }, regexp: { name: /controlpanel_header">([^@]+?)<a\s+name="controlpanel/, photo: /imgblock200"><a[^@]*?>([^@]+?)<\/a><\/div>/, status: /data">([^@]+?)<\/span><\/li>/, since: /Since\:\s+<\/span>([^@]+?)<\/li>/, location: /Location\:\s+<\/span>([^@]+?)<\/li>/ }, init: function() { this.ajaxRequest("/"+pageViewerID,"SPAWNPIC.viewer",null); }, viewer: function(mypic) { if (mypic.replace(/^\s*|\s*$/g,"") === "") { alert("VMP Error: Unable to parse the photo!"); return; }else if (mypic) { for (val in this.info) { try { this.info[val] = new RegExp(this.regexp[val]).exec(mypic)[1].replace(/^(\d)$/,"0$1"); }catch(e) { this.info[val] = ""; } } this.photo = "<div class=\"fitem1wrapper\"><table class\"fitem1table\">"+ "<tr><td class=\"itd\"><a href=\"/"+pageViewerID+"\" title=\""+pageViewerFName+"\">"+ this.info.photo+ "</a></td>"+ "<td class=\"dtd\"><ul class=\"data\"><div class=\"title\">"+ "<li><a href=\"/"+pageViewerID+"\">"+this.info.name+"</a>\n"+ "Friendster ID: <a href=\"/"+pageViewerID+"\">"+pageViewerID+"</a>"+ this.info.status+"\n"+ "Member Since: "+this.info.since+"\n"+ "Location: "+this.info.location+"</li>"+ "</div>"+ "</ul></td></tr>"+ "</table></div>"; this.photo = this.photo.replace(/\n/g,"<br />").replace(/<br>/gi,"<br />"); this.HTML("Hello "+this.info.name,this.photo,"spawnpic",/friends/i,"INSERTBEFORE"); } }, ajaxRequest: function(url,ajaxfunc,handler) { if(handler) handler = ","+handler; else handler = ""; var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP"); if(ajaxfunc) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+ajaxfunc+"(httprequest.responseText"+handler+");}}"); httprequest.open('GET', url, true); httprequest.send(null); }, HTML: function(header,code,id,sibling,insert) { var ul = this.getModuleByClassName(sibling)[0].parentNode; var li = document.createElement("LI"); if (header) { li.innerHTML = "<div class='"+this.type+" "+id+"' id='"+id+"'>"+ "<h2>"+header+"</h2>"+ "<div id='content_"+id+"'>"+code+"</div>"+ "</div>"; } else li.innerHTML = "<div class='"+this.type+" "+id+"' id='"+id+"'>"+code+"</div>"; if (!insert) ul.parentNode.appendChild(li); else if (insert == "INSERTBEFORE") ul.parentNode.insertBefore(li,ul); else if (insert == "APPEND") ul.appendChild(li); }, getModuleByClassName: function(sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j=0,k=els.length;j<k;j++) { if (new RegExp(sClass).test(els[j].className))elm.push(els[j]); } return elm; } }; /*end*/ //EDIT MORE ABOUT document.getElementById("content_6").getElementsByTagName("span")[0].innerHTML="sakola urang:"; document.getElementById("content_6").getElementsByTagName("span")[1].innerHTML="gawean abi:"; document.getElementById("content_6").getElementsByTagName("span")[2].innerHTML="hObBy dAn KeSenaNgan aQ:"; document.getElementById("content_6").getElementsByTagName("span")[3].innerHTML="buKu yg kuSuka:"; document.getElementById("content_6").getElementsByTagName("span")[4].innerHTML="Film Favorit aQ:"; document.getElementById("content_6").getElementsByTagName("span")[5].innerHTML="mUsiK FavoRit aQ:"; document.getElementById("content_6").getElementsByTagName("span")[6].innerHTML="aCaRa Tipi Favorit aQ:"; document.getElementById("content_6").getElementsByTagName("span")[7].innerHTML="zoDiaK aQ:"; document.getElementById("content_6").getElementsByTagName("span")[8].innerHTML="tEnTanG aQ:"; document.getElementById("content_6").getElementsByTagName("span")[9].innerHTML="kLO pEngEn kTemU:"; //array function tb10_makeArray(n){ this.length = n; return this.length; } tb10_messages = new tb10_makeArray(1); tb10_messages[0] = "WELCOME TO MY PROFILE AT MY FRIENDSTER"; tb10_rptType = 'infinite'; tb10_rptNbr = 5; tb10_speed = 100; tb10_delay = 2000; var tb10_wiper var tb10_space=" " var tb10_currMsg=0; var tb10_counter=1; var tb10_index=0 tb10_main() function tb10_main() { document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);} else{setTimeout('tb10_main()',tb10_speed)} } function tb10_reset_clear() { tb10_index=0 tb10_wiper="" for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space} tb10_clearem() } function tb10_clearem() { document.title=tb10_wiper.substring(0,tb10_index) + "DI ADD IYAA " + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){ if (tb10_currMsg == tb10_messages.length-1){ if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){ document.title=""; return; } tb10_counter++; tb10_currMsg = 0; } else tb10_currMsg++; tb10_index=0 tb10_main() } else{setTimeout('tb10_clearem()',250)} }[/spoiler] trus.. cuba di sini.. [quote]phplink: "http://h1.ripway.com/miloe/trcker.php", exitmessage: "Goodbye "+pageViewerFName,[/quote] di ganti jadi ini... [quote]phplink: "http://h1.ripway.com/miloe/trcker.php", exitmessage: "Goodbye "+pageViewerFName, display: [b]8[/b], //display perpage[/quote] mudah˛an bener... *yang tebal bisa di ganti.. all.. klo ada yang salah.. tulung di ganti ya... hehe... :arrow: [b]dedy_182[/b] bro.. setelah saiia telusuri.. linker'a yang ga bsa tuh.. cuba di ganti pake punya saiia.. [url=http://h1.ripway.com/japran/swf/encrypt/encryptor/linker.html]LinkeR[/url] muga˛ bisa...

Last edited by dj_afran (2008-06-28 14:15:47)

Board footer

© 2024 F Talk

Current time is 07:37

[ 12 queries - 0.513 second ]
Privacy Policy