![]() |
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 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 |
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 |
fixed it nevermind :)
|
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 :) |
Quote:
|
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.
|
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. |
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.
|
[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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|