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
  #102  
Old 03-24-2002, 06:22 PM
wooolF[RM]'s Avatar
wooolF[RM] wooolF[RM] is offline
 
Join Date: Jan 2002
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

irc.rizenet.org support long names
Reply With Quote
  #103  
Old 03-24-2002, 09:09 PM
opus opus is offline
 
Join Date: Feb 2002
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by wooolF[RM]
irc.rizenet.org support long names
Reply With Quote
  #104  
Old 03-25-2002, 12:32 AM
HellRazor HellRazor is offline
 
Join Date: Mar 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed the JPilot integration as described in the first post, that part is working fine.

But I can't seem to get the "Who's in JIRC" hack to work. I followed the directions in whosinjirc_chat.txt, but the $chatters variable doesn't display anything.

Anyone have any idea what I might be doing wrong?
Reply With Quote
  #105  
Old 03-25-2002, 02:41 AM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack doesn't have whois in chat functionality. are you confusing this with another hack?

...though, i was meaning to add whois in chat functionality, i just need to spend some time with it.
Reply With Quote
  #106  
Old 03-25-2002, 03:08 AM
HellRazor HellRazor is offline
 
Join Date: Mar 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Elsewhere in this thread, someone posted a "Who's In Chat" hack that is supposed to work with this. Couldn't get it to work tho.
Reply With Quote
  #107  
Old 03-25-2002, 04:17 PM
HellRazor HellRazor is offline
 
Join Date: Mar 2002
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HACK ADDON:

JPilot IRC applet doesn't allow you to have spaces in your name. So if your VBulletin username is "Joe Blow", this hack will log you in to IRC as "Joe" because the JPilot IRC applet ignores everything after the space.

Here's a way to get this hack to substitute an underscore character "_" for a space so that you will log into IRC with your full username:

In your chatmain template, change:

<param name="NickName" value="$bbuserinfo[username]">

To:

<param name="NickName" value="$ircname">

In your phpinclude template, add:

$ircname = ereg_replace(" ", "_", $bbuserinfo[username]);

That's it! Hope this helps.
Reply With Quote
  #108  
Old 03-25-2002, 07:18 PM
[email protected] vbmenu_register("postmenu_232795", true);
Guest
 
Posts: n/a
Default

Hack works great, only one problem, i have installed vbportal as a home page, and the irc chat link only works now when it is clicked from within the forums area, and not on the home page? any suggestions?

check out to see what i am talking about at http://www.hack100.com
Reply With Quote
  #109  
Old 03-25-2002, 08:08 PM
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

your links are correct. it should work. others have had problems with this hack and vbportal together. vbportal might do something differently that is jacking the jpilot.

maybe try removing the sessionhash in the link?
Reply With Quote
  #110  
Old 03-25-2002, 09:35 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm IRC illiterate....I have all the files uploaded, and the templates added, now where do I go to connect to a server? Do I have to register a channel and nick? Can someone point me in the right direction?

Thanks
Reply With Quote
  #111  
Old 03-25-2002, 10:19 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
Hack works great, only one problem, i have installed vbportal as a home page, and the irc chat link only works now when it is clicked from within the forums area, and not on the home page? any suggestions?

check out to see what i am talking about at http://www.hack100.com
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 11:05 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.07307 seconds
  • Memory Usage 2,301KB
  • 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
  • (10)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