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 09-14-2004 10:00 PM

Who's In Chat for FlashChat
 
This is a mod for use with FlashChat - a $5 chat script that is worth WAY more than $5.

FlashChat can be purchased at http://www.tufat.com

Out of the box, FlashChat works with Vbulletin 3.

fiber1 09-17-2004 01:24 AM

Screen shot?

memobug 09-17-2004 04:01 AM

Amy thanks for this, and for pointing out Flashchat.

Am I correct in assuming that this link assumes that Flashchat is installed in a folder that is a sibling of the vb forum, and it's called "FlashChat?"

Quote:

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

fiber1 09-17-2004 04:25 AM

fixed

amykhar 09-17-2004 06:47 PM

Quote:

Originally Posted by memobug
Amy thanks for this, and for pointing out Flashchat.

Am I correct in assuming that this link assumes that Flashchat is installed in a folder that is a sibling of the vb forum, and it's called "FlashChat?"

Not a sibling - a child, but the directions indicate you should change that if you installed elsewhere.

I'll attach a screenshot in a second.

memobug 09-19-2004 05:05 AM

Hmmmm.. I get the output but after a group of four warnings displayed first:
Quote:

Warning: fopen(./appdata/appTime.txt): failed to open stream: No such file or directory in /home/bonsai/public_html/forum/chat/inc/classes/chatServer.php on line 60

Warning: fwrite(): supplied argument is not a valid stream resource in /home/bonsai/public_html/forum/chat/inc/classes/chatServer.php on line 61

Warning: fflush(): supplied argument is not a valid stream resource in /home/bonsai/public_html/forum/chat/inc/classes/chatServer.php on line 63

Warning: fclose(): supplied argument is not a valid stream resource in /home/bonsai/public_html/forum/chat/inc/classes/chatServer.php on line 64
User1, Ducky, memoBug
Maybe it's a permissions problem?
Regards,

Matt

amykhar 09-19-2004 02:29 PM

Matt, try doing a chdir before the include and then chdir back afterward.

Flexo 09-30-2004 09:34 PM

What does this mod do? As you say, Flashchat already works with vB out of the box.

Better put: how does it look without the mod?

imported_BillAlpha 10-01-2004 04:03 PM

Just installed this mod - cheers :)

Flexo - it adds an extra table row under the "Currently Active Users" box in the "What's Going On" section on the Forum Home Page, and it lists the IDs of members who are in the Chat Room - handy for users who want to know who's in the room before going in themselves!

Bill ;)

imported_BillAlpha 10-02-2004 02:03 PM

At the minute, when there's nobody in the chat room the "Who's in Chat?" is blank (see attachment).

I was wondering if it would be possible to add something to this mod that would add a line of text saying something like "There are no users currently in chat" when the room is empty?

If so - how could it be done and can anyone do this?!! Cheers :)

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

GatorLCA 10-15-2004 03:27 AM

Got my issue resolved...just took out the HTML in the info.php

dieselpowered 10-15-2004 07:17 AM

Help, I am obviously putting the information in the wrong location on the FORUMHOME template, however, I cannot seem to figure out where it goes :mad:

Here is a pic, could someone help?

GatorLCA 10-15-2004 03:58 PM

Ok, another problem, my co-admin recently upgraded to the newest version and now the Who's in Chat isn't working, I don't see how it wouldn't since I put back the info.php file from this thread into there and when I type in the URL my name shows up but it doesn't show up in the ForumHome even though I haven't changed the templates

EDIT: I fixed it

thatmusicdude 10-18-2004 08:54 PM

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

oldfan 10-19-2004 02:59 AM

Quote:

Originally Posted by memobug
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


try this thatmusicdude

rex_b 10-20-2004 07:01 PM

How did you guys fix the arcade problem. I'm having the same problem...

NuclioN 11-03-2004 10:35 AM

The username on forumhome is to large, how can i get it smaller? It does not work when i set it between font tags.

Quote:

How did you guys fix the arcade problem. I'm having the same problem...
I've deleted the first function (with getmicrotime) out of the functions_arcade.php

indie 11-04-2004 09:18 AM

Anyone having logout from vbulletin issues after being in the chatroom? I found others with this too. Looking for correct fix. thanks

indie 11-05-2004 04:04 AM

...........

dieselpowered 11-05-2004 04:48 AM

Could someone be so kind as to tell me where I should place the code on the ForumHome template...Seems that I am not doing it right and it is not looking as it should. Thank you everyone!!!

dieselpowered 11-09-2004 04:12 AM

Anyone? I would really like to get this up and running and it is not working....

mholtum 11-09-2004 04:21 AM

I got it installed. Easy $$.. The info that is placed in the Forum Home is at the bottom.. Doesnt look very good. I am probably going to remove it.

dieselpowered 11-09-2004 04:30 AM

Ya I got that part, what I do not understand is why it always shows me in the chat?

dieselpowered 11-09-2004 04:46 AM

Alright, problem solved, restored database and got rid of this hack. It does not work properly and has too many bugs.....No support (which I can understand, people are busy)

Hack should probably be put in a beta stage and tested some more.

Viks 11-10-2004 12:04 AM

Warning: fopen(./appdata/appTime.txt) [function.fopen]: failed to create stream: No such file or directory in /hsphere/local/home/vikrem/thelfom.com/forums/flashchat/inc/classes/chatServer.php on line 60

Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/vikrem/thelfom.com/forums/flashchat/inc/classes/chatServer.php on line 61

Warning: fflush(): supplied argument is not a valid stream resource in /hsphere/local/home/vikrem/thelfom.com/forums/flashchat/inc/classes/chatServer.php on line 63

Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/vikrem/thelfom.com/forums/flashchat/inc/classes/chatServer.php on line 64

-- error after installing hack!! HELP!

dieselpowered 11-10-2004 01:59 AM

Viks, hack does not work properly...try this though:

Do this in the php template

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

instead of

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

restless 11-16-2004 07:50 PM

Quote:

Originally Posted by NuclioN

I've deleted the first function (with getmicrotime) out of the functions_arcade.php

what effect does this have on the arcade?

restless 11-17-2004 06:38 PM

well, i found out what removing that function in functions_arcade.php does.

it stops several games that depend on that function from writing any new scores. nobody should remove that function if they want their arcade to work. i think i'd rather have a functioning arcade than be able to see who'd online in the chat.

is there any way to get this working for a forum that has an arcade?

SupraT 11-17-2004 09:56 PM

Sorry if has been asked, but I have found it anywhere.

Can this srcipt be integrated with VB, whereas it loads within it? LIke a hack I guess.

TwinsForMe 11-18-2004 03:11 AM

I took out the html tags in the info.php but my forumhome is still in larger text. Has anyone resolved this issue?


All times are GMT. The time now is 11:20 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.01389 seconds
  • Memory Usage 1,816KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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