friendsterTalk - Friendster Forum

friendsterTalk - Friendster Forum

Welcome guest! Please Login or Register.

  • JavaScript
  •  » WVMv3.1.1 Sharing Database (with blacklizard's modifications)

#1  2008-08-22 11:41:46

blacklizard_return
» FriendsterTalker
blacklizard_return's display avatar
Friendstertalk University
Location: Malaysia
Registered: 2008-05-18
Posts: 166
Last visit: 2008-11-06
Reputation: 14
Friendster

WVMv3.1.1 Sharing Database (with blacklizard's modifications)

Image error fixed =)
Screen Shot


LIVE PREVIEW

Wat you need :arrow:
    -fileave account to host tracker.css file
    -Friendster profile
    -Patient ;)

Features:arrow:
    - 99% Uptime (No Suspension)
    - Fast Loading
    - Online Status Image
    - Plus more

tracker.css

Copy the code below and paste in notepad and save it as "tracker.css"

Code:

/* Reset and base font: base font = Arial 11px/1.22em, #555555 (scale: 10px = 90%; 12px = 109%; 14px = 127%; 16px = 145%) */
body, div, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, th, td {
    margin: 0;
    padding: 0;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset, img {
    border: 0;
}
ol, ul {
    list-style: none;
}
h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
}
body {
    color: #555555;
    font: 11px arial,helvetica,sans-serif;
}
table {
    font-size: inherit;
    font: 100%;
}
select, input, textarea {
    font: 99% arial,helvetica,sans-serif;
}
/*body * {line-height:1.22em;}*/
* img {
    vertical-align: bottom;
}
/*Edit after this line*/
/*BACKGROUND COLOR*/
body {
    background: #dce7ed;
    border: 0px;
}
.even {
    background: #97b6ca;
}
/*BACKGROUND COLOR ENDS HERE*/
/* Default link styles */
a {
    font-weight: bold;
}
a:link, a:visited, a:active, a:hover {
    text-decoration: none;
    color: #004F59;
}
a:hover {
    text-decoration: underline;
    color: #004F59;
}
a.action:link, a.action:visited, a.action:hover, a.action:active {
    color: #004F59;
}
.row {
    width: 100%;
}
span, .more, .visit, .copy {
    font-size: smaller;
}
.imageblock {
    vertical-align: top;
    background-color: #FFFFFE;
    overflow: hidden;
    height: 75px;
    width: 75px;
    text-align: center;
    border: 2px solid #DDDDDD;
}
img {
    height: 75px;
    border: 0px;
}
.visit {
    margin-bottom: 5px;
}
.wrapper {
    width: 285;
}
.ltd {
    width: 85px;
    vertical-align: top;
}
#top, #foot {
    padding-left: 5px;
}
.copy {
    width: 285;
}
.row {
    padding: 5px;
}
sup {
    font-size: .5em;
}
.online {
    color: green;
    font-weight: bold;
}
.strong {
    font-weight: bold;
}
.visit img {
    height: 25px;
    width: 100px;
}

Then upload the saved "tracker.css" to your fileave account

After upload the tracker.css file,get its direct link or you can use my default css file

http://blacklizard.blackapplehost.com/w…racker.css

and proceed to register ur friendster id.

Click HERE to register

Don't know how to find ur friendster user id?
read here
http://friendstertalk.com/t3499-Tutoria…21%21.html

After regestration add the code below to your external js.

Code:

//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=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1";
}

