vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Flashchat: Who is chatting (https://vborg.vbsupport.ru/showthread.php?t=73042)

Paul M 07-29-2005 07:17 PM

The code is located in index.php, so it will only generate the list on the forumhome. You would need to install the hack code elsewhere to have it on all pages. This is discussed earlier in the thread - starting about here.

derekivey 08-05-2005 12:46 AM

For some reason it doesn't show the name of the bot thats in the room, it just shows a blank space. Any ideas on what is wrong?

Paul M 08-05-2005 01:09 AM

Hmm, yes ......

It's never going to show their name - as its not stored anywhere except in a text file .... what a daft system.

Sorry, but I suggest you set $showbots = false; in the hack code as it's never going to work. I'm going to remove that bit for now as it cannot query a database to get the information.

I'll look at it sometime after my holiday to see how easy it is to get the data from the text file it uses, but it may just end up that bots will not be displayed by name, just called "bot", or possibly something like "Users currently in the Chat: 4 (Members: 3, Bots: 1)" with just the list of members.

derekivey 08-05-2005 01:10 AM

Ok No Problem, I'll just do that.

LTW 08-05-2005 08:19 AM

Paul M ... thank you for this ... i've clicked install.

I have a question / request ... i hope it's not already been asked, as i've not read every post in this thread ... but ...

I'd like to know if you can help me put the online chatters in the header? I'm currently using Chen / Erwin's Online Users Mod, which does this for the online users. I'd like for my chatters to be listed up there too. I'd like it setup exactly as you have it below, only displayed above as well.

Is this possible ... can you help me?

Thanks a Bunch.

LTW

Paul M 08-05-2005 01:36 PM

Drop me a PM and I'll look when I return from holiday - I don't have time before.

Prisoner 08-11-2005 02:40 AM

I get the following error when I tried to install this.
Quote:

Warning: main(./chat/inc/config.php): failed to open stream: No such file or directory in /index.php on line 299

Fatal error: main(): Failed opening required './chat/inc/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rwalker/public_html/forum/index.php on line 299
Anyone have any ideas? The forum and chat directories are at the same level...ie. /public_html/chat and public_html/forum.

Thanks!

Prisoner 08-11-2005 10:19 AM

I got it to work by changing"
PHP Code:

require_once("./" $fcfolder "/inc/config.php"); 
require_once(
"./" $fcfolder "/inc/config.srv.php"); 

to
PHP Code:

require_once("/home/rwalker/public_html/" $fcfolder "/inc/config.php"); 
require_once(
"/home/rwalker/public_html/" $fcfolder "/inc/config.srv.php"); 

Was this a sound fix, or is there a better way?

sinoeu 08-15-2005 09:16 PM

Quote:

Originally Posted by Paul M
Well it took me a few minutes to figure out your mistake, but the small snippet of code finally gave it away.

You have put the hack code in the wrong file. It goes in vB's index.php - you appear to have installed it in flashchat's index.php.

There's no mistake like that in my case. But I still have no name display under the total chatters number display. However, when there's nobody in the chatroom, there is a display of "No one is currently using the chat" under the "Members currently in the Chat: 0" :disappointed:

who can tell me why? I am using FlashChat 3931 under vbb 3.07

Paul M 08-20-2005 06:58 PM

Sorry, but 3931 is a very old version of Flashchat, I have no idea if this is still compatible with it.


All times are GMT. The time now is 10:59 AM.

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.01516 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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