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

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

Category: Chat Modifications - Version: 3.6.8 Rating:
Released: 11-06-2006 Last Update: 08-13-2007 Installs: 381
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files  
No support by the author.

This adds a simple Chatbox in your forum home page for your members to chat.

The Chatbox is like a thread, members leave small messages in it for others to see. Think of it as an off-topic thread that never ends. The Chatbox can also help keep chatting out of the threads.

This mod is light on the server, uses little server resources to work. The default refresh rate is set to 5 minutes. You can disable automatic refreshing entirely in the options.

What's the refresh rate? The chatbox updates the messages shown every given seconds, that's the refresh rate. It sends a request to the server asking for new messages every X seconds, that you choose in the options.

Warning: If you set your refresh rate to 10 seconds this mod stops being so server friendly. You can do it, but be sure your server can handle it.


Features:
- Ajax (no page refreshes)
- Pages
- Set refresh rate in seconds
- Hide Chatbox contents from certain user groups
- Set user groups that can't send messages but can view chatbox
- Moderator user groups that can delete messages
- Disable auto refresh for guests
- Prune messages by user ID, user name, days old or all
- Enable/disable smilies, bbcode and [ img ]
- Automatic URL parsing
- Users can delete their own messages
- Smilies popup with all smilies you can use in messages
- Who's Online Support
- Show message dates or not
- User names linked and colored with their user group colors
- Banned Users
- Hide refresh button
- /me code
- Optional message colors
- Bunch of options in the Admin Control Panel

Live Demos: (leave your live demo in this thread!)
http://www.fliz.ru/ (russian)
http://www.sustainabilityforum.com/forum
http://www.virtualorbit.com/
http://www.bowlandcentral.com/forum


VERSION HISTORY



This mod is now final. It has all the features I think a chatbox should have, so I won't be adding more features to it. Anyone has my permission to use this as a base for another mod. It will still be updated for bugs though.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #532  
Old 06-19-2007, 05:04 PM
Day Dreamer Day Dreamer is offline
 
Join Date: Nov 2004
Location: Ontario
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

problem, everytime I post in the chatbox my browser shuts down.
Reply With Quote
  #533  
Old 06-19-2007, 11:32 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by thedvs View Post
Fantastic mod...

However, if I use the chatbox below navbar code, when I use the who's online function I see people...

Viewing Chatbox & not the viewing board index
Yes, that can happen, unfortunately I couldn't fix this issue.

Quote:
Originally Posted by Day Dreamer View Post
problem, everytime I post in the chatbox my browser shuts down.
Never heard of that. Does that happen with all browsers? Post your forum address if you can with your chatbox enabled for guests.
Reply With Quote
  #534  
Old 06-20-2007, 05:35 PM
Forumnerds Forumnerds is offline
 
Join Date: Jun 2007
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ive installed this and had no problems like all these other great chatrooms Cough that cost
Reply With Quote
  #535  
Old 06-20-2007, 05:53 PM
eduardobarcello eduardobarcello is offline
 
Join Date: Mar 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having similar problem here with IE. After some time in auto-refresh the IE will simply quit and you have to close and re-open it. By "quit" i mean it will act like the internet is down. You click anything or refresh anything and it will try to open it without success. Closing IE then re-opening will make it work again, for sometime...
Reply With Quote
  #536  
Old 06-20-2007, 06:16 PM
eduardobarcello eduardobarcello is offline
 
Join Date: Mar 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Adding to my note above: All users to my site are reporting the same issue. After some time idling where the chatbox is or chatting on it, their IEs will quit working. All Firefox users are having no problems with it though. I tried myself, and yes it only happens on IE, and never on Firefox.

Adding more info to this problem:

(1) The problem seem to happen to me only when auto-refresh is on.
(2) I initially had set auto-refresh to 5 seconds, and the problem was happening a LOT!
(3) Then I changed auto-refresh to 10 seconds and the problem nearly went away, but still happened once.
(4) Again, only in IE. Firefox works fine all the time.

I think the problem is that the auto-refresh starts to refresh the Ajax div, then sometimes it takes longer to refresh the Ajax div than the auto-refresh timer is set to, and the auto-refresh timer goes off again and thats when it blows up - it tries to re-refresh the ajax div which is already being refreshed.

May also happen to people without auto-refresh if they spam the REFRESH button too quickly.
Reply With Quote
  #537  
Old 06-20-2007, 11:38 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange, this doesn't happen on my board and I believe it doesn't happen on many boards as well.

Please post your forum address for me to look at, could be a compatibility issue with a custom javascript you may have.
Reply With Quote
  #538  
Old 06-21-2007, 04:53 AM
eduardobarcello eduardobarcello is offline
 
Join Date: Mar 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem was fixed by increasing the refresh time to 15 seconds.
My board: http://www.thebhood.com (World of Warcraft guild)
Reply With Quote
  #539  
Old 06-21-2007, 05:29 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok cool, glad you were able to fix it.

Mark this mod as installed please ^_^ if you keep using it. Makes me happy to see it go up.
Reply With Quote
  #540  
Old 06-21-2007, 08:34 PM
eduardobarcello eduardobarcello is offline
 
Join Date: Mar 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be possible to make it wait for the last Ajax refresh to be done before making a new one when using auto-refresh? Or simply cancel/stop the last refresh when a new one is started. Because i think that would fix the bug. Note that this bug will still happen if the user's internet is kinda slow and its being heavily used at the moment while they're chatting.
Reply With Quote
  #541  
Old 06-21-2007, 11:08 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is already fixed on auto-refreshes. If you have a new auto-refresh before the last one didn't finish, it won't do the new one. I wasn't able to replicate this for sending messages though, so a bug may happen you get two messages show if it's auto-refreshing at the same time you send a message.

To fix that, turn on "refresh all messages on auto-refresh", or something worded like that in the options.
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 03:20 AM.


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.05816 seconds
  • Memory Usage 2,305KB
  • 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
  • (2)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
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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