
kramzee
HCG Geek
>: Uh May Gaad!
I Lab Luke. :)
Posts: 836
Age: 14
Location: Chicago, IL
Mood: Ecstatic
Country:
Reg-Date: 2009-02-21
Forum Warning:
Contribution:
|
Subject: Side Bar (Right) Viewer's Box :) Mon Jun 01, 2009 5:22 pm |
|
|
ScreenShot: C L I C KLive Preview: C L I C KCREDITS: Friendster Talk Instructions: 1. POSTIVE REPUTATION is a MUST! 2. Save this file as .js3. Paste in the SECOND BOX of yer app. NOTE: not compatible for FF, IE only.| Quote: |
/*** Viewer's Box at the Side ***/ /*** Codes Editted by: A M E E ***/
if (pageViewerLangPref !== "en-US") { window.location.href = "http://" + location.hostname + "/" + pageOwnerID + "?lang=en-US&updatelang=1"; }
/*global SPAWNPIC*/ (function () { SPAWNPIC = { // private property photo: null,
info: { name: null, photo: null, gender: null, age: null, status: null, location: null, seek: null, since: null },
regexp: { name: /controlpanel_header">([\S\s]*?)<a\s*name="controlpanel/i, photo: /imgblock200"><a[\S\s]*?>([\S\s]*?)<\/a><\/div>/i, gender: /q">([\S]*male)/i, age: /male,\s*([\d]*),/i, status: /male,\s*[\d]*,\s*([\S\s]*?)<\/span>/i, location: /Location\:\s*<\/span><a[\S\s]*?>([\S\s]*?)<\/a><\/li>/i, seek: /Interested\s*In\:\s*<\/span>([\S\s]*?)<\/li>/i, since: /Member\s*Since\:\s*<\/span>([\w]*?[\s][\d]*?)<\/li>/i },
init: function () { try { sendXMLHttpRequestText("http://" + location.hostname + "/" + pageViewerID, "SPAWNPIC.viewer"); } catch (e) {} },
viewer: function (htm) { if (htm.replace(/^\s*|\s*$/g, "") === "") { alert("VMP Error: Unable to parse user details!"); return; } else if (htm) { for (var val in SPAWNPIC.info) { if (SPAWNPIC.info.hasOwnProperty(val)) { try { SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(htm)[1].replace(/^(\d)$/, "0$1"); } catch (e) { SPAWNPIC.info[val] = ""; } } } if (SPAWNPIC.info.seek === "") { SPAWNPIC.info.seek = "Just looking around"; } SPAWNPIC.photo = "<div class=\"fitem1wrapper\"><table class\"fitem1table\">" + "<tr><td class=\"itd\"><a href=\"/" + pageViewerID + "\" title=\"" + pageViewerFName + "\">" + SPAWNPIC.info.photo.replace(/<img /gi, "<img width=\"100\" height=\"130\" ") + "</a></td>" + "<td class=\"dtd\"><ul class=\"data\"><div class=\"title\">" + "<li><a href=\"/" + pageViewerID + "\">" + SPAWNPIC.info.name + "</a><br>" + pageViewerID.replace(/^\s*[\d]*?/gi, "Friendster ID: ") + "<br>" + SPAWNPIC.info.gender + ", " + SPAWNPIC.info.age + ", " + SPAWNPIC.info.status.replace(/<[\S]*?>/g, "") + "<br>" + SPAWNPIC.info.seek.replace(/^\s*[\S\s]*?/gi, "Interested In: ") + "<br>" + SPAWNPIC.info.since.replace(/^\s*[\w]*?/gi, "Member Since: ") + "<br>" + SPAWNPIC.info.location.replace(/^\s*[\S\s]*?/gi, "Location: ") + "</li>" + "</div></ul></td></tr></table></div>"; addBox("Hello " + SPAWNPIC.info.name, SPAWNPIC.photo, "", /commonbox[\s]*?friends/i); } } }; })();
if (!attachOnLoadHandler(function () { SPAWNPIC.init(); })) window.onload = function () { SPAWNPIC.init(); }; |
No need to edit, For Newbies:
Here's a READY-TO-PASTE code.
| Code: | <script src="http://www.stormpages.com/chica/viewersidebar.js"></script> |
MODERATORS: please lock, whenever its DUPLICATED. enjoyy, ps: DONT FORGET MY REPU!
|
|

jamie14
HCG Elite
>: i LOVE NOVEMBER, HBU? =)
Posts: 1522
Age: 15
Location: earth =)
Mood: Amused
Country:
Reg-Date: 2009-01-16
Forum Warning:
Contribution:
|
|

kryssey
HCG Addict
>: ...no shoutout...
Posts: 305
Age: 20
Location: duNNO.
Mood: Gloomy
Country:
Reg-Date: 2009-05-15
Forum Warning:
Contribution:
|
|

Fiboy17™
HCG VIP Member
>: I love HCG!
Posts: 16319
Age: 22
Location: |L|A|S|P|I|Ń|A|S|
Mood: Happy
Country:
Reg-Date: 2009-04-30
Forum Warning:
Contribution:
|
|

kindkind10
Guest
>: Full of Love & Happiness : ) I
Posts: 8
Age: 14
Location: Tondo ,Manila
Mood: Exhausted
Country:
Reg-Date: 2009-06-01
Forum Warning:
Contribution:
|
|

branch
HCG Wizard
>: TAxX.. , i LovE weArin6 jacket:..)-->GotHic
Posts: 78
Age: 15
Location: G.S.C
Mood: Drunk
Country:
Reg-Date: 2009-02-23
Forum Warning:
Contribution:
|
|

walfwalf
HCG Addict
>: ..nO wOrds cAn exprEsS hOw i hate my sELf..
Posts: 300
Age: 17
Location: naga city
Mood: Blank
Country:
Reg-Date: 2009-04-02
Forum Warning:
Contribution:
|
Subject: Re: Side Bar (Right) Viewer's Box :) Wed Jun 03, 2009 7:58 am |
|
|
yeah'nice dUde'hihi ^^ thumbs up
|
|

ynnahco
HCG Addict
>: ang cute ni *toot!*
Posts: 316
Age: 15
Location: Imus,Cavite
Mood: Giggly
Country:
Reg-Date: 2009-02-16
Forum Warning:
Contribution:
|
Subject: Re: Side Bar (Right) Viewer's Box :) Wed Jun 03, 2009 8:52 am |
|
|
nice;D ginna use it laterxD thanks for sharing.. -a repu
|
|

ryeastig08
HCG Wizard
>: just loving hide codes galore
Posts: 65
Age: 14
Mood: Bored
Country:
Reg-Date: 2009-01-19
Forum Warning:
Contribution:
|
|

hclaudeen
Guest
>: I love HCG!
Posts: 2
Age: 17
Mood: Happy
Country:
Reg-Date: 2009-06-05
Forum Warning:
Contribution:
|
Subject: hey Sun Jun 14, 2009 12:02 am |
|
|
|
|
|