View Full Version : IRC Java addition (bocazas irc)
Simple IRC addon for Vbulletin using bocazas Java IRC, its free no ads or anything, its included in the zip with all the instructions and so on.
This is a fairly simple Hack if you can even call it that
after looking around and really now finding a iRC interface that i liked i accidently stubled across this from one of my admin's.
I have included the java files from bocazas i just removed there examples to avoid confusion.
look thru there read me to get a better feel for the options you have to customize this with.
//////Install Guide/////////
Step 1.
Upload the following to the forums root directory
Upload bocazas.cab
upload bocazas.jar
upload chat.php
Step 2.
Create a new template called chat
and copy the text out of chat.template
or use the template backup system from Firefly
https://vborg.vbsupport.ru/showthread.php?s=&threadid=33072&perpage=15&highlight=template backup&display=&pagenumber=1
and import the chat.template
//////////////////////chat.template contents/////////////////////////////
<html>
<head>
<title>$bbtitle - IRC Chat</title>
$headinclude
</head>
<body>
$header
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr>
<td width="100%"><img src="{imagesfolder}/vb_bullet.gif" alt="" border="0" align="absmiddle">
<normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> >
Chat</b></normalfont></td>
</tr>
</table>
<br>
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" {tableouterextra} width="70%" align="center"><tr><td>
<table cellpadding="10" cellspacing="0" border="0" width="100%"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" bgcolor="{tablebordercolor}" width="100%">
<tr>
<td colspan="5" bgcolor="{tableheadbgcolor}"><normalfont color="{tableheadtextcolor}"><center><b>$storename</b></cebter></normalfont></td>
</tr>
<tr>
<div align="center"><applet archive="bocazas.jar" code=bocazas.class width=620 height=450>
<param name="CABBASE" value="bocazas.cab">
<param name="nickname" value=$username>
<param name="fullname" value=$email>
<param name="channel1" value="#d2network">
<param name="language1" value="english">
<param name="server1" value="www.d2network.com">
<param name="files" value="false">
<param name="autoentry" value="true">
</applet> </div>
$footer
</body>
///////////////////////end chat.template contents////////////////////////////////
Step 3.
open the chat template
thru the admin panel Templates > Modify and select Chat(edit)
find
<param name="channel1" value="#d2network">
and edit to match your irc channel name
<param name="server1" value="irc.d2network.com">
edit to match you irc server name
Optional Steps
read the bocazas-readme.txt and customize the rest fo the <param name" to suit your sites needs if any.
thats its all done
Dymo
and a screenshot for those who care.
http://www.gamer-networks.com/irc.jpg
including the zip with bocazas seperately its a 190k too large to attach here sorry
chat.zip (http://www.gamer-networks.com/downloads/chat.zip)
[hhhh]
04-23-2002, 01:31 PM
Good!
Corbu
04-23-2002, 01:57 PM
Thanks a lot !
I'm going to test it now !
chazman
04-23-2002, 03:07 PM
is there a way to use this type of addon/hack as an instant messenger. So that it opens up into a private channel essentially. You would have to incorporate some sort of popup for the person that you were wanting to chat with. Similiar to the PM popup on a new message. I think this would be a great addition.
Chazman
its an idea not sure how it would implemented, the only way i can think it would be possible would be to mimic the pm popup which means the other user would have to refresh to get it, and I am not 100% sure if the pm 's are checked on every page or only on the index, i think for an instant messenger style of hack it would be easy and better to rely on a web based icq hack instead
chazman
04-23-2002, 04:49 PM
either way I think it would be very handy. Since the Who's Online feature is there, it is very tempting to want to hold a quick chat with folks online. PM's are like waiting for email to show up.
Chazman
give me a few days to work on that, its gonna be a major amount of work to get it working in that way
Kumaro
04-23-2002, 08:21 PM
Thank you! somebody finally made an IRC chat hack that is free... Wohoo!!!
Just one thing...it uses the same username, as your vb one, but IRC servers don't allow nicknames that start with numbers...soo...is there a way to automatically change the persons nickname? cuz many people don't know the IRC command to change a nickname....
If this is not possible...doesn't matter...stil an amazing hack
Thanks a Mil!
open your chat template and find
<div align="center"><applet archive="bocazas.jar" code=bocazas.class width=620 height=450>
<param name="CABBASE" value="bocazas.cab">
<param name="nickname" value=$username>
<param name="fullname" value=$email>
<param name="channel1" value="#d2network">
<param name="language1" value="english">
<param name="server1" value="www.d2network.com">
<param name="files" value="false">
<param name="autoentry" value="true">
</applet> </div>
change
<param name="nickname" value=$username>
to
<param name="nickname" value="NickName">
and change
<param name="autoentry" value="true">
to
<param name="autoentry" value="false">
this will cause the irc window to pause and allow the user to change his or her nick, it also will no longer auto join IRC.
the rest of the Param you can edit are listed in the readme-bocazas.txt
dymo
GOD-Dblade
04-23-2002, 08:55 PM
nice hack dymo....nice to see you on these boards to :)
Kumaro
04-23-2002, 08:57 PM
great, thanks a million...
one more thing:
How in the world did you change the header image of the applet...mine uses the bocazas one...I replaced the image with the one I wanted to use in .jar, but it won't let me replace it in the .cab...
how did ya change tha image...and the link of the image too?
er i didnt change the image on it, its a black image with a red logo, i just happen to have a black background on my site so it blends prefectly
dymo
Kumaro
04-24-2002, 10:14 AM
damn...thanks
ariaforums
04-26-2002, 10:35 AM
Anyway to add multiple server choices?
ta :)
server1
server2
server3 - Defines all the servers you want to show in the list
etc of the configuration menu. By default the first one will
be selected.
You can especify a different port for each server following
the format:
irc_server:port1,port2,port3
Ex: <param name="Server1" value="irc.bocazas.com:6667,6668">
If not irc port is given, 6667 is the default.
lifesourcerec
04-26-2002, 02:40 PM
Works like a charm. :)
lifesourcerec
04-26-2002, 04:19 PM
Originally posted by chazman
either way I think it would be very handy. Since the Who's Online feature is there, it is very tempting to want to hold a quick chat with folks online. PM's are like waiting for email to show up.
Chazman
I wish their was a who's online addon to this :)
i honestly dont know the pm system well enough to write another popup for irc chats, and I still dont know if the popup is based on the index only or if it pops up with pm notices if you browsing the forums, but i will take a peak at it this weekend.
dymo
FYI this isnt dead were close to finishing this private chat request addon
chazman
04-30-2002, 03:49 PM
AWESOME!!! Thanks Dymo!!!!
Any timeline? I bet with this addon this Hack will go to the top of the charts in no time!
Chazman
theres a few minor problems with it still, but i should have a release in a day or two
pjgoncalves
05-04-2002, 03:29 AM
tks! gonna try for sure :)
Renegade
05-04-2002, 03:33 PM
Seems to keep defaulting to irc.bocazos.com instead of my edited chat template??
anyone have an idea why?
post the param code your using then i might be able to help more
chazman
05-05-2002, 01:56 PM
howz the instant message mod coming?
chazman
ling_thing
05-24-2002, 06:35 PM
cheers for this
works a treat
Jawelin
05-27-2002, 11:27 AM
Originally posted by dymo
server1
server2
server3 - Defines all the servers you want to show in the list
etc [...]
If not irc port is given, 6667 is the default.
Very very nice hack.
It could be possible, instead specifying different servers, to have (and make selectable) different #channels ?
Thank you very much.
Bye
Duke Of Lion
07-07-2002, 11:10 AM
THANK YOU, working great, but my name has spaces in it, so how do I connect to it, with only duke like on vbulletin, or can't I do it without being on a server which doesn't allow my nick?
lifesourcerec
07-07-2002, 03:49 PM
Originally posted by dymo
change
<param name="nickname" value=$username>
to
<param name="nickname" value="NickName">
and change
<param name="autoentry" value="true">
to
<param name="autoentry" value="false">
this will cause the irc window to pause and allow the user to change his or her nick, it also will no longer auto join IRC.
the rest of the Param you can edit are listed in the readme-bocazas.txt
dymo [/B]
Either that or just change to something like <param name="nickname" value="abc_$username"> and let them change their name when they get on IRC
bonnmac
07-07-2002, 05:14 PM
Works great! Thanks :)
Duke Of Lion
07-08-2002, 10:51 AM
i honestly dont know the pm system well enough to write another popup for irc chats, and I still dont know if the popup is based on the index only or if it pops up with pm notices if you browsing the forums, but i will take a peak at it this weekend.
Originally posted by dymo
FYI this isnt dead were close to finishing this private chat request addon
Any progress in this?
Also:
in the vbulletin.org chat it is the case that when i log on i don't have to type anything.....
It changes my nick from duke of lion to duke, because spaces are not allowed, is that available for this hack too?
Thanx
TalkHardRandy
07-10-2002, 02:46 PM
I've been running with this for a while & it works great... however, I was wanting to know how to restrict certain groups of users from accessing chat. We have users that we don't want to have access to the chat room & short of banning them there is nothing else we can do.
Any suggestions would be appreciated.
Duke Of Lion
07-11-2002, 02:12 PM
Works fine now, but how can I let unregisterd users come in my chat? They get the loggin form of vBulletin? Any help is greatly appreciated.
Duke Of Lion
07-11-2002, 02:19 PM
Originally posted by TalkHardRandy
I've been running with this for a while & it works great... however, I was wanting to know how to restrict certain groups of users from accessing chat. We have users that we don't want to have access to the chat room & short of banning them there is nothing else we can do.
Any suggestions would be appreciated.
I think it can be done by adding a style which you use in only one (members) forum. You can download styles at www.yaxay.com and here in vBulletin.org. Then look in your admin panel and set the usernames in the chat template (OF YOUR MEMBERS STYLE) to $username and $email or something. Of course somebody can log onto your channel using another IRC client, unless you have a private channel of course..... Anyone know where to get them btw?
Still new to this but I think it should work.
Duke Of Lion
07-12-2002, 10:51 AM
Originally posted by Duke Of Lion
Works fine now, but how can I let unregisterd users come in my chat? They get the loggin form of vBulletin? Any help is greatly appreciated.
So which string says users should log in?
Duke Of Lion
07-12-2002, 12:28 PM
Has to do with this part in chat.php right? What should it be?
// Hack Made By dymo
require("./global.php");
if(!$bbuserinfo[userid]) {
eval("dooutput(\"".show_nopermission()."\");");
}
*cough* How would I go about getting my own IRC channel... I am stupid and dont know.
Velocd
07-12-2002, 04:12 PM
Originally posted by neo
*cough* How would I go about getting my own IRC channel... I am stupid and dont know.
http://www.dal.net/services/servcmd.php3?c=24&cmad=register&ct=chanserv
Velocd
07-12-2002, 11:38 PM
This is a very nice hack, although I'm having some troubles myself getting my channel to pick up. I'm sure this has been questioned, but any thought on maybe a "who's chatting" type of thing for the homepage? How does Vbulletin.org do it? Firefly needs to share that secret :(
I've got a question and a thing to add. How can I specify who is the OP when entering my channel? It always selects the first person inside to be an OP. Can this be done with the <param tag, to only allow the person with userid=1 or admin usergroup to be the OP?
Also, I've noticed some of the other chat hacks simply use
<parame name="usrename" value="$bbuserinfo[username]
Instead of calling a query getting the username in chat.php, but I suppose 1 query doesn't make a difference.
UltimaKing
07-13-2002, 03:03 PM
Umm, I must be doing something wrong. It just says "Load Class bocaza not found"
Velocd
07-17-2002, 12:35 AM
You must have not uploaded all the files :P
I have a question about this javachat in specific, it appears to my knowledge that it doesn't support auto-op'ing for registered users when they enter. Only through mIRC when going to the channel it will auto-op you. Any details on how to get this bozaca or whatever chat to auto-op?
trilOByte
07-17-2002, 11:11 AM
Originally posted by TalkHardRandy
I've been running with this for a while & it works great... however, I was wanting to know how to restrict certain groups of users from accessing chat. We have users that we don't want to have access to the chat room & short of banning them there is nothing else we can do.
Any suggestions would be appreciated.
I havent installed this hack and I havent looked at the code, but this should work for all such hacks. Put the url that points to your chatroom, into the title input area on the "create new forum" page. Basically, the chatroom will appear as a forum in your forum list. Then just set your access permissions for the new chatroom forum to whatever you like - as you would any other forum.
mrderanged
07-17-2002, 03:05 PM
Hey all,
Stupid question time. I uploaded the files and created the template. I'm assuming that the link should be "http://www.blahblah.com/forums/chat.php" Is that correct?
Secondly, when I go to that link, all I get is a grey box as if something is there, but it's not running right. Any ideas?
Thanks In Advance,
Scott
PhoenixBB
08-19-2002, 12:23 AM
Any further progress with the private chat thing, or have you give up on it?
Does anyone know how to edit the jar file? I've tried various editors but it's all still illegible. :(
I've swapped this for the deluxe version - the one with the chess and checkers games. My members will probably love it, except for one thing. The private chat swaps to a seperate room instead of the usual popup, so you can't see what's going on in the main room. The smilies are as ugly as sin too. :( Unless I figure out a way to sort them I think I'll have to stick with Parachat or JPilot. So I'm having a bash at editing the jar file. Currently without success.
@Scott: have you got your java plug-ins installed ok? If your browser isn't java enabled all you'll get is the gray box.
Keyser S?ze
08-19-2002, 03:09 AM
installed and working great, thanks alot
edit-
is there anyway to use whes online so it says the person is in the java chat?
Keyser S?ze
08-21-2002, 05:00 AM
fixed that prob, but anyways, none of the members can use the fserves
anyway to fix this?
Grunt
08-25-2002, 02:51 AM
installed and working great..one thing i would like to do however: make the all the popups (change nickname, etc) popup in the middle of the page instead of the upper right hand corner of the window...??
sKunk
08-25-2002, 07:30 PM
Why when I download the IRC files from Bocazas themselves am I restriced to connecting only to their IRC server?
Yet when I use the files attached with this hack I can access any IRC server?
It looks like the product has to be registered for use with any IRC server. Has the version included with this hack been hacked as well or warzed?
NTLDR
08-25-2002, 07:36 PM
Originally posted by sKunk
or warzed?
This is free, or at least was at the time of release. I expect the version on there site has been compiled for use with there servers only.
Originally posted by mrderanged
Hey all,
Stupid question time. I uploaded the files and created the template. I'm assuming that the link should be "http://www.blahblah.com/forums/chat.php" Is that correct?
Secondly, when I go to that link, all I get is a grey box as if something is there, but it's not running right. Any ideas?
Thanks In Advance,
Scott
I too am wondering this. Although when I go that link I see a blank page no grey box :/
Any help would be appreciated.
obiwan8472
01-06-2003, 05:24 PM
Hi, does anyone have a working link for the Hack? I keep getting a 404 Error. :(
Thanx.
obiwan8472
01-06-2003, 10:16 PM
or even if someone could send me the Bocazas files. The Bocaza website is down and has been down for ages. :(
Prince3
01-07-2003, 12:19 PM
I want the files too but..
jundat
01-12-2003, 05:00 PM
download link is deadth . any body can give me new link
Draco
01-28-2003, 04:22 PM
download link is deadth
please, can somebody gif us a new link :surprised:
Beanyhead
02-21-2003, 07:41 PM
Anyone wanna give us a link? =/
The site's back up
Might want to grab it fast....am going to try installing this hack now too :)
Link here btw : http://www.bocazas.com/en/bocazas.asp
ULTIMATESSJ
02-21-2003, 10:46 PM
heh i think i will give this one a try on my forums, from what i've heard, it's pretty reliable, and it's FREE!!!
EDIT: just tried it out, it will only connect to irc.bocazas.com, seems that to use it for other servers, you are now required to register, for use with all of them :tired: looks like i'm without a irc chat again
wolfman
03-21-2003, 04:07 AM
02-21-03 at 07:46 PM ULTIMATESSJ said this in Post #58 (https://vborg.vbsupport.ru/showthread.php?postid=356800#post356800)
heh i think i will give this one a try on my forums, from what i've heard, it's pretty reliable, and it's FREE!!!
EDIT: just tried it out, it will only connect to irc.bocazas.com, seems that to use it for other servers, you are now required to register, for use with all of them :tired: looks like i'm without a irc chat again
Well I had used this one until my host decided to move the ircd from the server my site was on. Might want to check it out as it is a nice java irc chat.
deepdark
04-15-2003, 09:14 PM
where is this file chat.php :(
kushtiUK
07-06-2003, 05:26 PM
Can anyone assit me by emailing me the Bocazas files?
Sooner95
07-10-2003, 12:22 AM
Yes, seems the link is down...
I would love to get this too
Thanks to anyone who can send it
Keyser S?ze
08-02-2003, 03:24 AM
here it is
this is a good chat prog but if anyone has a updated set of smiles pls share it these suck
Renagade
05-03-2004, 12:58 PM
Does this hack work for the 3.0.1 version?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.