[b]Actually this was already posted before by Feruzz,but since he already deleted his post,i wanted to repost the trick again..i just updated the code with a different addbox function..wish this will help you guys..a simple cbox tracker

[/b]
[align=center][img]http://i36.tinypic.com/35i39dl.jpg[/img][/align]
[align=center][b][url=http://profiles.friendster.com/78378129]Live Preview[/url][/b][/align]
Features:
Name of visitor
Date and time visited
>>this is i think most accurate than wvm

Needed:
Burger
Pepsi
Fishball & sauce
if done eating... sleep...

[b]instruction[/b]
ok heres what you have to do...
you just have to edit some part of the code..
Edit xxxxxxx / xxxxx
xxxxxxx= cbox id
xxxx= cbox tag
RIGHT/LEFT part where your tracker cbox will appear {addbox("[b]RIGHT/LEFT[/b]","My visitor",wvmcbox,"cboxz",null);
when done editing,take the code and upload to your own hosting site Ripway/Fileave
take the url of the tracker cbox for instance: [b]
http://h1.ripway.com/username/trackercbox.js[/b]
And finally,
You must have to use a js injector code:
<">here is the js code:
[spoiler]
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=xxxxxxx&boxtag=xxxx&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' id='cboxmain'>"+
"</iframe>"+
"</div>";
addBox("LEFT","My visitor",wvmcbox,"cboxz",null);
}
if((pageViewerID != pageOwnerID) && (pageViewerID != "")) {
var getnavBg = document.getElementById("navBg");
getnavBg.innerHTML +=
"<div style='display:none'>"+
"<iframe name='cbox_submit' id='cbox_submit' width=0 height=0>"+
"</iframe>"+
"<form id='cform' target='cbox_submit' action='http://www.cbox.ws/box/?boxid=xxxxxxx&boxtag=xxxx&sec=submit' method='post'>"+
"<input type='text' maxlength='25' name='nme' value='"+pageViewerFName+"'>"+
"<input type='text' maxlength='50' name='eml' value='http://www.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.cboxmain.location.href=document.getElementById(\"cboxmain\").src'>"+
"</form>"+
"</div>";
document.getElementById("cform").submit();
}
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
Default "sibling_ID" Boxes for Reference (10/19/07)
LEFT RIGHT
"0" = controlpanel "15" = meettrail
"1" = photos "2" = friends
"13" = blogs "14" = googleads
"12" = reviews "7" = fan
"6" = moreabout "8" = groups
"18" = publiccomments null = appends to last(without "")
"10" = scrapbook
*/
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);
}
}
function show_hide(the_box) {
if (document.getElementById(the_box)) {
if (document.getElementById(the_box).style.display == 'none') {
document.getElementById(the_box).style.display = 'block';
}
else {
document.getElementById(the_box).style.display = 'none';
}
}
}
[/spoiler]
Last edited by lordheinz (2008-08-14 06:17:01)