Java Embed Code

Chit chat is welcome here. Talk about anything and everything that doesn't fit into any other forum. Please keep it clean.

Java Embed Code

Unread postby therock247uk » Wed May 12, 2010 5:48 pm

The following is the java code needed to paste into an HTML web page in order to add an IRC client to it.

Note: There will be things in the code that you need to change in order for the code to work for your chat room. They will be in [color="yellow"]BOLD YELLOW.[/color] The code includes <center> tags.

Code: Select all
<center><applet height="70%" width="90%" align="middle" archive="irc.jar,pixx.jar" codebase="http://ipocalypse.net/java/" code="IRCApplet.class">

<param value="irc.cab,securedirc.cab,pixx.cab" name="CABINETS" />
<param value="pixx" name="gui" />
<param value="english" name="language" />
<param value="pixx-english" name="pixx:language" />
<param value="irc.ipocalypse.net" name="host" />
<param value="1166" name="port" />
<param value="us.ipocalypse.net 6667" name="alternateserver1" />
<param value="au.ipocalypse.net 6667" name="alternateserver2" />
<param value="true" name="autoconnection" />
<param value="User???" name="nick" />
<param value="User????" name="alternatenick" />
<param value="Java Web user" name="userid" />
<param value="Web Chat User" name="name" />
<param value="/join [color="yellow"][b]#channel-name-here[/color][/b]" name="command1" />
<param value="Exit" name="quitmessage" />
<param value="bell2.au" name="soundbeep" />
<param value="ding.au" name="soundquery" />
<param value="false" name="useinfo" />
<param value="all all Tahoma 13" name="style:sourcefontrule1" />
<param value="false" name="allowdccchat" />
<param value="false" name="allowdccfile" />
<param value="true" name="style:bitmapsmileys" />
<param value=":) img/sourire.gif" name="style:smiley1" />
<param value=":-) img/sourire.gif" name="style:smiley2" />
<param value=":-D img/content.gif" name="style:smiley3" />
<param value=":D img/content.gif" name="style:smiley4" />
<param value=":-O img/OH-2.gif" name="style:smiley5" />
<param value=":o img/OH-1.gif" name="style:smiley6" />
<param value=":-P img/langue.gif" name="style:smiley7" />
<param value=":P img/langue.gif" name="style:smiley8" />
<param value=";-) img/clin-oeuil.gif" name="style:smiley9" />
<param value=";) img/clin-oeuil.gif" name="style:smiley10" />
<param value=":-( img/triste.gif" name="style:smiley11" />
<param value=":( img/triste.gif" name="style:smiley12" />
<param value=":-| img/OH-3.gif" name="style:smiley13" />
<param value=":| img/OH-3.gif" name="style:smiley14" />
<param value="true" name="noasldisplayprefix" />
<param value="/join #help" name="pixx:helppage" />
<param value="false" name="pixx:showabout" />
<param value="true" name="pixx:showconnect" />
<param value="true" name="pixx:timestamp" />
<param value="true" name="pixx:highlight" />
<param value="true" name="pixx:highlightnick" />
<param value="true" name="pixx:nickfield" />
<param value="true" name="pixx:styleselector" />
<param value="true" name="pixx:setfontonstyle" />
<param value="E0ECF0" name="pixx:color0" />
<param value="ffffff" name="pixx:color1" />
<param value="ffffff" name="pixx:color2" />
<param value="ffffff" name="pixx:color3" />
<param value="ffffff" name="pixx:color4" />
<param value="336699" name="pixx:color5" />
<param value="084079" name="pixx:color6" />
<param value="093159" name="pixx:color7" />
<param value="a40000" name="pixx:color8" />
<param value="3F79A2" name="pixx:color9" />
<param value="89a6c3" name="pixx:color10" />
<param value="89a6c3" name="pixx:color11" />
<param value="89a6c3" name="pixx:color12" />
<param value="89a6c3" name="pixx:color13" />
<param value="89a6c3" name="pixx:color14" />
<param value="336699" name="pixx:color15" />
<p>You need an updated version of <a target="_blank" href="http://www.java.com/en/download/manual.jsp">Java</a> installed and enabled to use this chat room. <a target="_blank" href="http://www.java.com/en/download/manual.jsp">Download it now for free.</a></p>
</applet>
</center>
therock247uk
Global Administrator
 
Posts: 27
Joined: Wed May 12, 2010 1:36 am
Location: uk

Re: Java Embed Code by eric

Unread postby mangocat1 » Mon May 17, 2010 8:33 pm

Is there a way to change the layout colors? Avoid the Java security warnings? Remove the Join/Part messages? 8-)
mangocat1
 
Posts: 3
Joined: Sat May 15, 2010 4:28 pm

Re: Java Embed Code by eric

Unread postby Eric » Wed May 19, 2010 4:03 am

Layout colors - yes
Security warnings - wuh? only one i'm familiar with is the one asking permission to run the java program. no way around that
Disable join/parts - no
Eric
+Executive
 
Posts: 15
Joined: Fri May 07, 2010 8:23 pm

Re: Java Embed Code by eric

Unread postby mangocat1 » Wed May 19, 2010 12:58 pm

Being able to disable join/parts is a biggie... and the reason we use LightIRC (this can be disabled with a setting in the html code). Our rooms use to get flooded with these messages making it difficult to chat.

I actually received multiple Java security warnings when running this applet the first time.
mangocat1
 
Posts: 3
Joined: Sat May 15, 2010 4:28 pm

Re: Java Embed Code by eric

Unread postby Eric » Wed May 19, 2010 2:50 pm

The security warnings should be a one time thing.

A couple years ago Java was one of the best things you could use for IRC because of the limited availability of flash clients. But I don't recommend it any more as several flash choices have been developed such as Mibbit and lightIRC that load much faster and usually come with more customizable options.
Eric
+Executive
 
Posts: 15
Joined: Fri May 07, 2010 8:23 pm

Re: Java Embed Code

Unread postby Turner » Sat Feb 23, 2013 2:54 pm

just had a look at this and this is saying that java can not find IRCaplet.class ??
Turner
 
Posts: 1
Joined: Sat Feb 23, 2013 2:36 pm


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron