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
  #62  
Old 02-01-2002, 06:49 PM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok then. photogenie says this works on 2.2.2 .

smleg... i'm honestly have no idea what is causing your problem. the php in this hack isn't anything fancy. like you said, it's prolly because PHP/MySQL isn't setup properly on your machine... and that's something i can't help you with.
Reply With Quote
  #63  
Old 02-02-2002, 02:51 PM
PhotoGenie PhotoGenie is offline
 
Join Date: Jan 2002
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it does work with 2.2.2 and it sure beats the hell out of php chats. It's great to have your message go directly to the chat when you enter without the delay and refresh. Easiest hack I've installed yet. Rates a 10 in my book.
Reply With Quote
  #64  
Old 02-03-2002, 06:58 PM
drives fast's Avatar
drives fast drives fast is offline
 
Join Date: Nov 2001
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having the same problem as hypedave.

I have a large hand full of registered members who cannot access the chat page. It says they are logged in but no access.

My script is in the forum root too. I have made changes to manually allow specific usergroups and it works fine for everyone except the handfull that are having the access problems. A database error occurs when those members try to access the page then.

Any idea why only some can't access even though they are members?

I have tested this myself and when I login as them I can't get in either so it can't be a cookies thing locally.

please help
Reply With Quote
  #65  
Old 02-03-2002, 08:35 PM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

everyone that is registered and logged in should be able to access chat.

oh wait. you are running vbportal. i recall some one else had problems with this chat script and vbportal. probably something with global.php. you might try uploading the regular global.php to your forum directory but call it global2.php so it doesn't overwrite or conflict with anything else. then edit the chat scripts to include global2.php instead of global.php. (random idea, might work, might not)

otherwise you might want to ask wajones @ www.phpportals.com about this problem. give him a link to this thread and ask him if he knows what you need to change to get it working with vbportal.
Reply With Quote
  #66  
Old 02-03-2002, 08:40 PM
drives fast's Avatar
drives fast drives fast is offline
 
Join Date: Nov 2001
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you ...I will try both suggeestions
Reply With Quote
  #67  
Old 02-04-2002, 09:12 PM
PhotoGenie PhotoGenie is offline
 
Join Date: Jan 2002
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great hack.. I managed to put together a simple upgrade for myself for showing online chatters that involved no altering of the original install other than pointing your browser to a different page. I guess you could call it an addon. I would share it but it involves code from Dom's Who's chatting hack and I don't want to upset anyone. Again, this is a GREAT hack!
Reply With Quote
  #68  
Old 02-05-2002, 01:59 AM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by PhotoGenie
This is a great hack.. I managed to put together a simple upgrade for myself for showing online chatters that involved no altering of the original install other than pointing your browser to a different page. I guess you could call it an addon. I would share it but it involves code from Dom's Who's chatting hack and I don't want to upset anyone. Again, this is a GREAT hack!
Reply With Quote
  #69  
Old 02-05-2002, 02:05 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by Jakeman
...or at least some linkage for Dom's Who's chatting hack.
Reply With Quote
  #70  
Old 02-05-2002, 11:24 AM
PhotoGenie PhotoGenie is offline
 
Join Date: Jan 2002
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here ya go... Like I said, none of this is mine I just moved things around a little..
Reply With Quote
  #71  
Old 02-05-2002, 11:30 AM
PhotoGenie PhotoGenie is offline
 
Join Date: Jan 2002
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I moved where I place $chatters at on my boards. You only see the area where chatters are listed if there are chatters in chat..
Include in the text file..
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:12 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.05642 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