Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
jPilot (IRC chat) Integration Details »»
jPilot (IRC chat) Integration
Mod Version: 1.00, by Jakeman (Coder) Jakeman is offline
Developer Last Online: May 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (3 votes - 3.67 average) Installs: 49
Released: 10 Dec 2001 Last Update: Never Downloads: 9
Not Supported  

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=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).


--jake
*cream pie*

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Jpilot Jirc Chat Integration (basic, but it works)... mini2 vBulletin 3.0 Beta Releases 5 26 Jul 2004 02:39
Active Users in Chat (Works with any web chat client including JPilot) Dom vBulletin 2.x Beta Releases 38 09 May 2004 16:50

Comments
  #2  
Old 10 Dec 2001, 04:08
Justice's Avatar
Justice Justice is offline
 
Join Date: Oct 2001
this looks good... do you have a rough idea of how much server strain or memory this would use, though? I've heard nothing but bad things about java applets and chats
__________________
"You're not an idiot, I've just got 5 years expirence on ya" -Zachery
Reply With Quote
  #3  
Old 10 Dec 2001, 04:13
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Originally posted by Justice
this looks good... do you have a rough idea of how much server strain or memory this would use, though? I've heard nothing but bad things about java applets and chats
dunno. i think most virtual servers don't allow java applets (for the reason of them taking too much resources). i'm on dedicated. my chat has never had more than 7 people in it so far.
__________________
lamo mac boy
Reply With Quote
  #4  
Old 10 Dec 2001, 04:15
derfelix derfelix is offline
 
Join Date: Dec 2001
only if the chat server is on your server..
the chat applet is executed client-side
and the server is somewhere else!
Reply With Quote
  #5  
Old 10 Dec 2001, 04:23
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Originally posted by derfelix
only if the chat server is on your server..
the chat applet is executed client-side
and the server is somewhere else!
my ircd is running on my web server. :stupid:
__________________
lamo mac boy
Reply With Quote
  #6  
Old 10 Dec 2001, 04:51
derfelix derfelix is offline
 
Join Date: Dec 2001
in that case.. java or not.. vbulletin integration or not...
your serverload will be the same as before..
or am i wrong?
Reply With Quote
  #7  
Old 10 Dec 2001, 07:06
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Real name: Justin J. Rebbert
How is this different from the original jPilot integration hack, posted here, coupled with my modification to it, posted here? Aside from the fact that yours goes in a popup window.
__________________
-Justin J. "JJR512" Rebbert
www.JJR512.com: Chat about anything!
Reply With Quote
  #8  
Old 10 Dec 2001, 17:08
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
Originally posted by JJR512
How is this different from the original jPilot integration hack, posted here, coupled with my modification to it, posted here? Aside from the fact that yours goes in a popup window.
looks pretty similar to me
__________________
lamo mac boy
Reply With Quote
  #9  
Old 10 Dec 2001, 17:29
Grover Grover is offline
 
Join Date: Nov 2001
Originally posted by JJR512
How is this different from the original jPilot integration hack, posted here, coupled with my modification to it, posted here? Aside from the fact that yours goes in a popup window.
Hi JJR512/Trog,

I've read that there's isn't a demo available of the hack you mention above. Is it possible that you put a demo on your website of Trog's hack and/or a demo of your modifications, so that we can see what it looks like. Jakeman has put it up, so I can see what he is talking about.

I think you three did a GREAT job. A lot of people NEED a hack like this soooo badly. I run a website for patients with a certain disease and we just need an integrated chat in Vbulletin so badly.

I'm hoping that Jelsoft will include an integrated chat in a future version very quickly. The demand is high. It will boost up the sales of Vbulletin tremendously, I think.

I think it's a GREAT thing to use a IRC applet to do this. But what happens if I use MIRC to logon to the chatchannel? I guess you cannot check if someone is registered that way?

~Grover.
Reply With Quote
  #10  
Old 10 Dec 2001, 21:40
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Real name: Justin J. Rebbert
It's true that anyone can come into the channel through a different client, like mIRC. There are probably ways to prevent that with invite-only modes or passwords, but I haven't really looked into that.

If you would like to see a demo on my board, you can login using username="Test User", password="testuser".
__________________
-Justin J. "JJR512" Rebbert
www.JJR512.com: Chat about anything!
Reply With Quote
  #11  
Old 10 Dec 2001, 22:08
Grover Grover is offline
 
Join Date: Nov 2001
Question Userrights on integrated chat.

Thanks JJR512,

Is it possible for you to figure out how I can prevent other visitors to come to the channel trough MIRC or some other IRC client?

I ONLY want registered users to have access to the chat. ONLY them.

This is VITAL for me and our visitors, 'cause we run a website for people who suffer from a hair disease and privacy is a VERY important thing to us.

I'll hope someone can help, because we need an integrated chat very badly.

Thank U,
Grover.

Ohh....and thanks very much for your test-user! I just saw your chat...great! There's another one at: http://www.chins-n-quills.com/forums/

Last edited by Grover : 10 Dec 2001 at 22:22.
Reply With Quote
  #12  
Old 10 Dec 2001, 22:50
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
i'm not sure how you could limit IRC chat to the jpilot applet only. if anyone else can tell me how then i'll add it to my zip file.
__________________
lamo mac boy
Reply With Quote
  #13  
Old 10 Dec 2001, 23:15
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Real name: Justin J. Rebbert
You should probably set the channel to be secret, meaing it will not show up in a channel listing:

/mode #YourChannelName +s

Now for the real trick: You can password-protect your channel, so that a user must use that password when joining the channel.

/mode #YourChannelName +k YourChannelPassword

(Note: You can reverse any of these settings later by changing the + to -.)

This sets a password for your channel. Now, to make the hack work with a password-protected channel, you need to add a parameter to the template. Somewhere in the "param" list, add this:

<param name="DisplayConfigChannelPass" value="true">

Also, make sure that you have this line in there, too:

<param name="DirectStart" value="false">
This will make sure the config screen, which asks for the password, is shown. Note that you have not seen this screen on my site, because I have it bypassed.

Look here for a complete list of the various parameters you can set through the template: http://www.jpilot.com/java/irc/manual.html By setting various parameters, you can show the config screen, but block it from showing the channel or server info, which will help keep that info secret, making it harder for people to break in.

You just need to tell the people who need to know it what the password is. Note that they can still join through mIRC or other separate programs, by using this command:

/join #YourChannelName YourChannelPass

Note: I have not tried all of this stuff myself. It's all from what I've read here: http://www.jpilot.com/java/irc/manual.html and here: http://www.newircusers.com/ircmds.html I think this is about as secure as you can make IRC, from what I can tell.
__________________
-Justin J. "JJR512" Rebbert
www.JJR512.com: Chat about anything!
Reply With Quote
  #14  
Old 11 Dec 2001, 01:13
Jakeman's Avatar
Jakeman Jakeman is offline
 
Join Date: Nov 2001
wow... seems like too much trouble ;p. plus it isn't full proof. plus you would have to disable directconnect which is a really cool feature; i think it's better to have as few steps as is possible for the end user to start chating.

i wonder if ircd can be setup to check for the client software and disallow all but jpilot? that would be ideal. i wouldn't mind implementing something like that!
__________________
lamo mac boy
Reply With Quote
  #15  
Old 15 Dec 2001, 02:24
dirgotronix dirgotronix is offline
 
Join Date: Oct 2001
If you're running the IRCD you could possibly password protect the server, or kline everything except the relative hostmask of the jirc applet.

just a few ideas.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 03:25.

Layout Options | Width: Wide Color: