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.

almightyone 04-14-2002 05:42 PM

config.lib.php3 in the config folder
Find
PHP Code:

define("C_USR_DEL"'4'); 

Replace:
PHP Code:

define("C_USR_DEL"'1'); 


Velocd 04-14-2002 10:33 PM

thanks ^_^

Keta 04-21-2002 09:11 PM

is there a hack like this for eIRC chat or jpoilt? if not r u willing to make me one ;)

pgowder 04-23-2002 01:10 PM

I've installed it with out the intergration hack, and it works fine.

One small fix (doesn't change function)

PHP Code:

<tr id="cat">
    <
td background="images/cg.gif" colspan="6">
        <
normalfont color="{categoryfontcolor}"><b>
        
Who's Chatting:</b>
        </normalfont></a><normalfont color="{categoryfontcolor}">
        <b>$numchatters</b></normalfont>
    </td>
</tr> 


You have a </a> with no <a href>

GOD-Dblade 04-23-2002 10:08 PM

hm will this work with...https://vborg.vbsupport.ru/showthrea...threadid=37781

Velocd 04-28-2002 04:38 PM

I don't think so, but maybe Mem might know how to.

mem 04-29-2002 04:20 AM

GOD-Dblade

your hack is just a new chat to the vbb.
but I just combine phpmychat to vbb not write a new hack.

Velocd 05-26-2002 10:57 PM

I have a question to Mem or anybody else if you could help. How can I get some stats about the phpmychat room, that I can display in the who's chatting area? Such as, much like who's online, I would like to know the max people ever in the chat room, max ever in the chat at one time, and what the date of the last person in the chat room was. ;)

LaNder 05-27-2002 08:12 AM

hmm, another request by me:

is it possible to link the userprofile with the names in the "who's chatting" area?

LaNder

Velocd 05-28-2002 02:34 AM

lol, I was wondering just the same. I wish I could be a great hacker like some of the guys on this forum and answer some of the questions, but unfortunantly I haven't been spending enough time learning PHP and MySQL. Anyway, I have tried using:

<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$post[userid]">

But that just gives an error of an non-existant user.

Craigr 03-09-2003 07:38 PM

Works great. Just what i was looking for. :D

Craig

Loxias 04-11-2003 01:00 AM

Any idea how to get this to wrap the names when it exceeds the table width?

TIA

chitown 04-26-2003 07:26 PM

how do i cange the database over to my member database?

dotagious 04-27-2003 06:02 AM

Quote:

Yesterday at 04:26 PM chitown said this in Post #23
how do i cange the database over to my member database?
Yah because the link in the first post doesn't work.

AND

What does Stasik's intergration hack do? It's not explained in his thread or anywhere else. What does the intergration consist of?

Thanks!

Loxias 04-27-2003 12:56 PM

Quote:

Today at 03:02 AM dotagious said this in Post #24
Yah because the link in the first post doesn't work.

AND

What does Stasik's intergration hack do? It's not explained in his thread or anywhere else. What does the intergration consist of?

Thanks!


Stasik's integration hack allows your vB members to chat with their forum username without having to create a separate one for the chat. I haven't installed just this hack, so I don't know how it works without Stasik's. Copy the user's table created for the chat room to they vB database and you should be set.


All times are GMT. The time now is 04: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.01260 seconds
  • Memory Usage 1,772KB
  • 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
  • (7)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete