Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Jpilot Jirc Chat Integration (basic, but it works)... Details »
Jpilot Jirc Chat Integration (basic, but it works)...
Mod Version: 1.00, by mini2 (Member) mini2 is offline
Developer Last Online: Oct 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (0 vote - 0 average) Installs: 4
Released: 03 Jan 2004 Last Update: Never Downloads: 0
Not Supported Is in Beta Stage  

This is my first hack I've shared, because it's quite generic. It's not probably quite as "complete" as it could be with forum style integration, but it works very well for what I required.

Basically I have a chat room (jirc) on my site already, but I wanted to show the number of people in the chat room, in the same way the forum home lists the number viewing each forum.

I've uploaded my jpilot files to the forum directory, and called the main chat page chat.php

You could probably integrate it better by making a new chat.php file and creating a new chat template, but I don't want my chat room to look like part of the forums, so I didn't do it that way.

The way I've dont it requires two files to be modified, and one template modified.

How I did it.

index.php I added a few small changes to get the people in the chat room counted up.

In the mysql query below "### LOGGED IN USERS ###" after "session.lastactivity," I added:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And below "$inforum = array();" I added:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then beneath "eval('$activeusers .= ", ' . fetch_template('forumhome_loggedinuser') . '";');

} " I added:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In includes/functions_forumlist.php below "### Start makeforumbit ###" I added:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That's it for file mods.

Then in forumhome_forumbit_level2_post under:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I added:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you do this, replace the value for forumid with whatever id the forum has you use.

The forum must be added as a "link" forum to the chat room URL (chat.php) for it to show in the forum list.

As I say, there's probably other ways of doing this, and I've no real intention just now of upgrading this, but it works nicely.

Attached is a small screen shot of the chat room listing on the forumhome...

Download Now

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

Screenshots

Click image for larger version

Name:	chat_screen.gif
Views:	296
Size:	5.4 KB
ID:	15363  

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
Active Users in Chat (Works with any web chat client including JPilot) Dom vBulletin 2.x Beta Releases 38 09 May 2004 16:50
jPilot (IRC chat) Integration Jakeman vBulletin 2.x Full Releases 139 06 Jan 2004 13:35
jIRC Chat Integration sajjid vBulletin 2.x Full Releases 87 30 Aug 2003 15:11
jIRC Chat Integration FleaBag vBulletin 2.x Full Releases 72 28 Jun 2003 02:07
[Release] jIRC Chat Integration Brad vBulletin 2.x Template Modifications 18 26 Feb 2003 14:15

Comments
  #2  
Old 04 Jan 2004, 00:01
mini2 mini2 is offline
 
Join Date: Nov 2001
Probably worth adding that for my chat room I check the user is logged in etc (which would be simple if you made a new chat template) and then I use the username for the log in:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Hope that makes sense and this helps someone somehow!

Reply With Quote
  #3  
Old 04 Jan 2004, 01:21
Chris Gwynne's Avatar
Chris Gwynne Chris Gwynne is offline
 
Join Date: Jan 2003

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You don't need the MINI2 in there.
Reply With Quote
  #4  
Old 04 Jan 2004, 07:32
mini2 mini2 is offline
 
Join Date: Nov 2001
Originally Posted by a-drive
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You don't need the MINI2 in there.
Very true. I stuck it in so I can see at a glance who comes via the web, and who comes via IRC.

Reply With Quote
  #5  
Old 06 Jan 2004, 13:36
d3nnis d3nnis is offline
 
Join Date: Jun 2003
Real name: Dennis
hi all I did something different for jpilot / vb3 integration , the mod can be found here :

http://www.vbulletin.org/forum/showthread.php?p=457345

Reply With Quote
  #6  
Old 26 Jul 2004, 02:39
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
Will this work with the VBXIRC hack???? It seems like it would but I'm not sure how I could get the popup chat box to show whos online.... ????
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 06:06.

Layout Options | Width: Wide Color: