Top Preview of Anti Poser Cbox: [img]http://img100.imageshack.us/img100/9855/avatarrg0.jpg[/img]
Bottom Preview of Anti Poser Cbox: [img]http://img150.imageshack.us/img150/6942/autoavatarhz3.jpg[/img]
Additional Addons for your CBOX... BB CODES and SMILEYS + AUTO AVATAR

Requirements: CBOX account

What You don't have cbox account?
Register here: [url]cbox.ws[/url]

Just change the, id=[b]??????[/b] tag=[b]??????[/b] [b]www?[/b]

Insert this inside your onload handler....

First Code
[quote]var cboxe="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='98%' height='300' src='http://[b]www?[/b].cbox.ws/box/?boxid=[b]?????[/b]&boxtag=[b]?????[/b]&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='sbox' id='sbox'></iframe><br/>"+
"<form name='cbox' method='post' target='sbox' action='http://[b]www?[/b].cbox.ws/box/?boxid=[b]?????[/b]&boxtag=[b]?????[/b]&sec=submit'>"+
"<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=\"45' rows=\"4\" name=\"pst\"></textarea><br>"+
"<input type=\"submit\" class=\"cboxButtons\" value=\"Send\" target=\"sbox\" name=\"sub\" onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"> "+
"<input type=\"reset\" class=\"cboxButtons\" value=\"Clear\" maxlength=\"25\" onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"> "+"<input type='button' class='cboxButtons' value='Refresh' name='sbox' onClick='window.cboxmain.location.href=document.getElementById(\"cboxmain\").src' onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"></br>"+"<div id='show' style='display:inline;background-color:none;border:none;font-family:Papyrus;font-weight:bold;font-size:11;'><a title='Open Smilies Menu'><input style=\"padding: 3px 0; margin: 8px 0 6px 0;font-family:Papyrus;font-weight:bold;color:#ff0033;border:2px inside #00ffff;background-color:black\" type=\"button\" onClick=\"javascript:showForm();\" value=\"BB Codes +\"></a></div>"+
"<div id='close' style='display:none;background-color:none;border:none;font-family:Papyrus;font-weight:bold;font-size:11;'><a title='Close Smilies Menu'><input style=\"padding: 3px 0; margin: 8px 0 6px 0;font-family:Papyrus;font-weight:bold;color:#ff0033;border:2px inside #00ffff;background-color:black\" type=\"button\" onClick=\"javascript:hideForm();\" value=\"BB Codes -\"></a></div><br>"+
"<div id='hide' style='display: none'>"+
"<table width='100%' border='0'><td align='center'>"+[/quote]

[b]Then combine the code below to the first code above[/b]
<">[b]The result should be like this[/b]
note: [b]Do not copy the combined code below... your BB codes will not function 100% just follow my steps above ok? [/b]

