vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Chat Modifications - Dream's Chatbox (https://vborg.vbsupport.ru/showthread.php?t=167569)

Dream 04-04-2008 09:22 PM

in the zip file theres a text file with instructions on how to add there

yinyang 04-05-2008 03:06 PM

Thank you. Installed and users loving it.

One thing, and this may be simple, but I can't figure it out.

How do you change the background color of the chatbox?

yinyang 04-06-2008 01:27 PM

figured it out!

just paste
PHP Code:

allowTransparency="true" 

in the iframe attributes.

AlexanderT 04-11-2008 05:01 AM

I upgraded to 3.7rc yesterday and subsequently also upgraded Dream's Chatbox to 2.1. Now I (and my users) have random Ajax error messages popping up on the Forumhome where Chatbox is installed. This never happened while we were still running 3.69 + Chatbox 2.0.

See attachment.

AlexanderT 04-11-2008 05:35 AM

Quote:

Originally Posted by AlexanderT (Post 1488049)
I upgraded to 3.7rc yesterday and subsequently also upgraded Dream's Chatbox to 2.1. Now I (and my users) have random Ajax error messages popping up on the Forumhome where Chatbox is installed. This never happened while we were still running 3.69 + Chatbox 2.0.

See attachment.

Update: It seems the error occurs when, as the error message suggests, there is a communication loss. This can happen for instance when you unplug your internet connectivity while the chatbox ajax call is waiting for a response, or when you put your notebook to standby and resume again later.

Perhaps there is a parameter to vb's/Yahoo's Ajax routines to surpress the error exception?

Update 2: It seems there is. Yahoo Ui Library defines a YAHOO.util.Connect.asyncRequest callback for handling failures: http://developer.yahoo.com/yui/connection/ and vB is handling this via vBulletin_AJAX_Error_Handler.

AlexanderT 04-11-2008 08:32 AM

OK, I replaced

PHP Code:

failure: function(o) { window.alert('AJAX error, please try again. (HTTP status: ' o.status ' / ' o.statusText ')'); } 

with

PHP Code:

timeoutvB_Default_Timeout,
failurevBulletin_AJAX_Error_Handler 

in getNewShouts(), and the error popup seems to be gone.

Dream 04-11-2008 12:56 PM

Yup that happens here too when my computer hibernate and lose connection to the internet. If this gets too annoying I'll remove it depending on the status error.

AlexanderT 04-11-2008 09:49 PM

Dream, there seems to be also other situations. I had a couple of my users report this to me the first day I upgraded to vB 3.7rc. To me it also popped up a few times when I switched back from another Firefox tab to the one containing my forum with the chat installed. It's probably best to make the error handling conditional and ignore it in case of a "connection loss".

rapidphim 04-19-2008 01:59 PM

can someone please tell me how many queries this thing will use? What are the pro and con among this with MCG and CChat?

bornoffire 05-02-2008 10:29 PM

When i am idle on the forum page it pops this error up.

"AJAX error, please try again (HTTP status:0/Communication failure)"

I see you guys are aware of this. Can u tell me how to disable this?


All times are GMT. The time now is 09:47 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.01120 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_php_printable
  • (1)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