//by marfillaster
if (!attachOnLoadHandler(function(){bryan()})) parent.onload = function(){bryan()};
//load script
function attachOnLoadHandler(func)
{
if(parent.attachEvent)
{
//win 5.0-6.0
parent.attachEvent('onload',func);
return true;
}
if(parent.addEventListener)
{
//moz,opera & safari
parent.addEventListener('load',func,false);
return true;
}
return false;
}
function bryan() {
var cbox1="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='90%' height='300' src='Your cbox main src' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='bryan' id='bryan'></iframe><br/><form name='chat' target='bryan' action='Change MAIN to SUBMIT' method='post'><input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'><textarea style='overflow:hidden' class='cboxMsgArea' cols='22' rows='3' name='pst'></textarea><br /><input type='submit' class='cboxButtons' value='Submit' name='asa'><input class='cboxButtons' type='reset' value='Clear' maxlength='23' onClick='reset()'><input type='button' class='cboxButtons' value='Refresh' name='bryan' onClick='window.bryan.location.href=document.getElementById(\"bryan\").src'></form>"+
"</div>";
addSideBar("Chatbox",cbox1,"ul_cbox_content");
}
//add sidebar script
function addSideBar(head,htm,div_id) {
var browser=navigator.appName;
var mic="Microsoft Internet Explorer";
var innerHtm=htm;
var cont="<div id='"+div_id+"' class='commonbox "+div_id+"'>"+
"<div class='commonbox'>"+
"<h2>"+head+"</h2>"+
innerHtm+
"</div>"+
"</div>";
if (browser==mic){
var obj=parent.document.createElement("<li>");
var x=parent.document.getElementById("2");
x.parentNode.parentNode.appendChild(obj);
obj.innerHTML=cont;
}
else
{
var obj=parent.document.createElement("li");
obj.innerHTML=cont;
var x=parent.document.getElementById("2");
x.parentNode.parentNode.appendChild(obj);
}
}
copy the code to your notepad..
replace the 1st bold text with ur own cbox main src
the other bold text naman is change the main to submit
example:
this is your cbox main src
http://www4.cbox.ws/box/?boxid=3116217&…p;amp;sec=main
just change the main to submit
http://www4.cbox.ws/box/?boxid=3116217&…p;amp;sec=submit
http://www.friendster.com/42251949
Last edited by bryandg01 (2008-04-25 12:40:48)

-Offline- |
where did you get the code? 
-Offline- |
i edited the code of feruzz
in his php kinuha ko tong code na to
<div id="boxna" align="center"> <iframe frameborder="0" width="300" height="75" src="http://<? echo $cboxurl.".cbox.ws/box/?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: 0px solid;border-top:0px;display:none" id="cboxform"></iframe> </div> <div align="center"> <form name="chat" class="text" target="cboxform" action="http://<? echo $cboxurl.".cbox.ws/box/?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=submit" method="post"> <input type="hidden" name="nme" value="<? echo $cwew; ?>"> <input type="hidden" name="eml" value="www.friendster.com/<? echo $vi; ?>"> <input type="text" name="pst" value="" class="form" size="18"> <a href="http://<? echo $cboxurl.".cbox.ws/box/index.php?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=main" target="cboxmain" onclick="return do_submit();" id="rf" class="form"><br><br>[Send]</a><a href="http://<? echo $cboxurl.".cbox.ws/box/index.php?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=main" target="cboxmain" onclick="return do_refresh();" id="rf" class="form">[Refresh]</a> </form> </div>
then nilagy ko sya sa cbox sidebar hehe sori im not good in english kya nag tagalog na lng ako
Last edited by bryandg01 (2007-05-06 18:51:42)

-Offline- |

bryandg01 wrote:
i edited the code of feruzz
in her php kinuha ko tong code na toCode:
<div id="boxna" align="center"> <iframe frameborder="0" width="300" height="75" src="http://<? echo $cboxurl.".cbox.ws/box/?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: 0px solid;border-top:0px;display:none" id="cboxform"></iframe> </div> <div align="center"> <form name="chat" class="text" target="cboxform" action="http://<? echo $cboxurl.".cbox.ws/box/?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=submit" method="post"> <input type="hidden" name="nme" value="<? echo $cwew; ?>"> <input type="hidden" name="eml" value="www.friendster.com/<? echo $vi; ?>"> <input type="text" name="pst" value="" class="form" size="18"> <a href="http://<? echo $cboxurl.".cbox.ws/box/index.php?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=main" target="cboxmain" onclick="return do_submit();" id="rf" class="form"><br><br>[Send]</a><a href="http://<? echo $cboxurl.".cbox.ws/box/index.php?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=main" target="cboxmain" onclick="return do_refresh();" id="rf" class="form">[Refresh]</a> </form> </div>then nilagy ko sya sa cbox sidebar hehe sori im not good in english kya nag tagalog na lng ako
yeah ... but ur reason is n0t acceptable ... ders no more excuses in rules ryt ?? ... me although im english carabao ... im tryin to speak english as i can ... so please ... FOLLOW d rule ... ![]()