[quote]var cboxe="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='98%' height='300' src='http://[b]www?[/b].cbox.ws/box/?boxid=[b]?????[/b]&boxtag=[b]?????[/b]&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='sbox' id='sbox'></iframe><br/>"+
"<form name='cbox' method='post' target='sbox' action='http://[b]www?[/b].cbox.ws/box/?boxid=[b]?????[/b]&boxtag=[b]?????[/b]&sec=submit'>"+
"<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=\"45' rows=\"4\" name=\"pst\"></textarea><br>"+
"<input type=\"submit\" class=\"cboxButtons\" value=\"Send\" target=\"sbox\" name=\"sub\" onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"> "+
"<input type=\"reset\" class=\"cboxButtons\" value=\"Clear\" maxlength=\"25\" onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"> "+"<input type='button' class='cboxButtons' value='Refresh' name='sbox' onClick='window.cboxmain.location.href=document.getElementById(\"cboxmain\").src' onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"></br>"+"<div id='show' style='display:inline;background-color:none;border:none;font-family:Papyrus;font-weight:bold;font-size:11;'><a title='Open Smilies Menu'><input style=\"padding: 3px 0; margin: 8px 0 6px 0;font-family:Papyrus;font-weight:bold;color:#ff0033;border:2px inside #00ffff;background-color:black\" type=\"button\" onClick=\"javascript:showForm();\" value=\"BB Codes +\"></a></div>"+
"<div id='close' style='display:none;background-color:none;border:none;font-family:Papyrus;font-weight:bold;font-size:11;'><a title='Close Smilies Menu'><input style=\"padding: 3px 0; margin: 8px 0 6px 0;font-family:Papyrus;font-weight:bold;color:#ff0033;border:2px inside #00ffff;background-color:black\" type=\"button\" onClick=\"javascript:hideForm();\" value=\"BB Codes -\"></a></div><br>"+
"<div id='hide' style='display: none'>"+
"<table width='100%' border='0'><td align='center'>"+[/b]
[b]//combinedcodes[/b]
[b]"[/b]<div style='background:url() repeat fixed center; border:2px groove #00ffff;'><br><div align=\"center\"><font color='#33FFFF'>[b]BBCodes:[/b]</font><br>"+
"<br><a href=\"javascript:DoSmilie(' [b]Message Here[/b] ')\">Bold Text, </a>"+
"<a href=\"javascript:DoSmilie(' [u]Message Here[/u] ')\"> Underlined Text,</font></a>"+
"<a href=\"javascript:DoSmilie(' [i]Message Here[/i] ')\"> Italicized Text,</a>"+
"<a href=\"javascript:DoSmilie(' [sup]Message Here[/sup] ')\"> SuperScript,</a><br />"+
"<a href=\"javascript:DoSmilie(' [sub]Message Here[/sub] ')\"> SubScript,</a>"+
"<a href=\"javascript:DoSmilie(' [center]Message Here[/center] ')\"> Center Text,</font></a>"+
"<a href=\"javascript:DoSmilie(' [big]Message Here[/big] ')\"> Big Text,</a>"+
"<a href=\"javascript:DoSmilie(' [small]Message Here[/small] ')\"> Small Text,</a><br>"+
"<br><font color='#33FFFF'>[b]Colored Text:[/b]</font><br>"+
"<a href=\"javascript:DoSmilie(' [color=skyblue]Message Here[/color] ')\"><font color=slyblue>SkyBlue </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=white]Message Here[/color] ')\"><font color=white>White </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=blue]Message Here[/color] ')\"><font color=blue>Blue</font></a>"+
"<a href=\"javascript:DoSmilie(' [color=red]Message Here[/color] ')\"><font color=red>Red </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=yellow]Message Here[/color] ')\"><font color=yellow>Yellow </font></a><br />"+
"<a href=\"javascript:DoSmilie(' [color=green]Message Here[/color] ')\"><font color=green>Green </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=orange]Message Here[/color] ')\"><font color=orange>Orange </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=pink]Message Here[/color] ')\"><font color=pink>Pink </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=violet]Message Here[/color] ')\"><font color=violet>Violet</font></a>"+
"<a href=\"javascript:DoSmilie(' [color=dark blue]Message Here[/color] ')\"><font color='#0000bb'>Dark Blue <br></font></a></div>"+
"</td></div></tr></table></form></div>";
addBox("RIGHT","UR_TITLE_HERE",cboxe,"cboxes",null);[/quote]
[quote]//for Addbox 2.2

addBox("RIGHT","UR_TITLE_HERE",cboxe,"cboxes",null);
//for Addbox 3.1

addBox("UR_TITLE_HERE",cboxe,"cboxes","right");[/quote]
Final Step:

Insert this below your JS code // IF YOU ALREADY HAVE THIS DO NOT DO THE CODE BELOW
<">and that's it your done with Anti Poser Cbox With BB Codes...
.........................................................................................................................
[b]Anti Poser Cbox With BB Codes + Smileys

[/b]
Ok this is a very simple tutorial so you can combine both function at the same time
Focus ....

1st step: Log in to your cbox account then click [b]Smilies [/b]
[img]http://img521.imageshack.us/img521/9799/69443171tz2.jpg[/img]
Encoding of URL of your smileys
[img]http://img521.imageshack.us/img521/3213/73790267ww6.jpg[/img]

Encircled red color is the URL of your smileys
ex: [url]http://theftalk.com/img/smilies/cry.gif[/url]

Encircled green color is the Smileys code
ex: [b]:smile:, :laugh:, :tease: [/b]
or you can do numbering format... so you will not get lost just like in the 2nd image
[b]:1:, :2:, :3:, :4:[/b].................
The code
[quote]<a href=\"javascript:DoSmilie('[color=green]SMILIES_CODE[/color]')\"><img src='[color=red]URL_OF_SMILEY[/color]'>[/quote]
Ex of code:
[quote]<a href=\"javascript:DoSmilie('[color=green]:iyak:[/color]')\"><img src='[color=red]
http://theftalk.com/img/smilies/cry.gif[/color]'>[/quote]
Applying Antiposer Cbox with Smiley in your JS Code
[quote]var cboxe="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='98%' height='300' src='http://[b]www?[/b].cbox.ws/box/?boxid=[b]?????[/b]&boxtag=[b]?????[/b]&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='sbox' id='sbox'></iframe><br/>"+
"<form name='cbox' method='post' target='sbox' action='http://[b]www?[/b].cbox.ws/box/?boxid=[b]?????[/b]&boxtag=[b]?????[/b]&sec=submit'>"+
"<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=\"45' rows=\"4\" name=\"pst\"></textarea><br>"+
"<input type=\"submit\" class=\"cboxButtons\" value=\"Send\" target=\"sbox\" name=\"sub\" onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"> "+
"<input type=\"reset\" class=\"cboxButtons\" value=\"Clear\" maxlength=\"25\" onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"> "+"<input type='button' class='cboxButtons' value='Refresh' name='sbox' onClick='window.cboxmain.location.href=document.getElementById(\"cboxmain\").src' onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"></br>"+"<div id='show' style='display:inline;background-color:none;border:none;font-family:Papyrus;font-weight:bold;font-size:11;'><a title='Open Smilies Menu'><input style=\"padding: 3px 0; margin: 8px 0 6px 0;font-family:Papyrus;font-weight:bold;color:#ff0033;border:2px inside #00ffff;background-color:black\" type=\"button\" onClick=\"javascript:showForm();\" value=\"BB Codes +\"></a></div>"+
"<div id='close' style='display:none;background-color:none;border:none;font-family:Papyrus;font-weight:bold;font-size:11;'><a title='Close Smilies Menu'><input style=\"padding: 3px 0; margin: 8px 0 6px 0;font-family:Papyrus;font-weight:bold;color:#ff0033;border:2px inside #00ffff;background-color:black\" type=\"button\" onClick=\"javascript:hideForm();\" value=\"BB Codes -\"></a></div><br>"+
"<div id='hide' style='display: none'>"+
"<table width='100%' border='0'><td align='center'>"+
"<div style='background:url(http://i192.photobucket.com/albums/z98/misspoe1979/avjblackdiv.gif) repeat fixed center; border:2px groove #00ffff;'><font color='#33FFFF'>Use Smilies:</font><br><br><a href=\"javascript:DoSmilie(' [color=green]SMILEY_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie('[color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"</td></div></tr></table></form></div>";
addBox("RIGHT","UR_TITLE_HERE",cboxe,"cboxes",null);[/quote]
Note:[b] Here is the part you should always remember
Positioning of your URL_OF_SMILEY and SMILEY_CODE in your cbox account must be the same to your JS file..
[/b]

This will be the positioning in your JS codes
[quote]<a href=\"javascript:DoSmilie(' [color=green][b]:1:[/b][/color] ')\"><img src='[color=red]URL_OF_SMILEY_1[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie('[color=green][b]:2:[/b][/color] ')\"><img src='[color=red]URL_OF_SMILEY_2[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green][b]:3:[/b][/color] ')\"><img src='[color=red]URL_OF_SMILEY_3[/color]'style=height='30' width='30'></a>[/quote]

Then in your cbox account
[img]http://img208.imageshack.us/img208/9773/97947708lf1.jpg[/img]
Now your done with your Smiley right?

We will proceed how to combine BB CODES and SMILEY FUNCTION

