Log in

View Full Version : Vbulletin Java Chat


MentaL
08-13-2006, 10:00 PM
Hi,

What this does is simply add a link which pops up in a window and connects to your specified irc server via a third party java application. We shall be using the freely distributed pjirc (http://www.pjirc.com/) for this modifcation.

Installation
Download this file (http://www.pjirc.com/admin/file.php?id=181) (pjirc) and extract to desktop, rename the folder to something suitable like irc and then upload to your server. (make sure to check the code in the bottom of this post for further customizations and correct dimensions)
Go to your admin panel and copy the following code into the header template
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin

function popUp(URL) {

day = new Date();

id = day.getTime();

eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=640,height=400,left = 256,top = 232');");

}

// End -->

</script>

Go to your navbar template and you can either do what i do and replace the calander link with the below code or add it yourself, anyways here is the code (make sure to edit the link to the address of the files you uploaded) and then save.
<A HREF="javascript:popUp('http://website.com/forum/irc/')">Java IRC</A>

woola, you intergrated a java irc client into your forum without any hassle.


your irc will require customization in order for it to fit so here is my file i named index.html so once that the link is clicked, it opens the window exactly in the perfect dimensions, your welcome to use this code, also included in the pjirc are more heavy versions of the java client but this one in my opinion is perfect, BE SURE TO EDIT THE SERVER AND NAMES TO YOUR LIKING (ONES IN RED)


<html>

<head>

<title>Vbulletin Java Chat</title>

</head>

<body leftmargin="0" topmargin="0">

<applet code=IRCApplet.class archive="irc.jar,pixx.jar" width=640 height=400>

<param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">

<param name="nick" value="VBCHAT">

<param name="alternatenick" value="VBCHAT???">

<param name="fullname" value="Java User">

<param name="host" value="irc.deltaanime.net">

<param name="gui" value="pixx">

<param name="quitmessage" value="Get a chat room for you're own vbulletin message board, visit https://vborg.vbsupport.ru/showthread.php?p=899188#post899188">

<param name="asl" value="true">

<param name="style:bitmapsmileys" value="true">

<param name="style:smiley1" value=":) img/sourire.gif">

<param name="style:smiley2" value=":-) img/sourire.gif">

<param name="style:smiley3" value=":-D img/content.gif">

<param name="style:smiley4" value=":d img/content.gif">

<param name="style:smiley5" value=":-O img/OH-2.gif">

<param name="style:smiley6" value=":o img/OH-1.gif">

<param name="style:smiley7" value=":-P img/langue.gif">

<param name="style:smiley8" value=":p img/langue.gif">

<param name="style:smiley9" value=";-) img/clin-oeuil.gif">

<param name="style:smiley10" value=";) img/clin-oeuil.gif">

<param name="style:smiley11" value=":-( img/triste.gif">

<param name="style:smiley12" value=":( img/triste.gif">

<param name="style:smiley13" value=":-| img/OH-3.gif">

<param name="style:smiley14" value=":| img/OH-3.gif">

<param name="style:smiley15" value=":'( img/pleure.gif">

<param name="style:smiley16" value=":$ img/rouge.gif">

<param name="style:smiley17" value=":-$ img/rouge.gif">

<param name="style:smiley18" value="(H) img/cool.gif">

<param name="style:smiley19" value="(h) img/cool.gif">

<param name="style:smiley20" value=":-@ img/enerve1.gif">

<param name="style:smiley21" value=":@ img/enerve2.gif">

<param name="style:smiley22" value=":-S img/roll-eyes.gif">

<param name="style:smiley23" value=":s img/roll-eyes.gif">

<param name="style:floatingasl" value="true">

<param name="pixx:highlight" value="true">

<param name="pixx:highlightnick" value="true">

</applet>

</body>

</html>

MentaL

http://img402.imageshack.us/img402/338/preview3od.jpg

AdmiralSpock
08-14-2006, 07:40 PM
Thanks! I have this for 3.5.4 and will be installing it when I upgrade to 3.6.0. :)

utw-Mephisto
08-14-2006, 08:33 PM
I don't want to hijack your release, but you should maybe mention the original release

http://forum.pjirc.com/viewtopic.php?t=3371

which still works with 3.6 ..

Kaezul
08-14-2006, 09:09 PM
This mod has been around for ages and was introduced way before this release. You should at least give the original creator credit for the work.

MentaL
08-14-2006, 10:18 PM
I didnt highjack nobodys release sir :)



https://vborg.vbsupport.ru/showthread.php?t=107886


All i am doing is creating a popup linking to a page.

