Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
[Release] who's in chat (PhpMyChat) Details »»
[Release] who's in chat (PhpMyChat)
Version: , by trilOByte trilOByte is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 07-21-2003 Last Update: Never Installs: 0
 
No support by the author.

This sort of falls between a hack and a template mod. I've released it as a hack on vB.org, but I think it is somewhere in the middle. I thought I'd drop it in here as there are no vB3 files to edit (other than the phpinclude_start and forumhome templates), just 1 file to upload which is not a vB3 source file.

If a moderator thinks it's too close to a hack to be here, then please delete it.

Been done lots before, and is *very simple*, but this will work with pretty much most versions of vB and it definitely works with vB3! It's really not difficult as it's basically a (minor) mod of files included with phpmychat distro.

The following can be used to display "who's in chat" using PhpMyChat, either integrated (with Stasiks integration hack) or out of the box. It can be used with standalone chat dB or chat dB that has been integrated with vB, there are no vB files to hack, and only one template to edit. Again, vBintegration is not required, shared databases are not required for this to work.

It doesnt get much simpler. There are 3 steps....
1 file to upload.
1 addition to phpinclude template.
1 edit of forumhome template.

You can see a working example on http://www.britishblades.com

This should also work with all versions of vB2

Download Now

File Type: (21.4 KB, 8 views)
File Type: (21.4 KB, 14 views)
File Type: (21.4 KB, 11 views)

Show Your Support

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

Comments
  #2  
Old 07-21-2003, 07:27 PM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It stays, as long as it dosent edit any stock .php files its always fine.

Im not familar with phpmychat so I dont know if that lncluded file runs any queries. if it dose however, we can restrict that php code to index.php by doing this:

PHP Code:
if (THIS_SCRIPT == 'index') {
//  chatters -->
ob_start();  
require(
"http://www.yourdomain.com/chatdir/chatters.php3"); 
$chatters ob_get_contents();  
ob_end_clean();
//  end chatters -->
// end if index 
Reply With Quote
  #3  
Old 07-23-2003, 05:12 AM
UND3Rburn UND3Rburn is offline
 
Join Date: Apr 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great stuff, Im going to install this... BUT Im interested in working on a Side Menu like you did.... Mind telling me where to start? I looked at Mashby(I tihnk)'s template mod for vB2 but that got me no where since in running vB3.
Reply With Quote
  #4  
Old 07-23-2003, 08:34 PM
Regus's Avatar
Regus Regus is offline
 
Join Date: Feb 2003
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also interested in learning how you did that little side menu.
Reply With Quote
  #5  
Old 07-23-2003, 10:36 PM
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Location: England
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Regus
I am also interested in learning how you did that little side menu.

It's here:

side menu template mod
Reply With Quote
  #6  
Old 07-23-2003, 11:30 PM
Regus's Avatar
Regus Regus is offline
 
Join Date: Feb 2003
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!
Reply With Quote
  #7  
Old 10-10-2003, 06:42 AM
imported_chuanse imported_chuanse is offline
 
Join Date: Feb 2003
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But i need to have phpmychat to get it work?
or is any chat client ok?
Reply With Quote
  #8  
Old 10-14-2003, 07:01 PM
dstruct2k's Avatar
dstruct2k dstruct2k is offline
 
Join Date: Dec 2002
Location: Winnipeg
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

phpmychat only... looks good, by the way! If only people used my chatroom, this might have a point.
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:27 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.04128 seconds
  • Memory Usage 2,282KB
  • Queries Executed 22 (?)
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_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (3)postbit_attachment
  • (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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete