Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Jpilot / Vbulletin Integration for Vbulletin 3 Details »»
Jpilot / Vbulletin Integration for Vbulletin 3
Version: 1.00, by d3nnis d3nnis is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-05-2004 Last Update: Never Installs: 14
 
No support by the author.

To see this in action visit my site at forums.keeptouch.net (there is a link under quick link, only registered users)

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 navbar template or where ever you want the IRC chat link to be:
Code:
<a href="#IRC" onClick="window.open('chat.php?session[sessionurl]','key','WIDTH=600,HEIGHT=450,scrollbars=no,left=50,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).


Credit to original Author of this mod, Jakeman of www.vbulletin.org, thread -> https://vborg.vbsupport.ru/showthread.php?t=33093

Show Your Support

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

Comments
  #2  
Old 01-06-2004, 01:05 PM
mini2 mini2 is offline
 
Join Date: Nov 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very similar to mine really (vB 3.0.0] Jpilot Jirc Chat Integration (basic, but it works)... ), without the "members chatting" on the forumhome list, but WITH proper template integration.

I don't know why you need three templates? Why not have chat and chatmain kill two birds with one stone, and a chat no_reg for those not registered?
Reply With Quote
  #3  
Old 01-06-2004, 01:34 PM
FASherman's Avatar
FASherman FASherman is offline
 
Join Date: Aug 2002
Posts: 289
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why is this in major additions rather than intigrations? There is nothing major about it.
Reply With Quote
  #4  
Old 01-06-2004, 01:38 PM
d3nnis d3nnis is offline
 
Join Date: Jun 2003
Location: Singapore
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mini2
Very similar to mine really (vB 3.0.0] Jpilot Jirc Chat Integration (basic, but it works)... ), without the "members chatting" on the forumhome list, but WITH proper template integration.

I don't know why you need three templates? Why not have chat and chatmain kill two birds with one stone, and a chat no_reg for those not registered?

well, I am nto too sure about the rational of this 3 template that Jakeman originally wrote but I guess what he wants is :

chat - Welcome page
chatmain - Main irc chat page
chatnoreg - Inform any unregister or members who have not login to register or login.

In my case chatnoreg will nto be necessary unless I choose to let unregister users to click on the irc chat link as u can see i place the link under quick links.
Reply With Quote
  #5  
Old 01-06-2004, 07:47 PM
mini2 mini2 is offline
 
Join Date: Nov 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by d3nnis
well, I am nto too sure about the rational of this 3 template that Jakeman originally wrote but I guess what he wants is :

chat - Welcome page
chatmain - Main irc chat page
chatnoreg - Inform any unregister or members who have not login to register or login.

In my case chatnoreg will nto be necessary unless I choose to let unregister users to click on the irc chat link as u can see i place the link under quick links.
The only suggestion I was making was it might be "cleaner" and quicker for users to combine chat and chatmain.
Reply With Quote
  #6  
Old 01-09-2004, 07:48 PM
SloppyGoat's Avatar
SloppyGoat SloppyGoat is offline
 
Join Date: Feb 2002
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to modify the older 2.X hack, so that if a guest clicks on chat, they're just sent to the login page. Does anyone know what "nopermission();" was replaced with. It appears that this is the only thing that's no longer valid in vB3. This method only requires one chat template. The rest is done in the chat.php file. So, in short, it checks for a registered username. If it finds it, it uses that name as the chat name. If not, they get sent to the login/registration page.

[edit]Nevermind. nopermission() now = print_no_permission()

It works great! Just look for the old JIRC Integration hack for 2.X, and modify it. One template and one chat.php file. Nice and simple. :up:
Reply With Quote
  #7  
Old 01-17-2004, 06:39 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would want that unregistered could chat too, is this possible as an option?
Reply With Quote
  #8  
Old 01-19-2004, 03:38 AM
d3nnis d3nnis is offline
 
Join Date: Jun 2003
Location: Singapore
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gmarik
I would want that unregistered could chat too, is this possible as an option?

its possible. As long as the unregistered user clicks on this link

http://www.yourforum.com/chat.php


however, their nick will be defaulted to unregistered.

u might want to do a if conditional to the chatmain template to replace the registered forum username to a nicer default nick on irc.
Reply With Quote
  #9  
Old 01-21-2004, 10:51 AM
allan grossman allan grossman is offline
 
Join Date: Apr 2003
Location: surreal city, usa
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess you could also redirect them to a slightly different jpilot page - one that would allow them to select their own nick
Reply With Quote
  #10  
Old 01-21-2004, 10:30 PM
allan grossman allan grossman is offline
 
Join Date: Apr 2003
Location: surreal city, usa
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it under control - unregistered users can enter a nick and chat also

I managed to edit the 'chatnoreg' template to prompt guests for a nick - and only a nick before forwarding them on to a single channel - here's all you need

When you get chatmain working to your satisfaction:

1. Copy chatmain to your clipboard.

2. Open chatnoreg and overwrite it with the stuff on your clipboard - so chatmain and chatnoreg are identical.

3. While still in chatnoreg, delete this:

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

4. Add this parameter:

<param name="DirectStart" value="false">


plus any of these parameters you need for your config screen. I'd include them all because almost all of them default to true. Set them to 'true' or 'false' as required -

<param name="DisplayConfigNick" value="true">
<param name="DisplayConfigNickPass" value="false">
<param name="DisplayConfigChannel" value="false">
<param name="DisplayConfigChannelPass" value="false">
<param name="DisplayConfigRealName" value="false">
<param name="DisplayConfigServer" value="false">
<param name="DisplayConfigServerPass" value="false">
<param name="DisplayConfigPort" value="false">
<param name="DisplayConfigMisc" value="false">

'DisplayConfigNick' defaults to true but I included it so y'all would get the idea how the config screen works.

5. Save chatnoreg.

I have my own IRC server and only one channel for a forum chatroom so there's no reason for jpilot to configure anything but the nick.

Happy chatting

oh, yeah - I did this on RC3 but it should work on any version.
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 09:59 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04524 seconds
  • Memory Usage 2,307KB
  • 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_code
  • (3)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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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