PDA

View Full Version : jIRC Chat Integration


sajjid
06-06-2003, 10:00 PM
ok i dont take any credit for this as i only changed the content from jpilot to Pjirc chat all cridet goes to FleaBag (https://vborg.vbsupport.ru/showthread.php?s=&threadid=43461&perpage=15&display=&pagenumber=1) as he created it first if you want you can see live Live Demo (http://www.spinzone.org/forums/chat1.php) this is for people who dont want to pay for registeration its a open Source Pjirc Website (http://www.pjirc.com/) everything is included in the file and explaned
I think this is better then jpilot because it has DCC feature aswell plus you can be
it has the following features

- Highlight support
- ASL handling
- Graphical bitmap used for smiley?s
- Nickname auto completion
- Nick, channel and URL catcher
- Sound support
- Multilingual support
- Esthetical options such as background image, per-channel color configuration, and so on?
- UTF-8 encoding support
- Support for external control via javascript
- ?On connect? command list
- Time stamping
- Fast, light and reliable
- Free and open source
if you cannot login to demo then please go to the homepage and click on the chatroom
http://www.spinzone.org/


i am sorry my english is not that good but i will try and answer your question

wyzzor
06-07-2003, 10:17 PM
Nice!, god job, thx

Vile
06-08-2003, 02:10 AM
Looks cool.

I followed all of the directions, but going to chat.php results in a blank page :\

sajjid
06-08-2003, 03:17 AM
Today at 04:10 AM Vile said this in Post #4 (https://vborg.vbsupport.ru/showthread.php?postid=405920#post405920)
Looks cool.

I followed all of the directions, but going to chat.php results in a blank page :\

its my fault i zipped the wrong chat.php
here is the right one

sajjid
06-08-2003, 03:23 AM
i have corrected the above two mistakes in this zip file in the fist post aswell

Vile
06-08-2003, 03:51 AM
Today at 05:17 AM sajjid said this in Post #4 (https://vborg.vbsupport.ru/showthread.php?postid=405940#post405940)
its my fault i zipped the wrong chat.php
here is the right one


Hmm, maybe it's be then, becuase I'm still having the same problem, even with the updated file. :confused:

sajjid
06-08-2003, 03:59 AM
Today at 05:51 AM Vile said this in Post #6 (https://vborg.vbsupport.ru/showthread.php?postid=405947#post405947)
Hmm, maybe it's be then, becuase I'm still having the same problem, even with the updated file. :confused:


ok where did you upload the files to i think thats what is wrong all the files should be in the same dir i mean your vBulletin Dir upload all the files including chat.php eg
if your forums are in http://www.yoursite.com/forums/
then thats where all the files will go
when you unzip file you have folder called PjIRC Chat Integration dont upload as it is but upload the files within to your forums dir.

also give me link to your site i will have look

Vile
06-08-2003, 04:18 AM
Today at 05:59 AM sajjid said this in Post #7 (https://vborg.vbsupport.ru/showthread.php?postid=405949#post405949)
ok where did you upload the files to i think thats what is wrong all the files should be in the same dir i mean your vBulletin Dir upload all the files including chat.php eg
if your forums are in http://www.yoursite.com/forums/
then thats where all the files will go
when you unzip file you have folder called PjIRC Chat Integration dont upload as it is but upload the files within to your forums dir.

also give me link to your site i will have look


All of the files were uploaded to the /forums directory as stated in the instructions. I tried uploading the new chat.php again, and now it seems to work. :)(which is strange, becuase it didnt work the first time with the new chat.php )

One more question if you dont mind...
When I access chat.php, it says:
Unable to connect : access denied (java.net.SocketPermission irc.hashnet.org resolve)

Link:
http://www.mgforums.com/forums/chat.php

Should I just try using a different server?
Thanks a lot for your help :)

sajjid
06-08-2003, 04:25 AM
Today at 06:18 AM Vile said this in Post #8 (https://vborg.vbsupport.ru/showthread.php?postid=405955#post405955)
All of the files were uploaded to the /forums directory as stated in the instructions. I tried uploading the new chat.php again, and now it seems to work. :)(which is strange, becuase it didnt work the first time with the new chat.php )

One more question if you dont mind...
When I access chat.php, it says:


Link:
http://www.mgforums.com/forums/chat.php

