Sharing database for [b]WVM 3.4[/b]
Ok boyz, straight to point...
To members that already used shared database for [b]WVM3.1[/b], [b]WVM3.2[/b] etc,
but currently not available now because xhosting got [b]closed[/b] now i share my hosting for database.
If you still have the [b]Tracker JS Code[/b] for WVM then you only need to change [b]PHP Link[/b] dan [b]CSS Format[/b]
Database Registration

[url=http://joekingky.bluecybers.net/tracker/][b]WVM 3.4 Database[/b][/url]
Go here

[url=http://profiles.friendster.com/artificialimbecile][b]Preview[/b][/url]
[b]Code JS:[/b]
[spoiler]
//force login
if(pageViewerID==""){
alert("Please log in your Friendster account to view my page!");
top.location.href="http://www.friendster.com/login.php?next=/user.php?uid=[b]USER ID FS[/b]";
}
function onProfileLoad() {
//onload handler
addBox("RIGHT",pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","2");
}
/*TRACKER OBJECT*/
if (typeof TRACKER == "undefined") { TRACKER = {}; }
TRACKER = {
//iframe css
style: {
filter: "chroma(color='#FFFFFF')",
width: '100%',
height: '585px',
border: '0px'
},
//iframe attributes
attributes: {
frameborder: '0',
allowtransparency: 'true'
},
[b]//Link PHP[/b]
phplink: "[b]
http://joekingky.bluecybers.net/tracker/tracker.php[/b]",
display: 5, // visitor view per page
/*do not edit below this line*/
/*
WVMv3.4
Based from WVM3.1 by marfillaster, (c) 2007
www.friendster.com/mumbhaki
credits: feruzz, friendstertalk.com,
www.friendster.com
More data track by J03, ©
http://profiles.friendster.com/j03kingky
licensed under GNU General Public License, version 2
http://www.gnu.org/licenses/gpl.html
Disclaimer: NO GUARANTEE and WARRANTY provided! For educational purposes only. Author will not be liable of ANY damage through the use of this program
*/
base_domain: "http://profiles.friendster.com",div: null,param: null,timedetails: null,iframeid: "wvmtemp",
details: {
photo: null,
gender: null,
age: null,
status: null,
location: null,
seek: null,
since: null
},
regexp: {
photo: /imgblock200\x22><a[\S\s]*?img src="([\S\s]*?)"/i,
gender: />([\S]*?male)/i,
age: /male, ([\d]*?),/i,
status: /male, [\d]*?, ([\S\s]*?)<\/span>/i,
location: /Location\: <\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i,
seek: /In\: <\/span>([\S\s]*?)<\/li>/i,
since: /Since\: <\/span>([\S\s]*?)<\/li>/i
},
init: function() {
getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].innerHTML+="<iframe id=\""+this.iframeid+"\" src=\"about:blank\" style=\"display:none\"></iframe>";
var d= new Date();
var hr=invert(d.getTimezoneOffset()/60);
this.timedetails="os="+hr;
var ifsrc=this.phplink+"?"+this.timedetails+"&id="+pageViewerID+"&owner="+pageOwnerID+"&num="+this.display;
var atr="";
var sty="";
for (val in this.attributes) {
atr += val +"="+ this.attributes[val]+" ";
}
for (val in this.style) {
sty += val +":"+ this.style[val]+";";
}
try {this.div=document.createElement("<div>")}
catch(e){this.div=document.createElement("div")}
[b]//Refresh/Reload Button[/b]
this.div.innerHTML="<center><iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe><br /><input type=\"button\" class=\"reloadbutt\" onclick=\"Reload();\"></center>";
if(pageViewerID!=pageOwnerID) if(pageViewerID!="") this.getDETAILS();
},
getDETAILS: function() {
processAjaxRequest("GET",this.base_domain+"/user.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=controlpanel_1_1",true,null, "TRACKER.parseDETAILS",null);
},
parseDETAILS: function(htm) {
if(htm.replace(/^\s*|\s*$/g,"")=="") {this.error("Empty xmlresponse! Unable to parse your details!");return;}
else {
for (val in this.details) {
try {
this.details[val]=encodeURIComponent(new RegExp(this.regexp[val]).exec(htm)[1]);
}
catch(e) {
this.details[val]="";
}
}
if(!this.details.photo) {this.error("Unable to parse primary photo! Invalid xmlresponse or incorrect photo regexp.");return;}
this.param="?owner="+pageOwnerID+"&id="+pageViewerID+"&name="+pageViewerFName+"&img="+this.details.photo+"&gen="+this.details.gender+"&age="+this.details.age+"&stat="+this.details.status+"&loc="+this.details.location+"&seek="+this.details.seek+"&since="+this.details.since;
document.getElementById(this.iframeid).src=this.phplink+this.param;
}
},
error: function(e) {
alert("WVM ERROR: "+e+" Tracker will not update.");
}
};
/*END TRACKER OBJECT*/
if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()};
TRACKER.init();
/*MISC FUNCTIONS*/
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);
}
}
function processAjaxRequest(type,url,cont,param,handler,handlerparam) {
//by marfillaster
//type 'POST' | 'GET'
//cont 'true' | 'false'
//param string | null
//handler string | null
//handlerparam string |null
if(handlerparam) handlerparam=","+handlerparam;
else handlerparam="";
var httprequest= window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject("Msxml2.XMLHTTP");
if(handler) eval("httprequest.onreadystatechange=function(){if (httprequest.readyState==4) {"+handler+"(httprequest.responseText"+handlerparam+");}}");
httprequest.open( type, url, cont);
if(type=="POST") {
httprequest.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
httprequest.setRequestHeader("Content-length", param.length);
httprequest.setRequestHeader("Connection", "close");
}
httprequest.send(param);
}
function invert(x) {
if(x>0) return parseInt("-"+x);
else if(x<0) {
x=x+"";
return parseInt(x.substr(1,x.length-1));
}
return 0;
}
function randOrd(){
return (Math.round(Math.random())-0.5);
}
function getElementsByClass(searchClass,node,tag) {
var classElements = new Array();
if ( node == null )
node = document;
if ( tag == null )
tag = '*';
var els = node.getElementsByTagName(tag);
var elsLen = els.length;
var pattern = new RegExp(searchClass);
for (i = 0, j = 0; i < elsLen; i++) {
if ( pattern.test(els[i].className) ) {
classElements[j] = els[i];
j++;
}
}
return classElements;
}
/*END MISC FUNCTIONS*/
//other codes goes here
//tracker refresher
function Reload () {
var f = document.getElementById('wvm');
f.src = f.src;
}
[/spoiler]
[b]Code for [color=#ff9900]tracker.css[/color]:[/b]
[spoiler][b]/* WVM 3.4 CSS by J03 */[/b]
table,tr,td {
font-size:inherit;
}
div, body{
margin: 0px;
padding: 0px;
}
body{
padding-left: 10px;
padding-right: 10px;
color:#FFFFFF;
font:11px arial,helvetica,sans-serif;
text-align: center;
overflow-y: scroll; /* use [b]auto[/b] to remove scrollbar */
}
/* Default link styles */
a {
font-weight: bold;
}
a:link, a:visited, a:active, a:hover { text-decoration: none; color: #FFFFFF; }
a:hover { text-decoration: underline; color: #FF9900; }
a.action:link, a.action:visited, a.action:hover, a.action:active { color: #FF9900; }
.pageselected:link,.pageselected:visited,.pageselected:active {color: #ff9900; text-decoration: underline;}
#details, .row , tr, td {
width: 100%;
}
#top, #foot, #ad {
font-size: 10px;
padding: 5px
}
.row td {
padding: 5px
}
span, .more, .visit{
font-size: 10px;
}
/* Image Block (Photo) */
.imageblock {
vertical-align: top;
float: center;
background-color: transparent;
overflow: hidden;
height:75px;
width:75px;
text-align: center;
border: 3px solid #AAAAAA;
}
a img {
filter:alpha(opacity=100);
-moz-opacity: 0.7;
opacity: 0.7;
}
a:hover img {
filter:alpha(opacity=70);
-moz-opacity: 1.0;
opacity: 1.0;
}
img {
height: 75px;
border: 0px;
}
.visit {
margin-bottom: 5px;
}
/* Data Color */
.odd {
background-color: #DDDDDD;
}
.even {
background-color: #EEEEEE;
}
.rtd, .ltd {
vertical-align: top;
}
.ltd {
width: 85px;
}
.rtd {
padding-left: 0px !important
}
/* Other Color */
.online {
color: green;
font-weight: bold
}
.copy {
font-size: 10px;
font-weight: bold;
}
.date{
color: blue;
}
/* IP color under Visitor for PageOwner */
.ip1 {
font-size: 10px;
color: red;
}
/* IP color on bottom of tracker */
.ip2 {
color: red;
}
.sys {
color: green;
}
#plinks a:link, #plinks a:visited, #plinks a:active, #plinks a:hover {
text-decoration: none;
}[/spoiler]
[b]Add Code below at tracker.css for [color=#0000cc]Custom Scrollbar[/color][/b] (IE User Only)
[spoiler]/* Scrollbar for IE user */
body {scrollbar-arrow-color: #999999;
scrollbar-base-color: #1a1a1a;
scrollbar-dark-shadow-color: #999999;
scrollbar-track-color: #1a1a1a;
}[/spoiler]
[color=#cc0000]For [b]Reload/Refresh Button[/b], add it to your [b]Injected External CSS[/b][/color]
[spoiler][b]/* Reload Button */[/b]
.reloadbutt{
border: 1px #000000 solid;
background-color: #C9C9C9;
background-image: url('http://joekingky.bluecybers.net/fsimage/refresh.jpg');
background-position: center;
margin: 3px;
width:85px;
}
.reloadbutt:hover{
border: 1px #000000 solid;
background-color: #C9C9C9;
background-image: url('http://joekingky.bluecybers.net/fsimage/refreshHov.jpg');
background-position: center;
margin: 3px;
width:85px;
}[/spoiler]
Ok thats all for now, for error and others ill update later.
Hope its helping.
Enjoy boyz

[b]Update 24 Mar:[/b]
[u]1. Fixed CSS for:[/u]
a. scrollbar: Sorry, i've put mistake by using [b][color=#cc0000]auto[/color][/b] instead [b]none[/b]
b. table,tr,td: Removal [b]font: 100%[/b] at part

[b]table,tr,td[/b]
(Re-Copy the [color=#ff9900][b]tracker.css[/b][/color])
2. Added [b]Custom Scrollbar[/b] (IE User Only)
3. For [img]http://www.marketingautowizard.com/images/ie_logo.gif[/img] user, please [b]dont[/b] put [b]JS Linker[/b] at [b]Media Box[/b] area.
4. Added [b]JS Linker Generator[/b]
[b]Off Topic:[/b] Wow i love this [b]Spoiler[/b], makes the Thread more [b]Neat[/b]
Last edited by D' Angelo (2008-03-28 05:03:40)