First code... Paste this inside your onload
Edit the bold part... id=[b]??????[/b] tag=[b]??????[/b] [b]www?[/b]
URL_OF_SMILEY and SMILEY_CODE...
[quote]var cboxe="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='98%' height='300' src='http://[b]www?[/b].cbox.ws/box/?boxid=[b]?????[/b]&boxtag=[b]?????[/b]&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='sbox' id='sbox'></iframe><br/>"+
"<form name='cbox' method='post' target='sbox' action='http://[b]www?[/b]4.cbox.ws/box/?boxid=[b]?????[/b]&boxtag=[b]?????[/b]&sec=submit'>"+
"<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=\"45' rows=\"4\" name=\"pst\"></textarea><br>"+
"<input type=\"submit\" class=\"cboxButtons\" value=\"Send\" target=\"sbox\" name=\"sub\" onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"> "+
"<input type=\"reset\" class=\"cboxButtons\" value=\"Clear\" maxlength=\"25\" onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"> "+"<input type='button' class='cboxButtons' value='Refresh' name='sbox' onClick='window.cboxmain.location.href=document.getElementById(\"cboxmain\").src' onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"></br>"+"<div id='show' style='display:inline;background-color:none;border:none;font-family:Papyrus;font-weight:bold;font-size:11;'><a title='Open Smilies Menu'><input style=\"padding: 3px 0; margin: 8px 0 6px 0;font-family:Papyrus;font-weight:bold;color:#ff0033;border:2px inside #00ffff;background-color:black\" type=\"button\" onClick=\"javascript:showForm();\" value=\"BB Codes +\"></a></div>"+
"<div id='close' style='display:none;background-color:none;border:none;font-family:Papyrus;font-weight:bold;font-size:11;'><a title='Close Smilies Menu'><input style=\"padding: 3px 0; margin: 8px 0 6px 0;font-family:Papyrus;font-weight:bold;color:#ff0033;border:2px inside #00ffff;background-color:black\" type=\"button\" onClick=\"javascript:hideForm();\" value=\"BB Codes -\"></a></div><br>"+
"<div id='hide' style='display: none'>"+
"<table width='100%' border='0'><td align='center'>"+
"<div style='background:url(http://i192.photobucket.com/albums/z98/misspoe1979/avjblackdiv.gif) repeat fixed center; border:2px groove #00ffff;'><font color='#33FFFF'>Use Smilies:</font><br><a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie('[color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'>[b]</a>[/b][/quote]

2nd Code... The BB Function
[b]Combine this code to the code above[/b]
<">

Final code: Paste this below your JS CODES
<">and that's it your done you have the two function at the same time...

.................................
Final Tweaking of Anti Poser Cbox
[b]Anti Poser Cbox With BB Codes + Smileys + AUTO AVATAR[/b]
[b]due to insistent public demand.. I added the function of auto avatar...
the viewer can select what kind of avatar they like in ur chatbox. cool ei?
it's up to you what kind of avatar you like to encode inside your JS..
[/b]
Ok let's start
After your done with the two function BB CODES and SMILIES your now ready with this FUNCTION(auto avatar)