function onProfileLoad() {
//onload handler

addBox("RIGHT",pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","2");

//other onload handler

}

/*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'
    },
   
    //Link PHP
    phplink: "http://blacklizard.blackapplehost.com/wvmpublic/tracker.php",
    display: 5, // visitor view per page
   

/*do not edit below this line*/
/*
WVMv3.1.1
Based from WVM3.1 by marfillaster, (c) 2007 www.friendster.com/mumbhaki
Credit:blacklizard
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")}

        //Refresh/Reload Button
        this.div.innerHTML="<center><iframe id=\"wvm\" "+atr+"src=\""+ifsrc+"\" style=\""+sty+"\"></iframe><br /><input type=\"button\" value=\"REFRESH TRACKER\" 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
function Reload () {
var f = document.getElementById('wvm');
f.src = f.src;
}

Then link your external js file to your profile.

Click the link below to get the linker
http://friendstertalk.com/t31776-Linker…st%5D.html

And thats it.U're done..

Wanna set up your own database?

WARNING For advance user only

All files inside this archive.Download it and host in any web host that support PHP.
enjoy it.lol.

CLICK HERE TO DOWNLOAD

if u'll like my post. fel free to +rep  for me..

Thank You in advance..

Last edited by blacklizard_return (2008-10-11 19:20:49)


VIVIAN       

#2  2008-08-22 11:47:28

---xXirukiTepe---
» FriendsterElite
---xXirukiTepe---'s display avatar
Ill Shoot Your Veins >_<
Naruto Fanz-ShinobiElite
Location: KARAKURA TOWN
Registered: 2007-11-01
Posts: 3750
Reputation: 440
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

wow thnx for posting it hir



Mou Hitori no Kimi e
N ∅ ∑ I N
TRUE: Somebody hacked my other fs account! Grrr! add my new 1

#3  2008-08-22 11:49:26

blacklizard_return
» FriendsterTalker
blacklizard_return's display avatar
Friendstertalk University
Location: Malaysia
Registered: 2008-05-18
Posts: 166
Last visit: 2008-11-06
Reputation: 14
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

welcome gurl..fell free to use it.. :thumbsup::thumbsup:


VIVIAN       

#4  2008-08-22 13:29:23

deathripper
» FriendsterNewbie
Registered: 2008-08-05
Posts: 23
Last visit: 2008-10-20
Reputation: ~

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

uhm.. where can i find the detailed one on this code?

#5  2008-08-23 01:04:59

EbengMaya
» FriendsterAgent
EbengMaya's display avatar
gelo ciah maneh hahaha
Location: garut aing mah
Registered: 2008-02-09
Posts: 2406
Last visit: Today
Reputation: 99
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

wow nice modift dude :o

good job my friend + rep for u

#6  2008-08-23 02:01:48

adhie46
» FriendsterAddict
adhie46's display avatar
Retired Master Friendster
Executive Coder
Location: W................C
Registered: 2008-04-28
Posts: 334
Last visit: Today
Reputation: 20
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

Nice WVM...

I Like...


Openning this thread

http://friendstertalk.com/t51170-%7BTut…-List.html

W.V.M Pertama ku....

#7  2008-08-23 07:56:40

blacklizard_return
» FriendsterTalker
blacklizard_return's display avatar
Friendstertalk University
Location: Malaysia
Registered: 2008-05-18
Posts: 166
Last visit: 2008-11-06
Reputation: 14
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

Minor flaw fixed..


VIVIAN       

#8  2008-08-23 08:52:46

darylldelfin
» Promoter
darylldelfin's display avatar
-tentenenen!! XD
Location: -MARS-
Registered: 2008-02-29
Posts: 1612
Reputation: 142
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

offtopic:

:arrow: TS .. mind removing my player there on ur page?  :penguin: :penguin:

dont be lazy to make ur own playlist .. got it from poqbum.com anyways ..

Last edited by darylldelfin (2008-08-23 08:53:10)


Oh Hiatus .. Haha . :]]

#9  2008-08-23 08:54:32

blacklizard_return
» FriendsterTalker
blacklizard_return's display avatar
Friendstertalk University
Location: Malaysia
Registered: 2008-05-18
Posts: 166
Last visit: 2008-11-06
Reputation: 14
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

darylldelfin wrote:

offtopic:

:arrow: TS .. mind removing my player there on ur page?  :penguin: :penguin:

dont be lazy to make ur own playlist .. got it from poqbum.com anyways ..

sory bro..kinda lazy to find songs..that y..reli sory bro..


VIVIAN       

#10  2008-08-23 08:55:51

darylldelfin
» Promoter
darylldelfin's display avatar
-tentenenen!! XD
Location: -MARS-
Registered: 2008-02-29
Posts: 1612
Reputation: 142
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

blacklizard_return wrote:

sory bro..kinda lazy to find songs..that y..reli sory bro..

naah .. it's ok .. :D:thumbsup: just remove it on ur page .. i dont like sharing bandwidths .. :smoke:


Oh Hiatus .. Haha . :]]

#11  2008-08-23 11:45:46

mario_maurer
» FriendsterNewbie
mario_maurer's display avatar
Registered: 2008-07-05
Posts: 36
Last visit: 2008-11-30
Reputation: -1
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

nice one!
:arrow: can i ask if it is possible to hide the visitor section in my profile?
i mean that my visitor can't see that i have this tracker
but still i can view my visitor in another link.

#12  2008-08-23 13:35:39

mario_maurer
» FriendsterNewbie
mario_maurer's display avatar
Registered: 2008-07-05
Posts: 36
Last visit: 2008-11-30
Reputation: -1
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

^ i made it but not hiding it
i renamed viwers name visitors to another name
and resize the height of the box to 2 pixels

now no one would know i have a tracker

#13  2008-08-23 14:37:00

blacklizard_return
» FriendsterTalker
blacklizard_return's display avatar
Friendstertalk University
Location: Malaysia
Registered: 2008-05-18
Posts: 166
Last visit: 2008-11-06
Reputation: 14
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

mario_maurer wrote:

nice one!
:arrow: can i ask if it is possible to hide the visitor section in my profile?
i mean that my visitor can't see that i have this tracker
but still i can view my visitor in another link.

mario_maurer wrote:

^ i made it but not hiding it
i renamed viwers name visitors to another name
and resize the height of the box to 2 pixels

now no one would know i have a tracker

good job..ease my work..lol..


VIVIAN       

#14  2008-08-24 01:01:22

nurfara
» FriendsterTalker
nurfara's display avatar
Fara Farella
Location: singapore
Registered: 2007-07-06
Posts: 136
Last visit: 2008-11-25
Reputation: 1
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

Thank yu for sharing ur database. i'm using it now :thumbsup:

#15  2008-08-24 05:36:41

ken04che
» FriendsterNewbie
ken04che's display avatar
→ cheskalicioussss&#9829
Location: lipa
Registered: 2008-04-07
Posts: 3
Last visit: 2008-09-14
Reputation: ~
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

thanks for the code !

buti pa to madali . =):thumbsup:


:arrow: if people want to hate me for a reason, i just let them.. coz obviously they are either insecure , jealous. or simply a b*tch . ;)

#16  2008-08-24 09:24:40

switchxz
» FriendsterNewbie
Registered: 2008-08-22
Posts: 8
Last visit: 2008-11-22
Reputation: ~

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

just ask....what if i want to change the tracker.css ang register again??
how can i delete the first file i have registered for i am using the same fs id??
please tell me

#17  2008-08-24 09:29:27

---xXirukiTepe---
» FriendsterElite
---xXirukiTepe---'s display avatar
Ill Shoot Your Veins >_<
Naruto Fanz-ShinobiElite
Location: KARAKURA TOWN
Registered: 2007-11-01
Posts: 3750
Reputation: 440
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

heyah double posting is prohibited. Pls do avoid that.!



Mou Hitori no Kimi e
N ∅ ∑ I N
TRUE: Somebody hacked my other fs account! Grrr! add my new 1

#18  2008-08-24 11:47:40

switchxz
» FriendsterNewbie
Registered: 2008-08-22
Posts: 8
Last visit: 2008-11-22
Reputation: ~

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

just ask....what if i want to change the tracker.css ang register again??
how can i delete the first file i have registered for i am using the same fs id??
please tell me

#19  2008-08-24 12:00:17

switchxz
» FriendsterNewbie
Registered: 2008-08-22
Posts: 8
Last visit: 2008-11-22
Reputation: ~

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

just ask....what if i want to change the tracker.css ang register again??
how can i delete the first file i have registered for i am using the same fs id??
please tell me

#20  2008-08-24 20:09:50

agam78
» FriendsterTalker
agam78's display avatar
Location: PemP3k PalembanG
Registered: 2008-05-23
Posts: 260
Last visit: 2008-11-28
Reputation: 12
Friendster

Re: WVMv3.1.1 Sharing Database (with blacklizard's modifications)

nice share broth.. hehe..  :rose:
i want code min/max box visitor tracker n tooltip cursor.. :question: :eh: thanks...

Last edited by agam78 (2008-08-24 20:14:03)

  • JavaScript
  •  » WVMv3.1.1 Sharing Database (with blacklizard's modifications)

Search Friendstertalk

Board footer

FriendsterTalk is not affiliated with Friendster.com
Copyright © 2002–2008 PunBB

[ 28 queries - 0.526 second ]

Pay Per Click Ads by pay per click advertising by Kontera

FriendsterTalk.com x

Welcome to FriendsterTalk! You'll need to login in order to fully use all the features and view all the sections of this site.

Please register if you're not yet a member. =)