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)

dieselpowered 11-18-2004 03:49 AM

Unfortunately, the only way I was able to fix it was to delete it from my server. I really do wish it would work properly though, would have been a great tool!!

Viks 11-18-2004 03:51 PM

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.

yeah. this will be a great mini mod.

can someone tell this ignorant.. non-programmer.. how to do this using above mod.

thanks

outlaw621 11-18-2004 07:44 PM

Quote:

Originally Posted by Viks
yeah. this will be a great mini mod.

can someone tell this ignorant.. non-programmer.. how to do this using above mod.

thanks

I would also like to know how to implement the conditional. I am new to this and would love to learn.
Thank you in advance for your help.

restless 11-19-2004 02:40 AM

Quote:

Originally Posted by xtremeoff-road
Unfortunately, the only way I was able to fix it was to delete it from my server. I really do wish it would work properly though, would have been a great tool!!

don't take out the html... just take out the css.

TwinsForMe 11-20-2004 04:23 AM

Quote:

Originally Posted by restless
don't take out the html... just take out the css.

What does that mean? :confused:

restless 11-23-2004 03:01 AM

remove this code from info.php:

<style type="text/css">
<!--
.normal {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
}
A {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #0000FF;
}
A:hover {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FF0000;
}
-->
</style>

i'd like to reiterate that this hack will NOT work if you the arcade installed. if you take that code out of the arcade file, your arcade ceases to work properly.

TwinsForMe 11-23-2004 04:08 PM

Instead of taking that out of the info.php, I just changed the size from 12px to 11px.

http://twinteresting.com/forums/index.php?

imported_1yesfan 11-28-2004 11:36 PM

I msut say for 5 bucks this is a great addition to my site. Seems to be workign pretty good.

charlesk 12-05-2004 03:23 PM

Could anyone possibly suggest a simple modification to the sample info.php to return just the number of users in chat (all rooms combined)? I might be able to figure it out, but I'm afraid I will mess it up. :) Thanks

Edit: Never mind, I think I figured it out. It was a bit confusing because I found there was already an info.php in my FlashChat directory and it had the code I needed..

Charles

charlesk 12-05-2004 03:56 PM

Okay, looks like I can't get this to work after all.

I modified info.php and got it so when I run it directly it spits out the correct HTML. But whenever I try to put a reference to $chatwho in one of my templates, I get this...

Warning: fopen(./appdata/appTime.txt): failed to open stream: No such file or directory in <my home dir>/vb/FlashChat/inc/classes/chatServer.php on line 60

Warning: fwrite(): supplied argument is not a valid stream resource in <my home dir>/vb/FlashChat/inc/classes/chatServer.php on line 61

Warning: fflush(): supplied argument is not a valid stream resource in <my home dir>/vb/FlashChat/inc/classes/chatServer.php on line 63

Warning: fclose(): supplied argument is not a valid stream resource in <my home dir>/vb/FlashChat/inc/classes/chatServer.php on line 64

Any thoughts on this much appreciated.

Charles


All times are GMT. The time now is 07:36 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.03841 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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