Should I just try using a different server?
Thanks a lot for your help :)


i am in your channel right now seems to be working fine mate

sajjid
06-08-2003, 04:32 AM
if you want to register the channel with HashNet go here and read the f.a.q
http://www.hashnet.org/faq/

its free

Velocd
06-08-2003, 05:07 AM
I have this installed, yet am receiving this error:

*** Failed to launch Ident server : access denied (java.net.SocketPermission localhost:113 listen,resolve)
Connecting...
Unable to connect : access denied (java.net.SocketPermission irc.othersideirc.net resolve)

Much like Vile above. Even when I visit his chat, I get the error. Even with the demo chat listed in the first post, I get this error.

My channel and the server works though, I'm in it at this moment with mIRC. Is there a bug in this applet? Or a java-conflicting issue?

PixelFx
06-08-2003, 05:50 AM
has anyone made it so this works with a floating window? or would ya like me to add it? when I setup on my site?

Velocd
06-08-2003, 06:04 AM
Floating window? Are you referring to a pop-up?

Also, if you figure out the issue I stated above, please post the solution. ;)

Intex
06-08-2003, 07:19 AM
sajjid - is it possible to configure it for another irc network, e.g. irc.quakenet.org ?

iggy123
06-08-2003, 08:47 AM
Today at 09:19 AM Intex said this in Post #14 (https://vborg.vbsupport.ru/showthread.php?postid=406000#post406000)
sajjid - is it possible to configure it for another irc network, e.g. irc.quakenet.org ?
all you need to do is to change the template settings to the appropraite server

ie change this value:

<param name="host" value="irc.hashnet.org">


to:

<param name="host" value="irc.quakenet.org">

sajjid
06-08-2003, 11:22 AM
for all those getting this error i guess is your browser setting if you that erorr Demo page because demo is working fine

