Post by ⓦ৹₪deⓡ on Sept 15, 2005 2:22:37 GMT -8
Do NOT put this code in your Global or Main Footers. It needs it's own board.
-This code will place a java chat applet on your site complete with sounds and smileys.
-It will automatically log your users in when they visit the page the code is on.
-This code works best when placed on its own board with posting disabled. Put in the footer of the board you want the applet to appear in.
-You cannot add additional sounds or smileys
-This applet connects to an IRC server. For IRC help, go here: irchelp.org/
~Wonder
Warning: Do not place in your Main or Global Footer in any circumstances
Do NOT PM me for support or requests. Use the coding boards.
-This code will place a java chat applet on your site complete with sounds and smileys.
-It will automatically log your users in when they visit the page the code is on.
-This code works best when placed on its own board with posting disabled. Put in the footer of the board you want the applet to appear in.
-You cannot add additional sounds or smileys
-This applet connects to an IRC server. For IRC help, go here: irchelp.org/
<script>
//Java Chat with Auto-Login v1.0
//Thanks to freejavachat.com
//Double click username to PM. Double click color to select permanently. Smilies are in command menu.
//Copyright 9-15-2005 ~Wonder
//May be reposted anywhere as long as this header remains in tact
//Put in footer of the board you want the chat applet to appear on. I recommend you put this chat applet on it's own board where members cannot post.
//Enter Width and Height you want the chat applet to be
chatWidth=600;
chatHeight=400;
//These are all the color options you can mess around with. Must be hexadecimals. Go nuts.
c1="youColor=000000;operColor=000000;voicecolor=006600;userscolor=000099";
c2="inputcolor=FFFFFF;inputtextColor=000000;sessioncolor=FFFFFF;systemcolor=0000FF";
c3="titleColor=1111BB;titletextColor=FFFFFF;sessiontextColor=000000";
c4="joinColor=009900;partColor=009900;talkcolor=000099";
//Comment out this line and the applet will appear beneath all the threads on your board. If you do this, put the code in your board header and the chat applet will appear above your threads.
t=document.getElementsByTagName('table');for(i=4;i<t.length;i++){t[i].style.display="none";}
bd=location.href.toLowerCase().split(".com")[0].replace("http://","").replace("www.","")+".com";
bu="Guest"+Math.round(Math.random()*100);
if(document.cookie.indexOf("user=")!=-1){bu = unescape(document.cookie.split('user=')[1].split(';')[0]);}
if(bu=="admin"){bu=bd.substring(0,bd.indexOf("."))+"admin";}
document.write("<!--Begin code for ConferenceRoom Applet--><table border=0 width="+chatWidth+" align=center><tr><td><applet archive='http://www.freejavachat.com/java/cr.zip' codebase='http://www.freejavachat.com/java/' name=cr code='ConferenceRoom.class' width="+chatWidth+" height="+chatHeight+"> <param name=channel value=#"+bd+"> <param name=showbuttonpanel value=false><param name='makeuniquenick' value='true'><param name=connect value='true'><param name=userprompt value=''><param name=nameprompt value=''><param name=bg value=FFFFFF><param name=fg value=000000><param name=roomswidth value=0><param name=lurk value=true><param name=simple value=true><param name=restricted value=false><param name=showserverwindow value=false><param name=nicklock value=true><param name=playsounds value=true><param name=onlyshowchat value=false><param name=showjoins value=true><param name=showcolorpanel value=true><param name=floatnewwindows value=false><param name=timestamp value=false><param name=listtime value=0><param name=userwidth value=20><param name=showsendbutton value=true><param name=guicolors1 value='"+c1+"'><param name=guicolors2 value='"+c2+"'><param name=guicolors3 value='"+c3+"'><param name=guicolors4 value='"+c4+"'><param name=commands value='Image Panel;/showmodule ImagePanel;'><param name=userwidth value=16><param name=joinsound value=bell.au><param name=sounds value='Alarm;Alarm.au Are we awake?;Applause;applause.au ENCORE!!!;Awwwwwww;aww.au Awwwwwwwww;BabyCry;babycry.au Wahhhh;CashRegister;cash_register.au Woohoo!;CowMoo;moo.au moos like a cow;Crash;crash.au *** CRASH ***;Cymbal;CrashCymbal.au Tada!;Cuckoo;Cuckoo.au Where is Dr Fraud?;DoesNotCompute;does_not_compute.au That does NOT compute!;DOH!;doh.au Homer says DOH!;Door;door.au hears a door;Explosion;explosion.au explodes;Flush;flush.au courtesy flush;Geek;computer.au computer geek detected;Giggle;giggle.au haha;Glass1;Glass.au Breaks it;Glass2;breaking_glass.au Oh No!;Goofed;goofed.au OOPS!;Hallelujah!;hallelujah.au Its a miracle!;Knock;knock.au Knocks patiently;Gong;gong.au has gonged you;Laugh 1;laugh.au Laughs hysterically;Laugh 2;laughter.au You are KIDDING!;OHYEA!;ohyeah.au Woohoo!;Rasberry;Rasberry.au Excuse me;SciFi;sci_fi.au scifi;Snore;snore.au Snores;SubDive;sub_dive_horn.au Watch out!;SubPing;hello.au Ping!;This just in;music.au NEWSFLASH! THIS JUST IN....;Ting;join.au dropped something;Whee;whistle.au Whee!'><param name=image0 value='images16/usflag16.gif Flag'><param name=image1 value='images16/Canada16.gif Canada'><param name=image2 value='images16/UK16.gif UK'><param name=image3 value='images16/Japan16.gif Japan'><param name=image4 value='images16/France16.gif France'><param name=image5 value='images16/smiley16.gif Smiley'><param name=image6 value='images16/frown16.gif Frown'><param name=image7 value='images16/have-a-day16.gif Have-a-Day'><param name=image8 value='images16/ankh16.gif Ankh'><param name=image9 value='images16/apple16.gif Apple'><param name=image10 value='images16/balloon16.gif Balloon'><param name=nick value='"+bu+"'> This application requires Java support.<br> This server also available via IRC at:<br> <a href='irc://irc.ircstorm.net:6667/'>irc://irc.ircstorm.net:6667/</a></applet> </td></tr></table><!--End code for ConferenceRoom Applet--><br><center><a href='http://www.freejavachat.com' >Java Applet by www.freejavachat.com</a></center>");
</script>
Enjoy,~Wonder
Warning: Do not place in your Main or Global Footer in any circumstances