Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
IRC Java addition (bocazas irc) Details »»
IRC Java addition (bocazas irc)
Version: 1.00, by dymo dymo is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-22-2002 Last Update: Never Installs: 14
 
No support by the author.

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.

PHP Code:
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
[url]https://vborg.vbsupport.ru/showthread.php?s=&threadid=33072&perpage=15&highlight=template[/url] 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> &gt;
      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.



including the zip with bocazas seperately its a 190k too large to attach here sorry
chat.zip

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 07-08-2002, 10:51 AM
Duke Of Lion's Avatar
Duke Of Lion Duke Of Lion is offline
 
Join Date: Dec 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Quote:
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
Reply With Quote
  #33  
Old 07-10-2002, 02:46 PM
TalkHardRandy's Avatar
TalkHardRandy TalkHardRandy is offline
 
Join Date: Jan 2002
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #34  
Old 07-11-2002, 02:12 PM
Duke Of Lion's Avatar
Duke Of Lion Duke Of Lion is offline
 
Join Date: Dec 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #35  
Old 07-11-2002, 02:19 PM
Duke Of Lion's Avatar
Duke Of Lion Duke Of Lion is offline
 
Join Date: Dec 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #36  
Old 07-12-2002, 10:51 AM
Duke Of Lion's Avatar
Duke Of Lion Duke Of Lion is offline
 
Join Date: Dec 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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?
Reply With Quote
  #37  
Old 07-12-2002, 12:28 PM
Duke Of Lion's Avatar
Duke Of Lion Duke Of Lion is offline
 
Join Date: Dec 2001
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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()."\");");
}
Reply With Quote
  #38  
Old 07-12-2002, 03:28 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*cough* How would I go about getting my own IRC channel... I am stupid and dont know.
Reply With Quote
  #39  
Old 07-12-2002, 04:12 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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....er&ct=chanserv
Reply With Quote
  #40  
Old 07-12-2002, 11:38 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Code:
<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.
Reply With Quote
  #41  
Old 07-13-2002, 03:03 PM
UltimaKing UltimaKing is offline
 
Join Date: Nov 2001
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Umm, I must be doing something wrong. It just says "Load Class bocaza not found"
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:21 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04618 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete