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

Closed Thread
 
Thread Tools
Who's Chatting? Details »»
Who's Chatting?
Version: 1.00, by Velocd Velocd is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-13-2002 Last Update: Never Installs: 4
 
No support by the author.

Here is alittle hack that I compiled and enhanced out of the source code aided to me by Mem.

This hack will allow you to display the members in
your phpmychat on the forum home page. Very useful
for allowing others to know who is in the chat, and
to further promote the chat room.

Requirements:

- phpmychat (must be installed on same database your forum is running under)
Can be found at: http://www.phpheaven.net/projects/phpMyChat/download/

- You may need, but not tested, the phpmychat
integration by Stasik, which can be found at
https://vborg.vbsupport.ru/showthrea...at+integration

After notes:

I highly recommend phpmychat over any other chat room, as it is free and easy to set up. It works very nicely also.

Show Your Support

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

Comments
  #2  
Old 04-14-2002, 01:58 AM
mem mem is offline
 
Join Date: Oct 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank,you . sir !!

it's good !!
  #3  
Old 04-14-2002, 01:59 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Attached is a screenshot, of me all by my lonesome
  #4  
Old 04-14-2002, 04:25 AM
mem mem is offline
 
Join Date: Oct 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack only logined member can see

if you want to guest and logined member can see it

Modifiy index.php

Find :
PHP Code:
// Ok Get Users and Stats 
if ($bbuserinfo['userid']!=0) { 
Replace :
PHP Code:
// Ok Get Users and Stats 
if ($bbuserinfo['userid']!=or $bbuserinfo['userid']=="") { 
  #5  
Old 04-14-2002, 05:09 AM
thehobbyforum's Avatar
thehobbyforum thehobbyforum is offline
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great thanks again Mem!!
  #6  
Old 04-14-2002, 05:33 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by mem
this hack only logined member can see

if you want to guest and logined member can see it

Modifiy index.php

Find :
PHP Code:
// Ok Get Users and Stats 
if ($bbuserinfo['userid']!=0) { 
Replace :
PHP Code:
// Ok Get Users and Stats 
if ($bbuserinfo['userid']!=or $bbuserinfo['userid']=="") { 
isnt easier to simply remove the if argument?
  #7  
Old 04-14-2002, 06:56 AM
thehobbyforum's Avatar
thehobbyforum thehobbyforum is offline
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey mem have you hacked it to vBportal - I am trying but still getting errors?
  #8  
Old 04-14-2002, 07:21 AM
mem mem is offline
 
Join Date: Oct 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by thehobbyforum
Hey mem have you hacked it to vBportal - I am trying but still getting errors?
sorry, i have'nt hacked it to vBportal !!
  #9  
Old 04-14-2002, 07:26 AM
thehobbyforum's Avatar
thehobbyforum thehobbyforum is offline
 
Join Date: Mar 2002
Location: Los Angeles
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I can use the same basic principles as the other hack I just can't figure out where to insert the code into phportal?
  #10  
Old 04-14-2002, 04:53 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got a quick question I asked in the other post, and thats how can you set phpmychat to erase members after 1 minute instead of 4 minutes. Because if someone enters the chat and then leaves, their name will still show up in the "Who's Chatting" box for 4 minutes.
Closed Thread


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:16 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.09188 seconds
  • Memory Usage 2,297KB
  • Queries Executed 23 (?)
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_php
  • (2)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_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