Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Dream's Chatbox Details »»
Dream's Chatbox
Version: 2.1.1, by Dream Dream is offline
Developer Last Online: Sep 2010 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.7.x Rating:
Released: 01-11-2008 Last Update: 10-09-2008 Installs: 142
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

This adds a Chatbox in your forum home page.

Here's how it works: every 5 minutes the chatbox asks the server if there are new messages. You can change this 5 minutes to any number of seconds you want, but the lower you go the more server resources the chatbox uses.

Features:
- AJAX
- Pages
- Change refresh rate
- Hide chatbox content from chosen usergroups
- Set usergroups that can't send messages
- Set moderator usergroups that can delete messages
- Can disable auto refresh for guests
- Prune messages by user ID, user name, days old or all messages
- Enable smilies, bbcode and/or [ img ]
- Automatic URL parsing
- Option for users to delete own messages
- Smilies popup with all smilies you can use
- Who's Online Support
- User names uses usergroup colors
- Ban Users
- /me code
- Message colors
- and more

This mod is final, no new features will be added.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
ahmadatom

Comments
  #32  
Old 04-04-2008, 09:22 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in the zip file theres a text file with instructions on how to add there
Reply With Quote
  #33  
Old 04-05-2008, 03:06 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #34  
Old 04-06-2008, 01:27 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

figured it out!

just paste
PHP Code:
allowTransparency="true" 
in the iframe attributes.
Reply With Quote
  #35  
Old 04-11-2008, 05:01 AM
AlexanderT's Avatar
AlexanderT AlexanderT is offline
 
Join Date: Mar 2003
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #36  
Old 04-11-2008, 05:35 AM
AlexanderT's Avatar
AlexanderT AlexanderT is offline
 
Join Date: Mar 2003
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AlexanderT View Post
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.
Reply With Quote
  #37  
Old 04-11-2008, 08:32 AM
AlexanderT's Avatar
AlexanderT AlexanderT is offline
 
Join Date: Mar 2003
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #38  
Old 04-11-2008, 12:56 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #39  
Old 04-11-2008, 09:49 PM
AlexanderT's Avatar
AlexanderT AlexanderT is offline
 
Join Date: Mar 2003
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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".
Reply With Quote
  #40  
Old 04-19-2008, 01:59 PM
rapidphim rapidphim is offline
 
Join Date: Feb 2007
Posts: 733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone please tell me how many queries this thing will use? What are the pro and con among this with MCG and CChat?
Reply With Quote
  #41  
Old 05-02-2008, 10:29 PM
bornoffire bornoffire is offline
 
Join Date: Apr 2007
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:09 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04915 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete