vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Who's In Chat for FlashChat (https://vborg.vbsupport.ru/showthread.php?t=89796)

amykhar 10-04-2004 03:20 AM

Do it as a template conditional. Check to see if $chatwho exists or not. If it doesn't, print your "Nobody's in chat" phrase.

memobug 10-04-2004 03:43 AM

I had to do this in the php template

@require("./FlashChat/info.php");

instead of

require("./FlashChat/info.php");

To avoid getting the errors I mentioned above.

Regards,

Matt

imported_pmay68 10-05-2004 12:10 AM

i noticed that when I use this hack it messes up the arcade.. the who's in chat works great but this is the error it gives me when I try to access the arcade, any suggestions??

It has something to do with the phpinclude_start file because when i delete the entry all works fine accept for the who's in chat then... go figure... can you help me??

Fatal error: Cannot redeclare getmicrotime() (previously declared in /www/a/adventurers/htdocs/forums/FlashChat/inc/common.php:123) in /www/a/adventurers/htdocs/forums/includes/functions_arcade.php on line 3

imported_pmay68 10-05-2004 10:30 PM

fixed it nevermind :)

imported_BillAlpha 10-06-2004 07:53 AM

Thanks for the reply Amykhar.

I'd already thought about a conditional but as a noob it's not something I know how to do just yet! I did however adjust the info.php file to show a text line of "Users currently in chat:" which displays a zero when nobody is in the room and then the number of people who are in when it's being used - with their ID underneath as usual.

Cheers :)

Debbi 10-09-2004 05:22 AM

Quote:

Originally Posted by amykhar
Do it as a template conditional. Check to see if $chatwho exists or not. If it doesn't, print your "Nobody's in chat" phrase.

I'm a little new to the vB code. If it's not too much trouble could someone please elaborate on this some? :confused: Thanks!

Loxias 10-10-2004 03:19 PM

Just curious if anyone else is having any issues in Firefox. The Enter key no longer sends the message it returns a line and the background doesn't display properly. Everything works fine in IE though.

GatorLCA 10-14-2004 01:03 AM

For some reason my text has become larger when I have the who's in chat activated. I like it with a smaller font, I'll post pics of what I am talking about

One on the left is what it does when activated, the one on the right is the way it's always been.

Debbi 10-14-2004 02:15 AM

I had the same problem and it involved the HTML from the FlashChat info.php. I removed the HTML from mine but you may be able to close the tags somehow instead. I have no use for displaying that file any longer now that it shows in the who's online. Someone else may know a lot more than I do but that's where I tracked it to.

oldfan 10-15-2004 01:48 AM

[high]* oldfan clicks install :)
[/high]

I got a couple of questions

1 - how to a get it to say "No one in Chatroom" when the chat is empty?
2 - how can I get on the display the usernames like it does in the who's online?
3 - Can this be added to vBadvanced as a block?


thanks


All times are GMT. The time now is 10:56 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.01114 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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