Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #122  
Old 03-29-2002, 04:04 AM
bitbender's Avatar
bitbender bitbender is offline
 
Join Date: Jan 2002
Location: Sorta near Dallas, Texas
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dang, and I thought I'd found it !! sorry...
Reply With Quote
  #123  
Old 03-29-2002, 12:51 PM
skyline2002 skyline2002 is offline
 
Join Date: Dec 2001
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can any one help me make this addon for 2.01 ver.

https://vborg.vbsupport.ru/showthrea...349#post218349

Please, please!! thank you guys so much!!
Reply With Quote
  #124  
Old 03-30-2002, 06:22 PM
Splitfyre Splitfyre is offline
 
Join Date: Dec 2001
Location: Vancouver, BC Canada
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I am trying to accomplish is that when users login to our site through the forum, when they go to the Chat button it will do a popup like this. I have a contact who did this but cannot get ahold of him on how to do this. Here's the popup:

http://members.shaw.ca/kak/chat.jpg

How can I get it so I can do a graphical window as such with jIRC integration and also be able to pull a banner in at the bottom??
Reply With Quote
  #125  
Old 03-30-2002, 09:23 PM
bitbender's Avatar
bitbender bitbender is offline
 
Join Date: Jan 2002
Location: Sorta near Dallas, Texas
Posts: 166
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by moe@hack100.com


I have these changes already but still doesnt work, ant suggestions.
Reply With Quote
  #126  
Old 06-12-2002, 01:54 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jakeman
I have vb and phportals installed on my board, the hack works great and have had only one issue.

if ur on the vbportal page and click the link i only get a blank window, if ur on the forums page, it works fine..

i seen in the chat.php it makes its call to the global.php file of vb, now seeing as vbportal dont use this in its directory, is there a way to include it?
Reply With Quote
  #127  
Old 06-13-2002, 05:24 PM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

other people have had problems with this hack and vBPortal. i have always referred them to www.phpportals.com for help.

however...

if the chat php files are not in the forum directory then you should be able to use a chdir line at the top of the script to make it so the script is executed from the forum directory:

PHP Code:
chdir('/full/server/path/to/forum/directory'); 
by adding this line below the first <?php line at the top it will allow you to run the file from any directory and the global.php include will always work. if this doesn't work then the problem must be with vBPortal... perhaps vBPortal does something differently that this hack doesn't like. i couldn't say. all i know is this hack works fine with vBulletin version 2.2.1 through 2.2.6 . it should work ok with any version of 2.0 but it hasn't been tested on those earlier versions.
Reply With Quote
  #128  
Old 06-14-2002, 01:20 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the files are in the forum directory already, i will try what you suggest though, thanx
Reply With Quote
  #129  
Old 08-30-2002, 02:37 AM
PhoenixBB PhoenixBB is offline
 
Join Date: May 2002
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love this hack. Working beautifully and am about to try your 'who in chat' hack. Got one teensy little prob tho.......

For some reasons, Mac users - using IE5.1 and 5.5 do not get the applet loading properly in the normal popup. Think it has something to do with the percentages - I customized the table so it resized the whole thing in IE, when make window tiny the table goes tiny too without any need to scroll to see things. But that doesn't work in Mac versions (or in NS6 on PC). So we put a script at top of page redirecting to a Mac friendly version if it recognised the browser was on a Mac.

Now, I pasted that script into the chatmain template, but tho it still redirected fine, it doesn't include that page as part of the intergration. So I'm figuring maybe I need to add the script to the chatmain.php, (converted to php?) so it will load either 'chatmain', or the 'chatmac' template for the mac version, in the popup.

What would be the code - I assume it'll go before the ''gettemplate chatmain'' - to assess whether the browser is on a Mac? Could I use the java script I used on the html page in the chatmain.php or do the two not mix? This is the previous code we used:

//var myURL = "url of the alternate Mac html";
//if (navigator.appName == "Microsoft Internet Explorer" &&
//navigator.appVersion.indexOf("Mac") != -1 ) {
//location = myURL; }

Thanx for any help.
Reply With Quote
  #130  
Old 09-10-2002, 01:02 AM
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Posts: 1,674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed on 2.2.7, modified quite a bit. Working well, thanks.
Reply With Quote
  #131  
Old 12-10-2002, 01:51 AM
GraphicW GraphicW is offline
 
Join Date: Oct 2001
Location: Charleston, WV
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this working in Vbportal with VB 2.29. Lots of modifications were needed. Users in chat show in the forums and I am now working a mod to get it to show up on the VBportal home page.
Reply With Quote
Reply

Thread Tools

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 06:48 PM.


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.04887 seconds
  • Memory Usage 2,303KB
  • 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_php
  • (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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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