vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Who's Chatting? (https://vborg.vbsupport.ru/showthread.php?t=37397)

Velocd 04-13-2002 10:00 PM

Who's Chatting?
 
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. :D

mem 04-14-2002 01:58 AM

thank,you . sir !!

it's good !!:D

Velocd 04-14-2002 01:59 AM

Attached is a screenshot, of me all by my lonesome :(

mem 04-14-2002 04:25 AM

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']=="") { 


thehobbyforum 04-14-2002 05:09 AM

Works great thanks again Mem!!

TECK 04-14-2002 05:33 AM

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?

thehobbyforum 04-14-2002 06:56 AM

Hey mem have you hacked it to vBportal - I am trying but still getting errors?

mem 04-14-2002 07:21 AM

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 !! :(

thehobbyforum 04-14-2002 07:26 AM

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?

Velocd 04-14-2002 04:53 PM

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.


All times are GMT. The time now is 01:44 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01091 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete