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
jIRC Chat Integration Details »»
jIRC Chat Integration
Version: 1.00, by FleaBag FleaBag is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 09-11-2002 Last Update: Never Installs: 66
 
No support by the author.

This hack is very similar to other hacks already released, I know there are a few others out there - I made this for myself so thought I would release it just incase anyone else found it useful. This hack takes into consideration Who's On-line, is controlled by one template, and has less files to upload than a few other chat hacks. All the files you need to run IRC chat from your vBulletin are included in this distribution. This hack is configured to work with HashNet IRC [www.hashnet.org]. HashNet let's you register your username's as well as your channels, protecting it from any misuse. All the information you need for such processes can be found on the HashNet site. If you wish to use a different IRC server, or a channel name other than that of your vBulletin title, edit the '<para name' tags in your chat template [which you'll add in Step 2] of installation...

This distribution includes jIRC version 2.6.0. The original jIRC readme file is included in this zip file for copyright reasons. jIRC is Shareware [and as a result, you receive messages encouraging the admin to register when it is used] - if you like the product, and basically if you want it to work correctly you must register it.

Pricing can be found on the jIRC website [www.jpilot.com].

*Thanks to Jakeman, FireFly, TWT Commish and everyone else at vBulletin.org for the help they've given me with vBulletin hacking to date.*

Please click install if you use this hack!

Show Your Support

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

Comments
  #62  
Old 03-11-2003, 04:14 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cyricx, in your chat.php try putting this before the line that includes global.php:

Code:
chdir('/home/gof/public_html/forums');
And make sure the require statement doesn't have a path in it. It should be merely: require('./global.php');

Try it and see. I believe that will fix your probs if chat.php isn't in the same directory as the forums.
Reply With Quote
  #63  
Old 03-11-2003, 04:51 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AHhhhhhhhh

Booya That was it, it had to be in the same folder as the forums. =/

Thank you tons!
Reply With Quote
  #64  
Old 03-11-2003, 04:57 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no prob.

Amy
Reply With Quote
  #65  
Old 03-11-2003, 07:46 PM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Amy.
Reply With Quote
  #66  
Old 04-14-2003, 04:14 PM
Red Blaze's Avatar
Red Blaze Red Blaze is offline
 
Join Date: Jan 2003
Location: Texas
Posts: 493
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A friend of mine gets this error.

Connection: Not Encrypted

I have the address and everything else set up right. Any ideas on how I can fix this?
Reply With Quote
  #67  
Old 05-11-2003, 01:28 AM
Jadelit Jadelit is offline
 
Join Date: Feb 2002
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone know a good irc network to register on for free?
Reply With Quote
  #68  
Old 06-07-2003, 09:27 PM
sajjid sajjid is offline
 
Join Date: Jul 2002
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
05-11-03 at 03:28 AM Jadelit said this in Post #66
anyone know a good irc network to register on for free?

yes
http://www.hashnet.org/

or
irc.unreal.pl
Reply With Quote
  #69  
Old 06-21-2003, 04:08 PM
thesatman thesatman is offline
 
Join Date: Aug 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any ideas how to get this working with V3 beta ??

I think it will only be the gettemplate in chat.php that needs changing , but i'm not sure what to change it to.

Thans
Chris.
Reply With Quote
  #70  
Old 06-21-2003, 04:20 PM
thesatman thesatman is offline
 
Join Date: Aug 2002
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK got it working with V3-

change chat.php to-

Code:
<?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.
error_reporting(E_ALL & ~E_NOTICE);

define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'myfile');

// get special phrase groups
$phrasegroups = array();
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array(
'my_custom_template'
);
// pre-cache templates used by specific actions
$actiontemplates = array();

require_once('./global.php');
eval('print_output("' . fetch_template('chat') . '");');
?>
Reply With Quote
  #71  
Old 06-25-2003, 05:19 AM
dotagious dotagious is offline
 
Join Date: Oct 2001
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I have this working on vBulletin 2.3.0 and jPilot 7.0 and the only problem I've encountered is:

The default vbulletin "you are not logged in" page appears when trying to access domain.com/forums/chat.php even though you are in fact logged in. You have to hit refresh for it to recognize this. How can this be fixed?
Reply With Quote
  #72  
Old 06-25-2003, 03:05 PM
sajjid sajjid is offline
 
Join Date: Jul 2002
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is easy fix but because vb.org does not support vb3 beta on these forums i cant really tell you
Reply With Quote
  #73  
Old 06-25-2003, 09:41 PM
SharkMatt SharkMatt is offline
 
Join Date: Nov 2002
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error when trying to access the chat when im not login. it doesnt show the login screen like it should be doing.

Fatal error: Call to undefined function: show_nopermission() in /usr/local/psa/home/vhosts/sbhacsupport.ca/httpdocs/chat.php on line 6

could someone privmsg me or something and help me out plz????

thnx
Reply With Quote
  #74  
Old 06-28-2003, 01:07 AM
SloppyGoat's Avatar
SloppyGoat SloppyGoat is offline
 
Join Date: Feb 2002
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone know if there's a way to register this on both sides of a router? See, I have to use the internal ip to access my board because it's on my own server which is behind a router. The registration for the JIRC applet asks for your url to generate the license. That means it'll only work with my external address, if that's the one I give, and not from behind my router! I'll be the only one who can't use the registered version, and that sucks! Does anyone know a way to fix this?
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 01:19 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.08730 seconds
  • Memory Usage 2,333KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (1)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
  • (2)pagenav_pagelink
  • (14)post_thanks_box
  • (14)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (14)post_thanks_postbit_info
  • (13)postbit
  • (14)postbit_onlinestatus
  • (14)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