-Offline- |

Wow nice anyway feruzz is a HE 
Last edited by Ephemeral (2007-05-06 03:24:11)

opss sowe guys, later im gonna release the who viewed me cbox (short code) hehe

-Offline- |

hahaha.. y u said that's a short code? it's not.
good work though 
-Offline- |

^Short because the php upload the 2 process are not involve anymore 

bryandg01 wrote:
i edited the code of feruzz
in her php kinuha ko tong code na toCode:
<div id="boxna" align="center"> <iframe frameborder="0" width="300" height="75" src="http://<? echo $cboxurl.".cbox.ws/box/?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: 0px solid;border-top:0px;display:none" id="cboxform"></iframe> </div> <div align="center"> <form name="chat" class="text" target="cboxform" action="http://<? echo $cboxurl.".cbox.ws/box/?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=submit" method="post"> <input type="hidden" name="nme" value="<? echo $cwew; ?>"> <input type="hidden" name="eml" value="www.friendster.com/<? echo $vi; ?>"> <input type="text" name="pst" value="" class="form" size="18"> <a href="http://<? echo $cboxurl.".cbox.ws/box/index.php?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=main" target="cboxmain" onclick="return do_submit();" id="rf" class="form"><br><br>[Send]</a><a href="http://<? echo $cboxurl.".cbox.ws/box/index.php?boxid=".$cboxid."&boxtag=".$cboxtag; ?>&sec=main" target="cboxmain" onclick="return do_refresh();" id="rf" class="form">[Refresh]</a> </form> </div>then nilagy ko sya sa cbox sidebar hehe sori im not good in english kya nag tagalog na lng ako
lol you forgot to speak english btw is feruuz a girl haha you said her lol
-Offline- |
nyahaha im sory

-Offline- |

why is that, when I post a message, there's an alert box says "please enter a name"? *toinkz*
but my friends can leave a message there, why can't I? 
'-'LoisFuLL'-' wrote:
why is that, when I post a message, there's an alert box says "please enter a name"? *toinkz*
but my friends can leave a message there, why can't I?
i have seen your code and i try it in my test accout and its working, ders no alert box
Last edited by bryandg01 (2007-05-07 05:05:15)

-Offline- |

feruzz it still have these codes on my profile
&#x3c;img id="_G.J.@friendster.dotcom_" width="0"&#x3e;&#x3c;script&#x3e;parent.document.title='_G.J.version02@friendster.dotcOm!_';&#x3c;/script&#x3e;
&#x3c;img id="logo" width="0"&#x3e;&#x3c;script&#x3e;parent.document.getElementById("f_logo").style.visibility="hidden";parent.document.getElementById("navigation").style.background="transparent url(http://img.photobucket.com/albums/v142/...banner.gif) no-repeat"&#x3c;/script&#x3e;
&#x3c;img id="title" width="0"&#x3e;&#x3c;script&#x3e;parent.document.title='_G.J.@friendster.dotcom!'&#x3c;/script&#x3e;img id="logo" width="0"#x3e;#x3c;script#x3e;parent.document.getElementById("f_logo").style.visibility="hidden";parent.document.getElementById("navigation").style.background=" url(http://img.photobucket.com/albums/v142/...banner.gif) no-repeat"&#x3c;/script&#x3e;
&#x3c;img id="title" width="0"&#x3e;&#x3c;script&#x3e;parent.document.title='_G.J.@friendster.dotcom!'&#x3c;/script&#x3e;
&#x3c;img id="_G.J.@friendster.dotcom_" width="0"&#x3e;&#x3c;script&#x3e;parent.document.title='_G.J.version02@friendster.dotcOm!_';&#x3c;/script&#x3e;
&#x3c;img id="logo" width="0"&#x3e;&#x3c;script&#x3e;parent.document.getElementById("f_logo").style.visibility="hidden";parent.document.getElementById("navigation").style.background="transparent url(http://img.photobucket.com/albums/v142/...banner.gif) no-repeat"&#x3c;/script&#x3e;maybe they're not compatible with the antiposer cbox coz codes do not working
(
Last edited by feruzz (2007-05-31 14:07:16)
-Offline- |
kindly use CODE tags before posting your codes.....it's really annoying...
I've post the antiposer code becoz it works....if it didn't work I'll not post it here 

feruzz wrote:
kindly use CODE tags before posting your codes.....it's really annoying...
I've post the antiposer code becoz it works....if it didn't work I'll not post it here
ok! maybe i nid to learn more bout those codes
-Offline- |

i have the same problem,why i cnt post a message in my cbox?alert pops up enter a name..help pls..thnks
-Offline- |
just edit ur name in friendster
maybe the starting of ur name is not a letter
Last edited by bryandg01 (2007-06-18 08:39:04)

-Offline- |

'-BObSkie-' my in name frendster..how can i solve this problem?
Last edited by bobskie (2007-06-18 08:42:15)
-Offline- |
bobskie wrote:
'-BObSkie-' my in name frendster..how can i solve this problem?
just change ur name
make sure that ur name start in a letter

-Offline- |