vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   jIRC Chat Integration (https://vborg.vbsupport.ru/showthread.php?t=53986)

sajjid 06-06-2003 10:00 PM

jIRC Chat Integration
 
ok i dont take any credit for this as i only changed the content from jpilot to Pjirc chat all cridet goes to FleaBag as he created it first if you want you can see live Live Demo this is for people who dont want to pay for registeration its a open Source Pjirc Website 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

Quote:

Today at 04:10 AM Vile said this in Post #4
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

Quote:

Today at 05:17 AM sajjid said this in Post #4
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

Quote:

Today at 05:51 AM Vile said this in Post #6
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

Quote:

Today at 05:59 AM sajjid said this in Post #7
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:
Quote:

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

Quote:

Today at 06:18 AM Vile said this in Post #8
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:

Code:

*** 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

Quote:

Today at 09:19 AM Intex said this in Post #14
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:
Code:

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

<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

and jpilot

SpinZone Forums

Velocd 06-08-2003 04:24 PM

Quote:

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 in the background do following

ADD this Code just above </applet>

PHP Code:

<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

Quote:

-- 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...curity+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

Quote:

Yesterday at 06:53 AM zajako said this in Post #26
*** 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

Quote:

Today at 10:18 PM morrow said this in Post #29
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

Quote:

Today at 03:18 AM morrow said this in Post #29
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

Code:

<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
Quote:

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.


All times are GMT. The time now is 03:58 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01353 seconds
  • Memory Usage 1,850KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete