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
  #452  
Old 05-29-2007, 12:44 PM
agsguar agsguar is offline
 
Join Date: Feb 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream View Post
So, just show smilies in /images/smilies/general ? Or other folders as well?
I preffer only show the general folder. or could be show in random mode with all folders?? jeje

Thank you!
Reply With Quote
  #453  
Old 05-30-2007, 02:28 AM
Euda Euda is offline
 
Join Date: Apr 2007
Location: Dallas
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream View Post
One user had this problem and posted his fix

https://vborg.vbsupport.ru/showpost....&postcount=403

I'm not sure why this is happening with you guys
There we go, thank you so much!!!!!

MARKED AS INSTALLED!!!!

Reply With Quote
  #454  
Old 05-31-2007, 11:06 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated, version 1.8

- Forced align="left" on main <div>s because people were having problems with the chatbox content being centered.

- Changed javascript function name from deleteShout() to deleteMessage(), because this is a chatbox not a shoutbox :P and the name was visible to users on mouseover

- Added time CSS class to times so it matches the rest of the forum (btw Mark I always loved your forum since I made games for v3arcade)

- Added javascript isRefreshing check, so the chatbox won't have two parallel refresh instances and show duplicate messages, to fix problem on slower connections.

- When showing latest messages at the bottom, the chatbox now will only scroll to the bottom when there are new messages. (only works if you are not updating all messages on each refresh)

- Fixed javascript warning, was getting shoutsDiv <div> by it's name, wasn't defining shoutsDiv variable. (wonder how it worked in the first place)

- Added option to update all messages on refresh. This will fix deleted messages not being removed from users chatboxes, but can highly increase resource usage. The default method is getting only the new messages.

- Added message colors. You must enable it in the Chatbox options. You can change the available colors in the options.

Message editing won't be added because the user can easily delete his message and resend it. Also because the code level of complexity would highly increase because of the way things are done.

Also I wasn't able to remove the chatbox from the Who's Online list when the user is viewing the forum home, sorry.
Reply With Quote
  #455  
Old 06-01-2007, 01:15 AM
arco arco is offline
 
Join Date: Apr 2007
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update. There's an issue with the mouseover time though. Check my webpage...
Reply With Quote
  #456  
Old 06-01-2007, 01:47 AM
arco arco is offline
 
Join Date: Apr 2007
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reverted the time code in chatbox.php to that of v1.7, and all is well.
Reply With Quote
  #457  
Old 06-01-2007, 01:53 AM
arco arco is offline
 
Join Date: Apr 2007
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Getting a funny number on top of the input box when not logged in. The color selection box should be locked for not logged in users too. Think I'll just go back to v1.7 for now.
Reply With Quote
  #458  
Old 06-01-2007, 03:03 AM
agsguar agsguar is offline
 
Join Date: Feb 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi dream...

Houston, We have a problem!!

Hi, i have a problem with the 1.8 version..

this is the message:

Quote:
Invalid SQL:
SELECT c.shoutid, c.userid, c.username, c.shout, c.dateline,
c.ipaddress, c.color, u.usergroupid FROM chatbox AS c LEFT JOIN user AS u ON
(c.userid = u.userid) ORDER BY dateline DESC LIMIT 0, 50;

MySQL Error : Unknown column 'c.color' in 'field list'
Error Number : 1054
Date : Thursday, May 31st 2007 @ 05:32:09 PM
Script : http://www.xxxxxx.com/foro/chatbox.php?nofocus=1
Referrer : http://www.xxxxxx.com/foro/index.php
IP Address : xxx.xxx.xxx.xxx
Username : THORNE
Classname : vB_Database

Please help us!! thank you!!
Reply With Quote
  #459  
Old 06-01-2007, 03:02 PM
under_takers under_takers is offline
 
Join Date: May 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin 3.6.7:

Invalid SQL:
DELETE FROM vb_productdependency WHERE productid = 'chatbox_lite';

MySQL Error : Lock wait timeout exceeded; try restarting transaction
Error Number : 1205
Date : Friday, June 1st 2007 @ 08:55:08 AM
Script : http://www.xxxxx-xxxx.com/vb/admincp...=productimport
Referrer : http://www.xxxx-xxx.com/vb/admincp/p...?do=productadd
IP Address : 125.209.xx.xx
Username : xxxx-xxxx
Classname : vb_database


well is there any solution ?
Reply With Quote
  #460  
Old 06-01-2007, 07:46 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by arco View Post
Thanks for the update. There's an issue with the mouseover time though. Check my webpage...
Quote:
Originally Posted by arco View Post
Reverted the time code in chatbox.php to that of v1.7, and all is well.
Quote:
Originally Posted by arco View Post
Getting a funny number on top of the input box when not logged in. The color selection box should be locked for not logged in users too. Think I'll just go back to v1.7 for now.
I updated the zip file, update your chatbox.php. I couldn't replicate the funny number on top of the input box.
Reply With Quote
  #461  
Old 06-01-2007, 07:47 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by agsguar View Post
Hi dream...

Houston, We have a problem!!

Hi, i have a problem with the 1.8 version..

this is the message:




Please help us!! thank you!!
Did you import the new product file?
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 04:23 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.04737 seconds
  • Memory Usage 2,312KB
  • 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
  • (7)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
  • (2)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