Full Code([b]THE 3 FUNCTIONS[/b]) inside your onload handler
[quote]var cboxer="<div align='center' id='cboxdiv'>"+
"<iframe frameborder='0' width='98%' height='300' src='http://www?.cbox.ws/box/?boxid=?????&boxtag=?????&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='sbox' id='sbox'></iframe><br/>"+
"<form name='cbox' method='post' target='sbox' action='http://www?.cbox.ws/box/?boxid=?????&boxtag=?????&sec=submit'>"+
"<input type='hidden' name='nme' value='"+pageViewerFName+"'>"+
[b][color=red]"<input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'>"+[/color][/b]
"<textarea style='overflow:hidden' class='cboxMsgArea' cols=\"45' rows=\"4\" name=\"pst\"></textarea><br>"+
[b]"</br><a style='position:relative;right:45px;color:silver;font-size:10px'>Select Avatar/Type E-mail: (Optional)</a></br><input style='width:245px;height: 20px;border-width:1px!important;border-style:solid!important;font-family:Papyrus;font-weight:bold;font-size:11px; border-color:gray!important;background-color: transparent!important; color: #ffffff!important;' type='text' maxlength='200' name='eml' size='20' maxlength='50'></br>"+[/b]
"<input type=\"submit\" class=\"cboxButtons\" value=\"Send\" target=\"sbox\" name=\"sub\" onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"> "+
"<input type=\"reset\" class=\"cboxButtons\" value=\"Clear\" maxlength=\"25\" onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"> "+"<input type='button' class='cboxButtons' value='Refresh' name='sbox' onClick='window.cboxmain.location.href=document.getElementById(\"cboxmain\").src' onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"></br>"+"<div id='show' style='display:inline;background-color:none;border:none;font-family:Papyrus;font-weight:bold;font-size:11;'><a title='Open Smilies Menu'><input style=\"padding: 3px 0; margin: 8px 0 6px 0;font-family:Papyrus;font-weight:bold;color:#ff0033;border:2px inside #00ffff;background-color:black\" type=\"button\" onClick=\"javascript:showForm();\" value=\"ChatBox Features +\"></a></div>"+
"<div id='close' style='display:none;background-color:none;border:none;font-family:Papyrus;font-weight:bold;font-size:11;'><a title='Close Smilies Menu'><input style=\"padding: 3px 0; margin: 8px 0 6px 0;font-family:Papyrus;font-weight:bold;color:#ff0033;border:2px inside #00ffff;background-color:black\" type=\"button\" onClick=\"javascript:hideForm();\" value=\"ChatBox Features -\"></a></div><br>"+
"<div id='hide' style='display: none'>"+
"<table width='100%' border='0'><td align='center'>"+
"<div style='background:url(http://i192.photobucket.com/albums/z98/misspoe1979/avjblackdiv.gif) repeat fixed center; border:2px groove #00ffff;'><font color='#33FFFF'>Use Smilies:</font><br><br>
<br><a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie('[color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a>"+
"<a href=\"javascript:DoSmilie(' [color=green]SMILEYS_CODE[/color] ')\"><img src='[color=red]URL_OF_SMILEY[/color]'style=height='30' width='30'></a><br><hr><div align=\"center\"><font color='#33FFFF'>BBCodes:</font><br>"+
"<br><a href=\"javascript:DoSmilie(' [b]Message Here[/b] ')\"><font color='#ff0033'>Bold Text, </font></a>"+
"<a href=\"javascript:DoSmilie(' [u]Message Here[/u] ')\"><font color='#ff0033'> Underlined Text,</font></a>"+
"<a href=\"javascript:DoSmilie(' [i]Message Here[/i] ')\"><font color='#ff0033'> Italicized Text,</font></a>"+
"<a href=\"javascript:DoSmilie(' [sup]Message Here[/sup] ')\"><font color='#ff0033'> SuperScript,</font></a><br />"+
"<a href=\"javascript:DoSmilie(' [sub]Message Here[/sub] ')\"><font color='#ff0033'> SubScript,</font></a>"+
"<a href=\"javascript:DoSmilie(' [center]Message Here[/center] ')\"><font color='#ff0033'> Center Text,</font></a>"+
"<a href=\"javascript:DoSmilie(' [big]Message Here[/big] ')\"><font color='#ff0033'> Big Text,</font></a>"+
"<a href=\"javascript:DoSmilie(' [small]Message Here[/small] ')\"><font color='#ff0033'> Small Text,</font></a><br>"+
"<a href=\"javascript:DoSmilie(' [scroll]Message Here[/scroll] ')\"><font color='#ff0033'> Scrolling Text,</font></a><br><hr><font color='#33FFFF'>Colored Text:</font><br><br>"+
"<a href=\"javascript:DoSmilie(' [color=skyblue]Message Here[/color] ')\"><font color=slyblue>SkyBlue </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=white]Message Here[/color] ')\"><font color=white>White </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=blue]Message Here[/color] ')\"><font color=blue>Blue </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=red]Message Here[/color] ')\"><font color=red>Red </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=yellow]Message Here[/color] ')\"><font color=yellow>Yellow </font></a><br />"+
"<a href=\"javascript:DoSmilie(' [color=green]Message Here[/color] ')\"><font color=green>Green </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=orange]Message Here[/color] ')\"><font color=orange>Orange </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=pink]Message Here[/color] ')\"><font color=pink>Pink </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=violet]Message Here[/color] ')\"><font color=violet>Violet </font></a>"+
"<a href=\"javascript:DoSmilie(' [color=dark blue]Message Here[/color] ')\"><font color='#0000bb'>Dark Blue <br></font></a></div>"+
"<br><hr><div align=\"center\"><font color='#33FFFF'>Select Your Avatar</font><br>"+
"<br><a href=\"javascript:DoAvatar('
http://theftalk.com/img/avatars/55774.png ')\"><img src='[color=green]URL_OF_AVATAR[/color]'style=height='50' width='50'></a>"+
"<a href=\"javascript:DoAvatar(' [color=green]URL_OF_AVATAR[/color] ')\"><img src='[color=green]URL_OF_AVATAR[/color]'style=height='50' width='50'></a>"+
"<a href=\"javascript:DoAvatar(' [color=green]URL_OF_AVATAR[/color] ')\"><img src='[color=green]URL_OF_AVATAR[/color]'style=height='50' width='50'></a>"+
"<a href=\"javascript:DoAvatar(' [color=green]URL_OF_AVATAR[/color] ')\"><img src='[color=green]URL_OF_AVATAR[/color]'style=height='50' width='50'></a>"+
"<a href=\"javascript:DoAvatar(' [color=green]URL_OF_AVATAR[/color] ')\"><img src='[color=green]URL_OF_AVATAR[/color]'style=height='50' width='50'></a></br>"+
"<a href=\"javascript:DoAvatar(' [color=green]URL_OF_AVATAR[/color] ')\"><img src='[color=green]URL_OF_AVATAR[/color]'style=height='50' width='50'></a>"+
"<a href=\"javascript:DoAvatar(' [color=green]URL_OF_AVATAR[/color] ')\"><img src='[color=green]URL_OF_AVATAR[/color]'style=height='50' width='50'></a>"+
"<a href=\"javascript:DoAvatar(' [color=green]URL_OF_AVATAR[/color] ')\"><img src='[color=green]URL_OF_AVATAR[/color]'style=height='50' width='50'></a>"+
"<a href=\"javascript:DoAvatar(' [color=green]URL_OF_AVATAR[/color] ')\"><img src='[color=green]URL_OF_AVATAR[/color]'style=height='50' width='50'></a>"+
"<a href=\"javascript:DoAvatar(' [color=green]URL_OF_AVATAR[/color] ')\"><img src='[color=green]URL_OF_AVATAR[/color]'style=height='50' width='50'></a></div>"+
"</td></div></tr></table></form></div>";
addBox("RIGHT","CHATBOX",cboxer,"cboxz",null);[/quote]
[quote][b]Note: Just focus on this note ok... pls focus...[/b]
Remove the bold text color [color=red]red[/color] ... Remove = Erase it

[quote][color=red]"<input type='hidden' name='eml' value='http://www.friendster.com/"+pageViewerID+"'>"+[/color][/quote]
............................
the bold text color [b]black[/b] ... is the textarea of your avatar

[quote][b]"</br><a style='position:relative;right:45px;color:silver;font-size:10px'>Select Avatar/Type E-mail: (Optional)</a></br><input style='width:245px;height: 20px;border-width:1px!important;border-style:solid!important;font-family:Papyrus;font-weight:bold;font-size:11px; border-color:gray!important;background-color: transparent!important; color: #ffffff!important;' type='text' maxlength='200' name='eml' size='20' maxlength='50'></br>"+[/b][/quote]
..................................
the text color green [color=green]URL_OF_AVATAR[/color] ... is the url of your avatar (add as many as you want)
ex avatar:
[url]http://theftalk.com/img/avatars/18100.jpg[/url]
[url]http://theftalk.com/img/avatars/13521.gif[/url]
[quote]

you can add your friends avatars from our site friendstertalk

or pls use only images uploaded from [url]tinypic.com[/url][/quote]
:idea: Here's how you encode your URL_OF_AVATAR
[quote]<a href=\"javascript:DoAvatar(' [color=green]
http://theftalk.com/img/avatars/13521.gif[/color] ')\"><img src='[color=green]
http://theftalk.com/img/avatars/13521.gif[/color]'style=height='50' width='50'></a>[/quote]
[/quote]

The function code for [b]auto avatar[/b]... Insert this below your JS codes
<">How to encode Avatar linking (courtesy of bro ephemeral) Important
[b]Question:[/b] How to enable cbox avatar linking?
[b]Answer:[/b]
Login [Cbox Account
Go To ››CBox Options]
After [››CBox Options] go to Post Options
Find this area.
Images & Sounds [?]
[] Allow avatars []Sound effect
Check the Allow avatars and [Save]
or...
[b]Answer:[/b]
http://theftalk.com/t16752-Tweak-your-cbox.html
....................................
Live Preview: [url=http://profiles.friendster.com/53375256]Triple Kill[/url]
Credits:

Me for coming up with DoAvatar function code from DoSmilie function

Bro Rushdiey for the Do Smiley function

Bro Ephe for Avatar form

Bro Shirow for some of his BB codes.. wakakkaw
Last edited by blurrycloud (2008-10-09 22:56:27)