Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Who's in chat on forumhome.. (No eggdrop) Details »»
Who's in chat on forumhome.. (No eggdrop)
Version: 1.00, by EvilLS1 EvilLS1 is offline
Developer Last Online: May 2021 Show Printable Version Email this Page

Version: 3.0.6 Rating:
Released: 05-13-2004 Last Update: 05-14-2004 Installs: 13
DB Changes
 
No support by the author.

I don't know if any of you will find this useful but its something that I've wanted for a while. For me, the problem with all of the other "who's in chat" hacks is that most of them require something crazy to work (I have no idea what an eggdrop is). Anyway, this one is php/mysql based and should be easy to install.

Description: This will add a new section to your "What's going on?" block which will display a list of users who are currently chatting or viewing the included chat.php page (see screenshot). The list of current chatters is updated every 60 seconds by an auto-refreshing (hidden) iframe in the chat page.

This hack should work with any embedded (web based) IRC chat.

Installation overview:
*Files to edit: (1) -index.php
*Files to upload: (2) -chat.php & icon_chat.gif
*Templates to edit: (1) -FORUMHOME
*Templates to add: (3) -chat_main, chat_chatters, & chat_chatbit
*Queries to run: (1) Adds the chatters table.

After that you simply add the html code to embed your chat applet in the chat_chatbit template. You can then view your chatroom by going to yoursite.com/forums/chat.php.

Note: The list of chatters is updated every 60 seconds, so usernames will still be listed in the "who's in chat" box for up to a minute after they leave the chat page.

Credits: The idea for refreshing the iframe to update the chattime came from John's "extend session" feature in his V3Arcade hack. So thanks John.

Show Your Support

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

Comments
  #82  
Old 11-24-2004, 07:56 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JohnBee
I also use vbxirc
I am very interested in getting this hack working with vbxirc, alot of users
use it, your instructions are not very clear though.

could someone please work throug it and post the code?
This hack wasn't really intended to be combined with other vb chat hacks. If you use a standard IRC chat applet (jpilot for example) the instructions should be very clear. I don't use vbxirc so I have no way to write the instructions based on that hack.

Maybe someone else who has got them working together can help.
Reply With Quote
  #83  
Old 12-12-2004, 07:14 PM
intrloper9 intrloper9 is offline
 
Join Date: Dec 2003
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EvilLS1,

I've read about your hack and I just went through all 6 pages of this forum. Your replies are very helpful and it's good to know a person like you is here to walk us all through these intergrations. :nervous:

I'm a webmaster of a big website that's going through a massive overhaul (design and restructuring) in 2005. The website is www.chuckpalahniuk.net. Right now, we're using a portal for our chat room into mIRC. Check it out here: www.chuckpalahniuk.net/chat/

For 2005, I'd like to go with something completely new and customized. I'll list what we'd like to attempt, and then you can hopefully tell me the best way to do it, and if it's even possible.

1) I'd like a good chat room on our site that doesn't use mIRC. I only say this because the site will be a paysite in 2005, and I don't want people sneaking into our chat room through the "back door" of mIRC. (if there's a way to limit this though, say with that User Groups / Members Only option, I wouldn't mind sticking with mIRC)


2) I love this new "Who's Online" feature for the Chat Room, but is there anyway to utilize on my site besides just in the forums? See, we're creating a User Box that will appear on every page of the entire website. This box will have a number of handy links, but will also be a way to login to the Forums, see if you have PMs awaiting, and will also be a way to "Join" the site if you're not a member.

But the feature I'd also love it to have is a "There are currently 5 Members chatting" type notification. Like your hack, it would refresh every 60 secs, and, if clicked, would open up our Chat Room page.

So is there anyway to intergrate this hack of yours to non-forum pages? Like, will intergrating the proper code into this handy "User Box" allow the "Members Currently Chatting" option to show up on all pages of the entire site?


3) And last, I'd like to have a directory of all the people currently IN the chat room once a member goes to our chat page (but before they actually enter the room). The best example I can give of this is on www.suicidegirls.com/chat/. It's a cool way to see which forum members are chattinge before you launch the room. Sort of like a lobby that tells you who's checked in before you enter the hotel. :cheeky:

