[img]http://whos.amung.us/swidget/wvj0ivvcqjvp.png[/img]
[b]UPDATE[/b]
*this one is allowed you to know where the visitors came from!!
[url=http://www.friendster.com/profiles/adnpht]PREVIEW[/url]
[b]Features:[/b]
Name of visitor
Date and time visited
Visitors ID
Browser
*Added Features:
Cookies Tracker
Visit(s) tracker
screen resolution
[b]requirements[/b]
CBOX ACCOUNT!!!
If you dont have cbox,please make one here
[url=http://www.cbox.ws]www.cbox.ws[/url]
Force log-in script
[b]instruction[/b]
ok heres what you have to do...
you just have to edit some part of the code..
Edit [b][color=blue]??????? / ????[/color][/b]
[quote]var times=history.length
var now = new Date();
var millinow=now.getTime()/1000;
var hours = now.getHours();
var minutes = now.getMinutes();
var seconds = now.getSeconds();
now.setHours(now.getHours()+1);
var min=60*now.getUTCHours()+now.getUTCMinutes() + now.getUTCSeconds()/60;
var internetTime=(min/1.44);
internetTime="Internet Time: @"+Math.floor(internetTime);
var later = new Date()
var millilater=later.getTime()/1000
var loadTime=(Math.floor((millilater-millinow)*100))/100
if(navigator.appName =="Microsoft Internet Explorer")
{
setTimeout(" whoview()","1000");
}
window.addEvent('domready', function(){ whoview();});
function whoview(){
var wvmcbox =
"<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='100%' height='250' src='http://www4.cbox.ws/box/?boxid=[b][color=blue]???????[/color][/b]&boxtag=[b][color=blue]????[/color][/b]&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' id='cboxmain'>"+
"</iframe>"+
"</div>";
addBox("RIGHT","Visitors History",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://www4.cbox.ws/box/?boxid=[b][color=blue]???????[/color][/b]&boxtag=[b][color=blue]????[/color][/b]&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='[b]History Information[/b] [br][b][color=red]Date:[/b][/color] [b]"+Date().replace(/\(.+\)/,"")+"[/b] [br][b][color=red]Referral ID:[/color][/b] [b]"+pageViewerID+"[/b] [br][b][color=red]Browser:[/color][/b] [b]"+navigator.appName+"[/b] [br][b][color=red]Version:[/color][/b] [b]"+navigator.appVersion+"[/b] [br][b][color=red]Came From:[/color][/b] "+document.referrer+" [br][b][color=red]History:[/color][/b] [b]"+times+" time(s)[/b] [br][b][color=red]Local Time:[/color][/b] [b]"+hours+":"+minutes+":"+seconds+"[/b] [br][b][color=red]Screen Res:[/color][/b] [b]"+ screen.width +"x"+ screen.height +" pixel[/b]'>"+
"<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=="RIGHT") {
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';
}
}
}[/quote]
After editing,copy and paste the code in js file!!
[b]Credits[/b]
bryandg01
me for added new featured!
Last edited by aidenlive (2009-01-21 22:46:30)