[PHP*** Failed to launch Ident server : access denied (java.net.SocketPermission localhost:113 listen,resolve)
Connecting...
Unable to connect : access denied (java.net.SocketPermission irc.othersideirc.net resolve)
[/PHP]

sajjid
06-08-2003, 11:47 AM
I get an Unable to connect : cannot access "host" message each time I try to use PJIRC!

Security is disabled and the remote host is not the one from where you downloaded the applet.

I'm using Internet Explorer with the signed cab-file but I'm not prompted to accept the certificate and the connection cannot be performed.

Your're using the Sun Java Virtual Machine instead of the Microsoft one because you've installed
the java sun sdk. Go to the control panel, then "java plugin", then "browser", and unckeck
"Internet Explorer" checkbox.

How to avoid security popup at launch-time?

Disable security on Microsoft Internet Explorer. See security explanation below.

How does the security system work?

It seems nobody understands a single thing about the security system and code
certification. If you read these lines, don't be afraid, you're not alone

The most important thing to understand is that an applet can't do anything without
your explicit consent. If an applet was able to read or write files from or to
your computer, to send them to any remote host, or any actions such as reading
personal informations from your computer, then the internet would be a very
dangerous place. Imagine a popup with such a java applet!

That's why an applet is only able to perform a very limited set of actions.
Something an applet *CAN'T* do is to contact any remote host. That means that
PJIRC *CAN'T* contact the irc server. Hopefully, there is an exception to this
rule : an applet can contact a remote host if and only if this remote host is
the web server from where the applet has been downloaded.

In other words, if the applet is downloaded from www.somehost.com/anydir/pjirc_files,
then pjirc will be able to contact www.somehost.com, on any port, but not any other
host.

To summarize, if you want pjirc to work correctly, you MUST install your irc server
on the same server than the one running your website. This website may only contains
pjirc files while the rest of the "real" website is on any other host, that's not
a problem. But the pjirc files ARE to be on the irc server.

Sometimes, these restrictions may be unbearable for some administrators or webmasters.
That's why there is a way to avoid them using code signing and certification. A
signed application may ask the system for further privileges (as contacting any host).
The system will prompt the user if he/she really trusts this application, via some
security popup.

sajjid
06-08-2003, 01:27 PM
ok there are two Demo,s on my site one is jpilot and other pjirc
pjirc
Spinzone (http://www.spinzone.org/)

and jpilot

SpinZone Forums (http://www.spinzone.org/forums/index.php?)

Velocd
06-08-2003, 04:24 PM
Your're using the Sun Java Virtual Machine instead of the Microsoft one because you've installed
the java sun sdk. Go to the control panel, then "java plugin", then "browser", and unckeck
"Internet Explorer" checkbox.


Indeed, that does appear to be the issue. I have the chat working fine now, I simply disabled java.

sajjid
06-08-2003, 06:28 PM
if you wish to add your own image (http://www.spinzone.org/forums/chat1.php) in the background do following

ADD this Code just above </applet>

<param name="backgroundimage" value="true">
<param name="defaultbackgroundimage" value="background.gif">

then upload your image in the same dir as rest. My image size is 550 X 245
should be same for you aswell if you havent changed the dimensions in your chat template.

S.Shady
06-08-2003, 07:50 PM
edit nvm. is there anyway to change the style ?

-- edit -- whats with this warning im getting on mine ?

http://hcom.planethael.com/cb/chat.php

sajjid
06-08-2003, 11:21 PM
-- edit -- whats with this warning im getting on mine ?

http://hcom.planethael.com/cb/chat.php [/B]


since windows is no longer shipped with a microsoft java vm and most machines are using sun java vm thats what the warning is also i think next version which should be out shortley should have signed jar-file, wich will permit the use on Sun JVM.

i wouldnt worry about the warning

or have a read on this

http://forum.pjirc.com/viewtopic.php?t=21&highlight=security+warning

S.Shady
06-08-2003, 11:31 PM
i get the warning in msn8 works fine in ie6

i hate that 2nd thing that msn8 sucks in :-\

sajjid
06-08-2003, 11:37 PM
there is a way to to aviod this warning message but its very messy not worth the hassle and only works if you have dedicated server where you place the file so instead when someone joins applett takes the needed file from the server.

S.Shady
06-09-2003, 12:01 AM
hmm nvm about that but in ie6 i dont get the warning only in msn8. so i use both browsers at same time :) laff


--- edit :-\ -----


Msn8 can not find the damned IRCapplet.class file :(

zajako
06-09-2003, 04:53 AM
*** Failed to launch Ident server : access denied (java.net.SocketPermission localhost:113 listen,resolve)
Connecting...
Unable to connect : access denied (java.net.SocketPermission irc.othersideirc.net resolve)

i dont have microsft virtual machine so if i disable java for the sun system one it dont work.

Also due to micros virtual machine being gone i cant use it.

is their a newer version of the applet to support the sun system java?

sajjid
06-09-2003, 10:25 PM
Yesterday at 06:53 AM zajako said this in Post #26 (https://vborg.vbsupport.ru/showthread.php?postid=406412#post406412)
*** Failed to launch Ident server : access denied (java.net.SocketPermission localhost:113 listen,resolve)
Connecting...
Unable to connect : access denied (java.net.SocketPermission irc.othersideirc.net resolve)

i dont have microsft virtual machine so if i disable java for the sun system one it dont work.

Also due to micros virtual machine being gone i cant use it.

is their a newer version of the applet to support the sun system java?


do a search in google for

microsft virtual machine download

there are lots of places you can still get it

S.Shady
06-10-2003, 01:57 AM
http://www.ddecirce.com/download/

download 3805. Works perfect. MSN8 now works :)

morrow
06-11-2003, 01:18 AM
Very nice hack... Up and running in about 5 minutes with my own customized image. A few questions...

1. Are you going to proceed with giving an option of a pop up window rather than having this in the main browser?

2. Is there a faster server out there?

And that's about it. I'm in the NY area and this server takes quite a bit of time for me to get into.

Thanks for the nice hack... Very well done!

S.Shady
06-11-2003, 01:36 AM
Today at 10:18 PM morrow said this in Post #29 (https://vborg.vbsupport.ru/showthread.php?postid=407349#post407349)
Very nice hack... Up and running in about 5 minutes with my own customized image. A few questions...

1. Are you going to proceed with giving an option of a pop up window rather than having this in the main browser?

2. Is there a faster server out there?

And that's about it. I'm in the NY area and this server takes quite a bit of time for me to get into.

Thanks for the nice hack... Very well done!


http://www.frostme.com/New Text Document.txt (list of servers mIRC uses.

sajjid
06-11-2003, 07:01 PM
Today at 03:18 AM morrow said this in Post #29 (https://vborg.vbsupport.ru/showthread.php?postid=407349#post407349)
Very nice hack... Up and running in about 5 minutes with my own customized image. A few questions...

1. Are you going to proceed with giving an option of a pop up window rather than having this in the main browser?

2. Is there a faster server out there?

And that's about it. I'm in the NY area and this server takes quite a bit of time for me to get into.

Thanks for the nice hack... Very well done!


you can have the chat open in a new window by doing the following dont link it direct to chat.php because your images will not show do this

click on your chat link then look in your browser address bar copy that url and paste it where i have placed *******

<a href="**************" target="_blank">Chatroom</a>


dont forget to chagr thses values to suit your board centre, left or right and what fontsize should look somethng like this

<p align="center">
<normalfont><b>&lt; <a href="*******"target="_blank">Chatroom</a>

then place this link where ever you want in your forums.

Realworlds
06-20-2003, 04:27 PM
Hmmm some people have it up and going in five minutes, here I am two days into it and nothing.

When I try and access it, I get a blank page.

www.thecandidboard.com/forum/chat.php

Any suggestions?

iggy123
06-20-2003, 05:01 PM
hard to say from that link- I found it one of the easiest to install... what have you put into your templates?

Realworlds
06-20-2003, 05:10 PM
I redid the chat.php page and it's connected but I get **failed tolaunch ident server access denied. I think I saw someone else was having that same problem, so I'll go back and research that. Any tips in the mean time

sajjid
06-20-2003, 05:30 PM
i dont think you did what the instructions says because looking at your source code i see you changed the template or dont have template called chat you just added everything to chat.php

iggy123
06-20-2003, 05:31 PM
Not to sure what that error was related too - think it was a Java issue but it shouldn't effect everyone else connecting...
here is my chat tmplate.... alter the following lines


<param name="nick" value="Chat_nick">
<param name="name" value="$bbtitle">
<param name="host" value="irc.server">
<param name="port" value="6667">
<param name="command1" value="join #channel">

chat_nick = what ever you want the person to connect as ( i had trouble when they were connecting using the $username)
irc.server = the IRC server you use ie gamesnet.east
#channel = the channel you use ie #antivirus


when i try to connect now i get this error
Error : Closing Link: 0.0.0.0 (Invalid username [~$bbuserin])

thatt is the same sort of error i used to get as well. hence i changed it to "forum_user??" that will create a username of forum_user with two random numbers on the end
check mine out at http://clanantivirus.com/forums/chat.php

sajjid
06-20-2003, 05:36 PM
can you try putting this in your template i just want to test it if it works the change the change the channel and server later

Realworlds
06-20-2003, 08:46 PM
sajjid, I added the tmp that you posted and added it as page2 http://www.thecandidboard.com/forum//chat2.php

It gives the same error message.

I should also admit that I have no knowledge of codeing so this is why its not working.

I'm gonna go back and re read the newest replies.

iggy123
06-20-2003, 08:58 PM
its definatly something in the chat template - try changing the chat server with in it and see what happens then..

BTW COOL site - have registered LOL

Realworlds
06-20-2003, 09:09 PM
LOL thanks for registering, we're all clowns over there hehehe.

sajjid
06-20-2003, 09:19 PM
i think what you did wrong is you uoloaded the files that came with it in a another dir make sure all files when you unzip upload in your forum dir and dont upload just as one folder but when you unzip open that folder and upload each into your forum dir

sajjid
06-20-2003, 09:20 PM
yes i must say you do have very cool site i like the forums graphics how did you pay for them cos i am looking to change the look of my forums

sajjid
06-20-2003, 09:27 PM
also remove the / from begining of chat.php because your url has two //

http://www.thecandidboard.com/forum//chat2.php
*****************************^*******

Realworlds
06-20-2003, 09:34 PM
Sajjid,

I got rid of the // that was in there,
www.thecandidboard.com/forum/chat.php

I still get the same fricken error message.

Thanks bout the board. I got those styles from vbulletinstyles.com they were 50.00 but now they're cheaper.

Realworlds
06-20-2003, 09:43 PM
Heres a print screen of what my ftp looks like.

http://www.thecandidboard.com/folder.jpg

http://www.thecandidboard.com/folder2.jpg

Realworlds
06-20-2003, 09:44 PM
Just added you via msn

M.C.
06-24-2003, 05:51 PM
my chat just can`t connect to server! :(

and when i use my mIRC program and IE window open aswell my mIRC script can`t connect... why?

when IE window with chat close my mIRC script work well

M.C.
06-24-2003, 05:58 PM
is ot work with EfNET servers?

SharkMatt
06-24-2003, 07:47 PM
Does this hack works with VB3??

sajjid
06-26-2003, 01:42 AM
yes it does but i cant really tell how its done untill the final realise is out because vb.org dont support vb3 on these boards.

M.C.
06-26-2003, 09:34 PM
how make that hack work with other languages? spetialy with cyrilic languages? I mean if i type message in cyrilic in my mIRC sript everything OK, but if i type it in that hack - all goes like @#$%^^&%$%&^& insted of normal letters....

just incase, may be i need cahnge coding for win-1251 or koi8-r somewhere in script? with jPilot everything work fine

sajjid
06-29-2003, 02:59 AM
i have updated the zip in the first post all those people who were having problems with java should be ok now

kushtiUK
07-03-2003, 05:24 PM
Hey guys I need some help on this - I have followed all the instructions for this hack but for some reason when I try and save the Chat template my VB just stalls and then times out - I have narrowed the problem down to something to do with the "p-a-r-a-m name" part of the text - any idea what is wrong?

kushtiUK
07-03-2003, 05:26 PM
I have just found I can't post this with out the dashes in the P-a-r-a-m!!!

Realworlds
07-03-2003, 06:05 PM
Copied the new template and bam works like a charm

mitomcua
07-08-2003, 11:57 PM
Hey guys,,,, this Mirc chat is pretty cool !!! however i want the non-registered at my forum cant not go to the chat room... how would i do that? becuase as now if you r not registered you can still be able to get in the chat with some kind of unregister / or guess.... Is there any thing can be edited in php.chat?

Thanks a lot for your help in advanced.
M

StandBy1
07-09-2003, 12:23 PM
Hello
I have a Problem with the Hack he say me

[08:43] *** Failed to launch Ident server : cannot access 113
[08:43] Connecting...
[08:43] Unable to connect : Unable to check hostname "UH.US.DimensionNet.org".

have you a Idee wat that is ???

MfG
StandBy1
from Germeny

iggy123
07-09-2003, 01:29 PM
this is covered in the post https://vborg.vbsupport.ru/showthread.php?postid=406076#post406076 you need to turn off the security settings in your java control panel.

StandBy1
07-09-2003, 04:24 PM
oh THX

sajjid
07-27-2003, 08:36 PM
07-09-03 at 01:57 AM mitomcua said this in Post #56 (https://vborg.vbsupport.ru/showthread.php?postid=416297#post416297)
Hey guys,,,, this Mirc chat is pretty cool !!! however i want the non-registered at my forum cant not go to the chat room... how would i do that? becuase as now if you r not registered you can still be able to get in the chat with some kind of unregister / or guess.... Is there any thing can be edited in php.chat?

Thanks a lot for your help in advanced.
M


if you do not want none members to enter chatroom then use this chat.php instead of one in he zip.

or replace the whole code in the chat.php to
<?php
//Include global variables.
include("global.php");
//Check to see if the user is registered, if they are not, show them the login screen.
if ($bbuserinfo[userid]==0) {
show_nopermission();
}
//If the user is registered, proceed to load the chat template.
else {
eval("dooutput(\"".gettemplate("chat")."\");");
}
?>

albibak
07-27-2003, 08:57 PM
Thx, good job

L-Mane
08-02-2003, 03:18 AM
Parse error: parse error, unexpected T_STRING in D:\WebPublic\allhiphop\community\online.php on line 265

Also no one can see what each other is typing

Keyser S?ze
08-02-2003, 05:11 AM
i see on iggys forums IRC that when i first went in it had a lil popup asking me to install some file, and that took care of the jvm, anyone know how this is done?

also if u go to the pjirc demo the way they have it in the formated popup is really nice

NOT that _target=blank, thats not goot cuz that just opens it in a new browser and doesnt look professional

L-Mane
08-03-2003, 03:24 AM
How can I change the colors?

Keyser S?ze
08-05-2003, 04:39 PM
this is a very nice hack but a few things need to be done, needs to be made a popup like the demo at pjirc.com, that looks so sweet,

i dont get why the thing isnt working, cuz the demo there works fine for me

but anyways, needs to be fixed so u dont get the error

edit

i read the pjirc faq and it says for this to work right u must be on your own irc server, like irc.yoursite.com

Wedge
08-05-2003, 08:44 PM
Is there anyway for when someone enters who has a nick with spaces that it'll fill the spaces with an underscore?

-Wedge

Jean147
08-07-2003, 09:35 AM
Easy and great. Grats amigo. :)

Jean147
08-07-2003, 10:09 AM
hmmmmmm.....seems I got a small problem. :(


Tried to change the server to "irc.shadowworld.net". Unable to connect is the message. Port is also set to "6667"

Jean147
08-07-2003, 01:42 PM
This Online.phpo thing also does not work. :( Always get an error message. Any ideas?



Is there also a way to see who is online in chat at the moment???

Keyser S?ze
08-09-2003, 10:06 PM
does ANYONE know how to set this up so u can use a diffrent server? i changed the pram host to irc.xxxxx.com but now it wont connect, this hack works great if i keep it on the spinbot server, any help?

shamrox
08-30-2003, 05:18 AM
I continue to get an IRCApplet class not found error when going to my chat.php screen - along with the rest of the links in this thread. Any suggestions?

And yes, I uploaded the IRCApplet.class file to my /forums directory.

This would be so cool if it worked! Please help.

MaDCaT75
08-30-2003, 05:35 AM
Is this stable enough for me to install or should I wait?

insanctus
08-30-2003, 06:40 AM
Mad if you want irc let me know I will give you a channel, also I have a better java client then jirc.

lasto
08-30-2003, 07:01 AM
this dont work

well not for me anyway and i done everything

and its not as if its that hard to install either

lasto
08-30-2003, 07:10 AM
removed Error Lines i posted Java errors here but was to many so removed em

insanctus
08-30-2003, 07:11 AM
It worked fine for me when I used it, I just do not like jirc, the free one is no good, and I found something better for free with nothing in it for adds.

Also redid it so it was only one template and less lines of php.

lasto
08-30-2003, 07:12 AM
u sharing it m8 as im interested in it

insanctus
08-30-2003, 07:15 AM
Well since it is already a hack here I do not think I can release it (pretty sure not allowed release same hacks, that are close in code.

Also I forget name of the chat (the person who made the irc applet) But I will dl it off my site later and rezip.

You can see it at http://sanguinox.com/forums/chat.php

You can change the bg and everything, sort neet applet.

MaDCaT75
08-30-2003, 07:26 AM
Today at 08:40 AM insanctus said this in Post #73 (https://vborg.vbsupport.ru/showthread.php?postid=429638#post429638)
Mad if you want irc let me know I will give you a channel, also I have a better java client then jirc.

Thank you very much. It would be way cool to have a channel and perhaps maybe you could setup an irc thing on my forum or at least tell me how to? :ermm:

insanctus
08-30-2003, 07:27 AM
Ya I am changing it over for lasto anyhow so I will just code it on your forum. Then send him a copy.

MaDCaT75
08-30-2003, 07:41 AM
Thanks

insanctus
08-30-2003, 08:36 AM
No trouble at all, Lets just hope mine installs easy for lasto lmao.

lasto
08-30-2003, 11:50 AM
insanctus it installed in less than 2 mins - perfect and connected to mirc server straight away so speed is fast as well.All in all its good.Only drawback i have from any of these is not having the ability to click on direct link and go to em.Besides that its the best ive seen.

Cheers for your time this morning.

insanctus
08-30-2003, 11:52 AM
Most welcome, and I have no clue why it does not let you click the link, I click them no troubles.

Sounds like an ie setting perhaps or the java driver you may be using.

lasto
08-30-2003, 11:54 AM
funnie u say that - i never had java enabled so i had to install the full java console - but who cares me h/d is big enough :)

another thing can u turn off that whois that it does on every one in room when u join ??

insanctus
08-30-2003, 11:58 AM
The whois when they join? I am lost on that one

lasto
08-30-2003, 01:20 PM
need to speak to you m8

somethig is weird - im in your chat now

insanctus
08-30-2003, 02:11 PM
On my way in :)