Tonkan
08-27-2006, 09:07 AM
And how can i make it join one specific channel?

MentaL
08-27-2006, 10:35 AM
under


<param name="pixx:highlightnick" value="true">

add


<param name="command1" value="join #vbulletin">

replace vbulletin with one of your choice.

Snake
08-30-2006, 04:05 PM
Thanks for the hack! I'll install it right away... :)

topsoftware
08-30-2006, 10:07 PM
very god work for vb 3.6.0 but how can i crate chanel and public for my forum
thanks

Mattimus1984
11-05-2006, 02:28 AM
How do you make it join a chanel with whatever the users's username is?

maxicep
11-16-2006, 09:44 AM
im getting error when connect my irc server :(
error message :

Unable to connet. jav .net.ConnectionExeption : Connection time out conect

what can i do ?

Josh1
11-19-2006, 10:23 PM
im getting error when connect my irc server :(
error message :

Unable to connet. jav .net.ConnectionExeption : Connection time out conect

what can i do ?

Are you behind a firewall or is the IP address wrong?

kamilen
12-28-2006, 06:06 AM
I still dont get your ideal :
your irc will require customization in order for it to fit so here is my file i named index.html so once that the link is clicked, it opens the window exactly in the perfect dimensions, your welcome to use this code, also included in the pjirc are more heavy versions of the java client but this one in my opinion is perfect, BE SURE TO EDIT THE SERVER AND NAMES TO YOUR LIKING (ONES IN RED)


Code:
<html>

<head>

<title>Vbulletin Java Chat</title>

</head>

<body leftmargin="0" topmargin="0">

<applet code=IRCApplet.class archive="irc.jar,pixx.jar" width=640 height=400>

<param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">

<param name="nick" value="VBCHAT">

<param name="alternatenick" value="VBCHAT???">

<param name="fullname" value="Java User">

<param name="host" value="irc.deltaanime.net">

<param name="gui" value="pixx">

<param name="quitmessage" value="Get a chat room for you're own vbulletin message board, visit https://vborg.vbsupport.ru/showthread.php?p=899188#post899188">

<param name="asl" value="true">

<param name="style:bitmapsmileys" value="true">

<param name="style:smiley1" value=":) img/sourire.gif">

<param name="style:smiley2" value=":-) img/sourire.gif">

<param name="style:smiley3" value=":-D img/content.gif">

<param name="style:smiley4" value=":d img/content.gif">

<param name="style:smiley5" value=":-O img/OH-2.gif">

<param name="style:smiley6" value=":o img/OH-1.gif">

<param name="style:smiley7" value=":-P img/langue.gif">

<param name="style:smiley8" value=":p img/langue.gif">

<param name="style:smiley9" value=";-) img/clin-oeuil.gif">

<param name="style:smiley10" value=";) img/clin-oeuil.gif">

<param name="style:smiley11" value=":-( img/triste.gif">

<param name="style:smiley12" value=":( img/triste.gif">

<param name="style:smiley13" value=":-| img/OH-3.gif">

<param name="style:smiley14" value=":| img/OH-3.gif">

<param name="style:smiley15" value=":'( img/pleure.gif">

<param name="style:smiley16" value=":$ img/rouge.gif">

<param name="style:smiley17" value=":-$ img/rouge.gif">

<param name="style:smiley18" value="(H) img/cool.gif">

<param name="style:smiley19" value="(h) img/cool.gif">

<param name="style:smiley20" value=":-@ img/enerve1.gif">

<param name="style:smiley21" value=":@ img/enerve2.gif">

<param name="style:smiley22" value=":-S img/roll-eyes.gif">

<param name="style:smiley23" value=":s img/roll-eyes.gif">

<param name="style:floatingasl" value="true">

<param name="pixx:highlight" value="true">

<param name="pixx:highlightnick" value="true">

</applet>

</body>

</html>

So it's means that I have to create index.html page ? But where do i put this page ? To pjirc folder or to forum ?

stan111
01-01-2007, 07:57 AM
i got this error

"Forbidden
You do not have permission to access this document. "

can anyone know wat is wrong there ?
thanks

kamilen
01-02-2007, 05:54 AM
MentaL : Can you help me ? I really need this one .

Ev!L ErN!E
01-22-2007, 11:45 PM
Ok this is working for me, the only problem I see is the window isn't sized to the applet, I used your code for the index.html to.

chicote
03-30-2007, 06:40 PM
thanks...

but, I'm Portuguese, and I want a Portuguese server, how make this modifications??

thanks
chicote