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
Details »»

Version: , by Jakeman Jakeman is offline
Developer Last Online: Jul 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-09-2001 Last Update: Never Installs: 49
 
No support by the author.

JPILOT / vBULLETIN INTEGRATION by jake (first hack! wOOtie! )
-for jpilot 2.5.1 and vbulletin 2.2.6

to see this in action visit my site at www.macsubculture.com (there is a link in the nav column called IRC Chat)

please see http://www.jpilot.com/ for info on the jpilot chat applet.

instructions:
-upload all the jpilot files to your vb root. see jpilot site for download and instructions.
-upload both scripts in the scripts folder to your vb root.
-create the new templates in your vb admin cp. see templates folder... templates to be named the same as each file, etc.
-configure the jpilot params in the chatmain template. see the jpilot site for a list of all params and their functions.
-put this link in your header template or where ever you want the IRC chat link to be: <a href="chat.php?s=$session[sessionhash]" onClick="window.open('chat.php?s=$session[sessionhash]','key','WIDTH=600,HEIGHT=450,scrollbars=no,left=5 0,top=50,screenX=50,screenY=50');return false">IRC Chat</a>
-that's it!

how it works:
-link to the chat.php file first... this pulls the "chat" template which is an intro type of thing with info about the chat. put whatever "intro" type stuff you want in the "chat" template. the chat.php script does not check for registration.
-in the "chat" template that the chat.php pulls there is a link to the chatmain.php file which checks for registration. if the user isn't registered or not logged in they are directed to the "chatnoreg" template which gives them a note saying they aren't logged in, etc. you can customize the chatnoreg template to say whatever you want. if they *are* logged in then they are directed to the chatmain template which has the applet and the params which loads the chat.
-my jpilot params are set up so the user isn't even given a chat config screen. their name is auto filled in and they are auto logged into chat. i also have a param that disables the /nick command. only registered members can chat and they can't change their name in chat to impersonate people. if you want this set up differently it's all in the params (see the jpilot site for info).


--jake
*cream pie*

Show Your Support

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

Comments
  #52  
Old 01-21-2002, 09:22 PM
ladyfyre's Avatar
ladyfyre ladyfyre is offline
 
Join Date: Nov 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just FYI.....

There is actually a MUCH easier way to integrate the IRC into the forums...by using a wonderful little Jirc add-on called WTK. You can find it at http://jirc.webt.dk/frontend.php

I use the "open chat in new window" box on my forums, with a slight modification, i was able to auto fill in everything so that all they have to do is enter their nick and hit enter. It is clean, attractive, and works well with little complications..just follow the install stuff, and then add the relevant HTML/PHP code into your templates (I put mine in the header so that the chat box appears on every page).

It also have a lot of tools with it, such as buttons and such to automatically interact with Nickserv/chanserv or even act as a channel op.

It may not be perfect for those on a shared server (i am not honestly sure what complications that causes), but for myself and others who are colo or dedicated server people, it gives you an outstanding interface, and there are also many different image sets to choose from.

Just thought I would mention that

Now...if i could just get that "Chatting Now" thing working with the rest of my setup, I would truly be a happy camper
Reply With Quote
  #53  
Old 01-22-2002, 12:41 AM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that isn't vB integrated then. this hack denies people who aren't logged in, and autofills the user name if they are logged in. otherwise it might as well be stand-alone.
Reply With Quote
  #54  
Old 01-22-2002, 12:54 AM
ladyfyre's Avatar
ladyfyre ladyfyre is offline
 
Join Date: Nov 2001
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understand that. I also understand that the same thing can be accomplished by using the WTK software, since it is already written in PHP, simply by adding an include, and calling for the username & login routine.

Since it is a Chat Front End already written in php, it is simply much easier to integrate...and with the same results.
Reply With Quote
  #55  
Old 01-22-2002, 03:12 AM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nya!
Reply With Quote
  #56  
Old 01-23-2002, 08:45 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a cool hack, i've just installed it, and now i'm looking for an IRC server, can anyone suggest one?
Reply With Quote
  #57  
Old 01-31-2002, 07:24 PM
smleg smleg is offline
 
Join Date: Dec 2001
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

irc.undernet.net?

Download mIRC and look at all the servers available or start your own :-)

I have this weirdo error with version 2.2.2 of vBB

Warning: Undefined variable: REQUEST_URI in D:\wwwroot\ramprage\forums\global.php on line 60

Warning: Undefined index: HTTP_POST_VARS in D:\wwwroot\ramprage\forums\global.php on line 85

Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 85

Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 88

Would that be my php.ini file settings??

Ramprage
Reply With Quote
  #58  
Old 01-31-2002, 10:12 PM
Ninth Dimension's Avatar
Ninth Dimension Ninth Dimension is offline
 
Join Date: Oct 2001
Location: London, England.
Posts: 739
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the suggestion, i'm using www.dal.net at the moment, but i'll try that one too
Reply With Quote
  #59  
Old 02-01-2002, 01:06 AM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by smleg
irc.undernet.net?

Download mIRC and look at all the servers available or start your own :-)

I have this weirdo error with version 2.2.2 of vBB

Warning: Undefined variable: REQUEST_URI in D:\wwwroot\ramprage\forums\global.php on line 60

Warning: Undefined index: HTTP_POST_VARS in D:\wwwroot\ramprage\forums\global.php on line 85

Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 85

Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 88


Would that be my php.ini file settings??

Ramprage
Reply With Quote
  #60  
Old 02-01-2002, 10:05 AM
PhotoGenie PhotoGenie is offline
 
Join Date: Jan 2002
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running the irc chat integration on my site and I'm running 2.2.2... I didn't have to change anything in the chat when I upgraded.. My site .. Heres a link. You are welcome to look if you like..
Reply With Quote
  #61  
Old 02-01-2002, 12:47 PM
smleg smleg is offline
 
Join Date: Dec 2001
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well this is very strange folks...

On my private server, the one where I previously posted the error, it still doesn't work. I think it's because my PHP/MySQL isn't setup properly on my Win 2k machine.

To convince myself I setup the forum and chat onto my real webhost and everything went perfect! (Win 2k hosting....)

So the question remains, what is in my php/mysql that isn't setup properly to cause this error?

Thanks and great hack!

smleg
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 05:23 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.11297 seconds
  • Memory Usage 2,305KB
  • 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)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