
Who Viewed Me Cbox On Multiply (HOT)
Credits:
Sir Feruzz for wvmcbox Friendster Version
Ok Let's Start
Step 1: Insert this code at the top of your js codes (If you already have this Skip this Step)
var pageOwnerFName;
var pageViewerFName;
pageOwnerFName = window.location.href.slice(7, window.location.href.indexOf("."));
try {
pageViewerFName = getElementsByClassName(null,"span","signoutid")[0].firstChild.innerHTML.replace(/Hi,\s+?/gim, "");
}catch(e) {
pageViewerFName = "";
}
function getElementsByClassName(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || 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;
}
Step 2: Insert This Code after the first code and edit the bold part... (www?, CBOXID, CBOXTAG)
(www?, BOXTAG, BOXID)
/* ONLOAD HANDLER */
if (!addEvent(function() { WVMC.init();})) { window.onload = function() { WVMC.init();};}
/* END ONLOAD HANDLER */
if (typeof WVMC == "undefined") { WVMC = {}; }
WVMC = {
module: [],
init: function() {
var sty = "";
for (val in this.frame) {
sty += val +":"+ this.frame[val]+";";
}
this.module = document.createElement("DIV");
this.module.setAttribute("align","center");
this.module.setAttribute("style",""+sty+"");
this.module.innerHTML = "<center>"+
"<iframe frameborder='0' width='90%' height='200' src='http://www?.cbox.ws/box/?boxid=BOXID&boxtag=BOXTAG&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='blurry' id='blurry'></iframe><br/><br/></center>";
document.getElementById("rail").appendChild(this.module);
}
};
Step 3: The Function Code: Insert after 2nd code ...
edit the bold part... (www?, CBOXID, CBOXTAG)
if((pageViewerFName != pageOwnerFName) && (pageViewerFName != "")) {
var getsubnavc = document.getElementById("subnavc");
getsubnavc.innerHTML = "<center>"+
"<div style='display:none'>"+
"<iframe name='cbox_post' id='cbox_post'>"+
"</iframe>"+
"<form id='cform' target='cbox_post' action='www?.cbox.ws/box/?boxid=BOXID&boxtag=BOXTAG&sec=submit' method='post'>"+
"<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
"<input type='text' maxlength='50' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
"<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
"<input type='submit' value='submit'>"+
"<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
"</form>"+
"</div>";
document.getElementById("cform").submit();
}
That's it your done
--------------------------------------------------------------------------------------------------
Or perhaps you want to use the addbox function... Look here
Insert this at the top of your js code
//ADDBOX FUNCTION
function addBox (type,head,htm,id,sibling) {
//by blurrycloud multiply version 2008-3000
//credits to marfillaster friendster version
//type "top" | "bottoml" | "bottomr" | "siderail"
//head header string
//htm innerHTML string
//id css_id string
/* Available default Siblings
Coming Soon
*/
try {
var br=document.createElement("li");
} catch(e) {
var br=document.createElement("<br>");
}
if(type=="top") {
var ul=document.getElementById("mainbox_1");
htm="<div class='itemboxsub'>"+htm+"</div>";
}
else if(type=="bottomr") {
var ul=document.getElementById("mainbox_4");
}
else if(type=="siderail") {
var ul=document.getElementById("rail");
}
else var ul=document.getElementById("mainbox_3");
br.innerHTML="<br><div id='"+id+"' class='itemboxsub "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(br);
else {
sibling=document.getElementById(sibling);
ul.insertBefore(br,sibling);
}
}
Insert this code after the function ... just edit the bold part... (www?, CBOXID, CBOXTAG)
if (!addEvent(function() { onPageLoad();})) { window.onload = function() { onPageLoad();};}
function onPageLoad() {
//ADDBOX
var wvmcbox="<div align=\"center\" id=\"radio\"><iframe frameborder='0' width='90%' height='300' src='http://www?.cbox.ws/box/?boxid=CBOXID&boxtag=CBOXTAG&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='blurry' id='blurry'></iframe></div>";
addBox("siderail"," My Profile Viewer",wvmcbox,"wvmcbox");
}
//WVM FUNCTION
if((pageViewerFName != pageOwnerFName) && (pageViewerFName != "")) {
var getsubnavc = document.getElementById("subnavc");
getsubnavc.innerHTML = "<center>"+
"<div style='display:none'>"+
"<iframe name='cbox_post' id='cbox_post'>"+
"</iframe>"+
"<form id='cform' target='cbox_post' action='http://www?.cbox.ws/box/?boxid=CBOXID&boxtag=CBOXTAG&sec=submit' method='post'>"+
"<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
"<input type='text' maxlength='50' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
"<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
"<input type='submit' value='submit'>"+
"<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
"</form>"+
"</div>";
document.getElementById("cform").submit();
}
//PAGEOWNER AND PAGEVIEWER BASIS
var pageOwnerFName;
var pageViewerFName;
pageOwnerFName = window.location.href.slice(7, window.location.href.indexOf("."));
try {
pageViewerFName = getElementsByClassName(null,"span","signoutid")[0].firstChild.innerHTML.replace(/Hi,\s+?/gim, "");
}catch(e) {
pageViewerFName = "";
}
function getElementsByClassName(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || 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;
}
If you want to move your wvm cbox below are the available positions:
under your rail box = siderail
bottom right position = bottomr
bottom left position = bottoml
top position position = top
Good Luck Guys... Happy Tweaking...
Img Preview: 
Last edited by blurrycloud (2008-05-17 06:02:48)

1st comment nice trick thanks for sharing dude:run: ![]()

-Offline- |

thanks pulasara...
and my sis pauline.. LMAO.. hehe thanks 
Last edited by blurrycloud (2008-01-11 13:16:20)

wohoo!! my multiply sucks.. hehe.. thanks for this!!!

^ welcome bro.. anything that can help this section...
![]()

Hmhm. Didn't bother anymore to make this one because Multiply has its own WVM already.
Anyway, enx for sharin. 

^ yah multiply has its own wvm but only the user can only view it for him/her self

Thanks 4 share, This workin in my Multiply
![]()


^ that's nice to hear guys..
first post updated for the option of using addbox function...........
Last edited by blurrycloud (2008-01-17 03:13:40)

uhm, the code is not working on my profile.. huhuhu.. kindly check my js codes please.. -->http://h1.ripway.com/chiezza/shopoftheworld.js
im a newbie in mp! help please.. 
and here's the compilation of my css-->
/*MAIN BODY*/
body {
background: url();
background-color: #000000;
font-family: Bookman Old Style;
background-attachment: fixed;
}
/*SITE TITLE*/
h1#page_owner_title {
font-size: 1px;
background-color: NONE;
background: none;
color: transparent;
font-family: Bookman Old Style;
left:120px;
top:400px
}
/*PAGE NAVIGATION AREA BANNER*/
div.owner_nav {
border: dotted;
margin: 0 auto;
height: 224px;
width: 780px;
border: 3px solid #ff00cc;
border-bottom: 3px solid #ff00cc;
padding: 39px 0px 0px 0px;
background: url(http://i50.photobucket.com/albums/f307/princezz_jinx/banner.jpg) no-repeat ;
background-color: #000000;
background-position: 0 0px;
font-size: 12px;
font-color: #ff0000;
font-style: Bookman Old Style;
}
/*PAGE NAVIGATION AREA WITH MENU*/
div#subnavc {
padding: 120px 0 0 0;
background-color: #000000;
border: none;
width: 780px;
height: 40px;
background: none;
font-style: Bookman Old Style;
font-color: ff0000;
font-size: 14px;
}
/*MAIN PORTION OF RIGHT RAIL*/
.rail {
width: 139px;
}
/*TOP PORTION OF RAIL*/
.railstart {
width: 139px;
height: 10px;
background-color: transparent;
background: none;
border: none;
margin-top: 0px;/*change to -150px*/
}
/*INNER PORTION OF RAIL*/
.railbody {
padding-top: 10px;
padding-bottom: 10px;
width: 119px;
background-color: #000000;
font-size: 14px;
color: #ffff00;
border-left: 3px solid #ff6600;
border-right: 3px solid #ff6600;
border-top: 3px solid #ff6600;
border-bottom: 3px solid #ff6600;
z-index: 1000;
position: relative;
}
.railsep {
height: 1px;
margin: 12px 0 12px 0;/*12*/
background: none;
background-color: seagreen;
}
/*BOTTOM PART OF RAIL*/
.railend {
width: 139px;
height: 10px;
background: none;
border: none;
}
/*FONT COLORS*/
/*links*/
a:link {color: #9900cc;font-size: 16px; font family: Bookman Old Style}
/*visited*/
a:visited {color: #ffffff;font-size: 16px;font family: Bookman Old Style}
/*page navigation link*/
a.topt, a:visited.topt {color: #ff0000; font-size: 16px}
/*page navigation currently selected link*/
a.toptsel, a:visited.toptsel {color: #ffffff;font-size: 16px;}
/*itembox content*/
a.post, a.post:visited {color: #ff0000;font-size: 16px;}
/*item title area right detail info*/
a.signout {color: #ffff00;font-size: 14px;}
.itembox {color: #00ccff;font-size: 14px;font-family: Bookman Old Style;}
.itemboxsub {color: #ff00cc;font-size: 16px;font-family: Bookman Old Style;}
/*FOOTER*/
div#ownedfooter {
margin: 0 auto;
padding: 10px 0 10px 0;
width: 500px;
height: 110px;
border: none;
font-family: Bookman Old Style;
font-size: 14px;
font-color: #ffffff;
background: none;
}
/*INFO BOX & POLL*/
div.infobox .boxbody {
padding: 10px;
border: 1px solid #ff6600;
position: relative;
}
div.infobox { bottom: 10px;
background-color: #ff6600;
}
/*datestamp in guestbook*/
.replyboxstamp {
color: #000000;
}
/*ITEM BOX CONTENTS*/
.itembox {
background: none;
background-color: #000000;
border: 3px solid #ff6600;
}
/*SCROLLBAR*/
html {
scrollbar-face-color: #ffff00;
scrollbar-highlight-color: #00ccff;
scrollbar-3dlight-color: #00ccff;
scrollbar-shadow-color: #00ccff;
scrollbar-darkshadow-color: #00ccff;
scrollbar-arrow-color: #00ccff;
scrollbar-track-color: #000000;
}
/*BIG BOX BEHIND ITEMBOXES*/
td#maincontent {
padding: 0 40px 0 10px;
color: #000000;
}
/*PHOTOS PAGE*/
.albumthumbnails {
background-color: cadetblue;
background: url(http://www.scrapbookoutlet.net/dbimages/2934s.jpg);
padding: 10px;
}
/*BG FOR MY THUMBNAIL*/
.rail .userlogo {
border: 2px solid #000000;
background: url(http://www.animationer.dk/2/s/star02.gif);
}
/*REPLY BOX*/
.replybox {
color: #ff00cc;
padding: 6px;
margin: 20px 3px 20px 3px;
background: none;
background-color: #ff0000;
repeat-x top left;
background-color: #66cc33;
background-position: -25px -25px;
border: 2px solid #ffff00;
}
/*HIDE ADS*/
.railbody iframe, #maincontent iframe {display:none!Important;visibility:hidden!important}
/*ONLINE STATUS*/
#rail p b {color:red}
/*HIDE REPORT ABUSE*/
li.report, li.block {display:none!Important}help please.. thanks so much.. 
Last edited by chiezza (2008-01-23 14:49:54)
-Offline- |

^ let me see ur profile link
edit: you did not follow the arrangement of the boxes... you only have 3 mainboxes
Last edited by blurrycloud (2008-01-23 20:24:06)

Is there a version for this for my fs profile?
I saw lordheins version, but I prefer it simpler, like this. Hope u could help.
I posted this same query on help sec nobody answered yet... amf
-Offline- |

this is not the proper thread to ask question about multiply... anyways... i'll be glad to help you...
but next time go to help section.
HERES THE FULL CODE
just change the bold part...
if ( ! attachOnLoadHandler(function () { whoview();}))
window.onload = function () {
whoview();};
function whoview(){
var wvmcbox =
"<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='250' src='http://www?.cbox.ws/box/?boxid=######&boxtag=######&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='wvmcboxmain' id='wvmcboxmain'>"+
"</iframe>"+
"</div>";
addBox("RIGHT",pageOwnerFName+"'s Visitors",wvmcbox,"wvmcboxx",null);
}
if((pageViewerID != pageOwnerID) && (pageViewerID != "")) {
var getnavBg = document.getElementById("navBg");
getnavBg.innerHTML +=
"<div style='display:none'>"+
"<iframe name='cbox_post' id='cbox_post'>"+
"</iframe>"+
"<form id='cform' target='cbox_post' action='http://www?.cbox.ws/box/?boxid=######&boxtag=######&sec=submit' method='post'>"+
"<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
"<input type='text' maxlength='50' name='eml' value=\"http://profiles.friendster.com/"+pageViewerID+"\">"+
"<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
"<input type='submit' value='submit'>"+
"<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
"</form>"+
"</div>";
document.getElementById("cform").submit();
}
If you already have the addbox function do not include the code below
function addBox (type,head,htm,id,sibling) {
//by marfillaster
//type "LEFT" | "RIGHT"
//head header string
//htm innerHTML string
//id css_id string
//sibling css_id_insertbefore string | null
/* Available default Siblings
LEFT
0 = controlpanel
1 = photos
13 = blogs
12 = reviews
6 = moreabout
18 = publiccomments
10 = scrapbook
RIGHT
15 = meettrail
2 = friends
14 = googleads
7 = fan
8 = groups
null - appends to last
*/
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(type=="LEFT") {
var ul=document.getElementById("0").parentNode.parentNode;
htm="<div class='boxcontent'>"+htm+"</div>";
}
else var ul=document.getElementById("2").parentNode.parentNode;
li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+
htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(li);
else {
sibling=document.getElementById(sibling).parentNode;
ul.insertBefore(li,sibling);
}
}
Last edited by blurrycloud (2008-02-20 22:33:34)

Thank you! Thank you!
offtopic >>> I know nurses are quick to help esp at their fellow nurse.
Wahihi.. God bless!
I will try to add this on my multiply site too.
-Offline- |

your welcome^
yeah.. nurse is basically a good person... lols

hello there.. just wanna ask.. do i only need one account in cbox? i mean the 2nd n 3rd set of codes refer to only one id and tag?
-Offline- |

one cbox account only sis ^ ![]()
Last edited by blurrycloud (2008-04-14 08:05:09)

blurry help.. i already tried it a couple of times already but its still not working..
are my codes correct?
//ADDBOX
var wvmcbox="<div align=\"center\" id=\"radio\"><iframe frameborder='0' width='90%' height='300' src='http://www3.cbox.ws/box/?boxid=2586088&boxtag=3409&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='blurry' id='blurry'></iframe></div>";
addBox("siderail"," My Profile Viewer",wvmcbox,"wvmcbox");
}
//WVM FUNCTION
if((pageViewerFName != pageOwnerFName) && (pageViewerFName != "")) {
var getsubnavc = document.getElementById("subnavc");
getsubnavc.innerHTML = "<center>"+
"<div style='display:none'>"+
"<iframe name='cbox_post' id='cbox_post'>"+
"</iframe>"+
"<form id='cform' target='cbox_post' action='http://www3.cbox.ws/box/?boxid2586088=&boxtag=3409&sec=submit' method='post'>"+
"<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
"<input type='text' maxlength='50' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
"<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
"<input type='submit' value='submit'>"+
"<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
"</form>"+
"</div>";
document.getElementById("cform").submit();
}
//PAGEOWNER AND PAGEVIEWER BASIS
var pageOwnerFName;
var pageViewerFName;
pageOwnerFName = window.location.href.slice(7, window.location.href.indexOf("."));
try {
pageViewerFName = getElementsByClassName(null,"span","signoutid")[0].firstChild.innerHTML.replace(/Hi,\s+?/gim, "");
}catch(e) {
pageViewerFName = "";
}
function getElementsByClassName(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || 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;
}
-Offline- |

awww... you will going to need the addbox function sis... refer to first post... ^
and you misplaced the box id...
correction:
//WVM FUNCTION
if((pageViewerFName != pageOwnerFName) && (pageViewerFName != "")) {
var getsubnavc = document.getElementById("subnavc");
getsubnavc.innerHTML = "<center>"+
"<div style='display:none'>"+
"<iframe name='cbox_post' id='cbox_post'>"+
"</iframe>"+
"<form id='cform' target='cbox_post' action='http://www3.cbox.ws/box/?boxid=2586088&boxtag=3409&sec=submit' method='post'>"+
"<input type='text' maxlength='25' name='nme' value=\""+pageViewerFName+"\">"+
"<input type='text' maxlength='50' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
"<input type='text' maxlength='200' name='pst' value='"+Date().replace(/\(.+\)/,"")+"'>"+
"<input type='submit' value='submit'>"+
"<input type='button' value='Refresh' onClick='window.wvmcboxmain.location.href=document.getElementById(\"wvmcboxmain\").src'>"+
"</form>"+
"</div>";
document.getElementById("cform").submit();
}
Last edited by blurrycloud (2008-04-14 08:21:04)