That's it. Hope you can answer each one of these.

-Dennis
www.chuckpalahniuk.net
Reply With Quote
  #84  
Old 12-12-2004, 11:06 PM
EvilLS1's Avatar
EvilLS1 EvilLS1 is offline
 
Join Date: Apr 2002
Location: Georgia, USA
Posts: 987
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by intrloper9

1) I'd like a good chat room on our site that doesn't use mIRC. I only say this because the site will be a paysite in 2005, and I don't want people sneaking into our chat room through the "back door" of mIRC. (if there's a way to limit this though, say with that User Groups / Members Only option, I wouldn't mind sticking with mIRC)
With this hack you can control who (which usergroup) has access to your chat.php page but people could still join your IRC channel with their own chat client. No way to limit those by usergroup since the IRC channel is not connected with vbulletin in any way. The only way I can think of to have complete vbulletin based control over which users can access your chat is to ditch IRC and switch to a vbulletin database driven chat like vBchat. These are a bit slower than IRC and use more of your own resources but should give you the control that you want.

Quote:
2) I love this new "Who's Online" feature for the Chat Room, but is there anyway to utilize on my site besides just in the forums? See, we're creating a User Box that will appear on every page of the entire website. This box will have a number of handy links, but will also be a way to login to the Forums, see if you have PMs awaiting, and will also be a way to "Join" the site if you're not a member.

But the feature I'd also love it to have is a "There are currently 5 Members chatting" type notification. Like your hack, it would refresh every 60 secs, and, if clicked, would open up our Chat Room page.

So is there anyway to intergrate this hack of yours to non-forum pages? Like, will intergrating the proper code into this handy "User Box" allow the "Members Currently Chatting" option to show up on all pages of the entire site?
That is possible but would require a completely different hack. I believe it would require adding an extra query to each page aswell which isn't worth it IMO.

Quote:
3) And last, I'd like to have a directory of all the people currently IN the chat room once a member goes to our chat page (but before they actually enter the room). The best example I can give of this is on www.suicidegirls.com/chat/. It's a cool way to see which forum members are chattinge before you launch the room. Sort of like a lobby that tells you who's checked in before you enter the hotel. :cheeky:
Same as above... It can be done but would require a completely separate hack. You'd need to make a post in the request forum explaining exactly what you want (or just copy & paste this one). Then if a coder is interested in your idea and wants to add this to his own site he will make the hack and share it with you.

Dewayne
Reply With Quote
  #85  
Old 05-18-2005, 04:30 AM
Protoman's Avatar
Protoman Protoman is offline
 
Join Date: Jan 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I made it refresh every 15 minutes instead of every 30 seconds, but now it says nobody is chatting. any way to make it wait 15 minutes before erasing the active list??
Reply With Quote
  #86  
Old 06-30-2005, 08:27 PM
sambacb's Avatar
sambacb sambacb is offline
 
Join Date: May 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

************ Add Your Chat Code Here ************
this step is very complicated!!!
Reply With Quote
  #87  
Old 11-07-2005, 04:24 AM
Dstephan Dstephan is offline
 
Join Date: Aug 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone got this working with the JPIRC hack and vB 3.5? This is exactly what I need. I appreciate any help!
Reply With Quote
  #88  
Old 02-15-2006, 12:24 AM
srpompon srpompon is offline
 
Join Date: Feb 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello friends,

In my 3.5.3 the index.php say
Fatal error: Call to a member function on a non-object in /www/docs/orchidswamp.com/public_html/index.php on line 345

this line is:

$inchat=$DB_site->query("SELECT * FROM " . TABLE_PREFIX . "chatters WHERE chattime > $chatdatecut ORDER BY username ASC");

anyone helpme??

Thanks!!
Reply With Quote
Reply

Thread Tools

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 07:13 AM.


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.09096 seconds
  • Memory Usage 2,279KB
  • Queries Executed 24 (?)
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
  • (4)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
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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