2008-04-27 05:31:50

sekya
» FTalkFreak
FTalk Level: zero
1728
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-

[quote=arcatari]:arrow: [b]sekya[/b] kayaknya addboxnya salah ntuh bro.. kan klo addbox wvm 3.9 yg kayak saya tebalin di bawah ini.. [spoiler]/*RANDOMIZED FRIENDS*/ if (typeof Ffetcher == "undefined") { Ffetcher = {}; } Ffetcher = { friends: new Array(), pages: null, maxfriends: null, container: null, cached: new Array(), display: 10, init: function() { var num=document.links; for(var x=0;x<num.length;x++) { if (num[x].href.match(/\/friends\/[\d]+?/)) { var t=/\(([\d]+?)\)/; this.maxfriends=t.exec(num[x].innerHTML)[1]; break; } } this.pages=Math.floor(this.maxfriends/30); var htm="<div id='fcontainer' class='boxcontent'></div>"; [b]addBox("Random Friends",htm,"frbox",/commonbox[\s]*?publiccomments/i);[/b] document.getElementById("content_frbox").innerHTML+="<div class='viewall'><a href='javascript: void(Ffetcher.more())'>More Random Friends</a></div>"; this.container=document.getElementById("fcontainer"); this.fetch(0); }, fetch: function(page) { document.getElementById("frbox").childNodes[0].innerHTML="Friends Loading... Pls wait..."; processAjaxRequest("GET",TRACKER.base_domain+"/friends/"+pageOwnerID+"/"+page,true,null, "parseFriends",page); }, show: function() { this.container.innerHTML=""; this.friends.sort(randOrd); for(var x=0;x<this.display;x++) { this.container.innerHTML+=this.friends[x]; } }, more: function() { if(this.cached.length<(this.pages+1)) { var temp; do { temp=Math.ceil(Math.random()*(this.pages)); }while(this.cached.toString().indexOf(":"+temp+":")!=-1); this.fetch(temp); } else { this.show(); } } }; function parseFriends(htm,page) { if(!htm){ Ffetcher.fetch(page); return; } var r= /search1\x22>[\S\s]+?paginglinksmodule\x22>([\S\s]+?)<div class=\x22paginglinksmodule/; var temp=r.exec(htm)[1]; temp=temp.match(/<div class="flogriditem">[\S\s]+?<\/div>\n<\/div><\/div>/g); for(var x=0;x<temp.length;x++) { temp[x]=temp[x].replace("samsg_icon.gif>","samsg_icon.gif />"); temp[x]=temp[x].replace(/<a /g,"<a target=_blank "); if(!temp[x].match("nophoto")) Ffetcher.friends.push(temp[x]); } Ffetcher.cached.push(":"+page+":"); document.getElementById("frbox").childNodes[0].innerHTML="Friends"; Ffetcher.show(); }[/spoiler] klo bro buat add boxnya kayak di bawah ini.. [quote][color=red]addBox("LEFT","Friends",htm,"frbox","18");[/color][/quote] bukankah addboxnya salah..[/quote] liad disini http://theftalk.com/viewtopic.php?id=25080&p=13 ama disini men http://theftalk.com/t18905-%7BTUTORIAL%7D-Kombinasi-Random-Friends-with-2.1-2.2-3.1-3.2.html [b]=> sobat_iza[/b] iya... tp percuma men WVM versi 3.1 sudah tidak bisa di gunakan mending lo register dolo di WVM 3.9 ato 3.4 tar gw bantu...

Last edited by sekya (2008-04-27 05:34:54)

Board footer

© 2024 F Talk

Current time is 00:20

[ 12 queries - 0.556 second ]
Privacy Policy