vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Help with commas in RealChat rooms string (https://vborg.vbsupport.ru/showthread.php?t=66983)

Velocd 07-10-2004 03:40 PM

Is that output from the function above? If not, post that code, and I'll take a look at it.

Do refer to the substr function above for truncating strings. A how-to-use reference for it is here:
http://www.php.net/substr

Also, trim:
http://www.php.net/trim

Boofo 07-10-2004 04:07 PM

Quote:

Originally Posted by Velocd
Is that output from the function above? If not, post that code, and I'll take a look at it.

Do refer to the substr function above for truncating strings. A how-to-use reference for it is here:
http://www.php.net/substr

Also, trim:
http://www.php.net/trim

Ok, thanks! ;)

That is from this:

$userCount = getServerAPI( "api.UserCount" );


in my first post at the bottom of the code. It's all part of the same code. The wierd thing is it doesn't do it all of the time. Only about every 5th time or so. Sometimes more, sometimes less.

esology 06-02-2005 11:17 PM

I used these tips as a guideline for my RealChat implementation. I sure appreciate this post. I have a question though, whenever my rooms are empty this is what is diplayed.

ERROR: Room empty.
ERROR: Room empty.

Any ideas.


All times are GMT. The time now is 11:44 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.00996 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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