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
  #412  
Old 05-18-2007, 02:53 PM
Sir_Yaro's Avatar
Sir_Yaro Sir_Yaro is offline
 
Join Date: Jun 2004
Location: Ireland
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream View Post
Download the zip file again and try product-chatbox-vB-3.5.xml please
It works!
Thank u very much!
That's what I call good support!!
Reply With Quote
  #413  
Old 05-18-2007, 03:54 PM
Sir_Yaro's Avatar
Sir_Yaro Sir_Yaro is offline
 
Join Date: Jun 2004
Location: Ireland
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi!

Two questions.
  • Is there any way to edit shout(s)?
  • How to set different input field size on vBA than forum home ?
Generaly 50px input field is fine but vBA's columns are very narrow and 50px input field is way to long for vBA...


If u can show me how to detect current page (if it's vba page or forum home) I think I can do it by myself...


edit1
--------
firefox's error console says:
Quote:
Call to element via global ID/NAME. Insted of that
use document.getElementById() method from DOM W3C standard.

Line:380
and my friend additionally show me this:
Code:
shoutsDiv.innerHTML = newshouts + shoutsDiv.innerHTML;


function updateChatbox(newshouts) {
if (inputontop == 1) {
shoutsDiv.innerHTML = newshouts + shoutsDiv.innerHTML;
} else {
shoutsDiv.innerHTML = shoutsDiv.innerHTML + newshouts;
document.body.scrollTop = document.body.scrollHeight;
}
updateTimeNow();
}
Reply With Quote
  #414  
Old 05-18-2007, 11:58 PM
Kahuna900's Avatar
Kahuna900 Kahuna900 is offline
 
Join Date: Apr 2005
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have uninstalled this mod, but the links to it still remain in the admin menu. I can't seem to find where I can make those changes.
Reply With Quote
  #415  
Old 05-19-2007, 12:05 AM
da420 da420 is offline
 
Join Date: Nov 2005
Posts: 1,232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure you have deleted the files in /includes/xml/ and /admincp/...
Reply With Quote
  #416  
Old 05-19-2007, 03:03 AM
arco arco is offline
 
Join Date: Apr 2007
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sir_Yaro View Post
  • Is there any way to edit shout(s)?
  • How to set different input field size on vBA than forum home ?
Generaly 50px input field is fine but vBA's columns are very narrow and 50px input field is way to long for vBA...
There's no way to edit the shouts. Only way at this moment is for example to use phpmyadmin to do it.

Input field size is set in the chatbox options in your admincp, and what you change it to should be visible in vBa just as it does in forum home. But maybe it works different in vB 3.5, all I know is that it works fine here.
Reply With Quote
  #417  
Old 05-19-2007, 08:16 AM
Dem3ntedSn1per Dem3ntedSn1per is offline
 
Join Date: May 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working on 3.6.7 PL1. This is just what I needed! Thanks!

Somebody mentioned this a few pages ago (yes, I'm too lazy to go back and quote it). One of the styles I use wasn't showing text in the input area. The smallfont style for that theme has the text white, and the input box background unset (white) by default. Thought I'd share how I dealt with it.

In chatbox.php

Find
Code:
maxlength="255" class="smallfont"
Change to
Code:
maxlength="255" class="bginput"
For styles having problems
Edit Main CSS
Adjust the Input Fields section to appropriate background and/or text colors for you style.

The Input Fields section changes the style for all input fields in vBulletin. If you change the colors for them, you'll also want to edit the settings for <select> Menus to match. Otherwise your drop down lists will be a different style than input fields. This is very noticeable during registration or when editing a profile.
Reply With Quote
  #418  
Old 05-19-2007, 11:30 AM
Zidane007nl's Avatar
Zidane007nl Zidane007nl is offline
 
Join Date: Jul 2004
Location: The Netherlands
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reinstalled the mod (since I was using a kinda old version) and it works great now. Nice new features.
Reply With Quote
  #419  
Old 05-19-2007, 11:36 AM
Sir_Yaro's Avatar
Sir_Yaro Sir_Yaro is offline
 
Join Date: Jun 2004
Location: Ireland
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by arco View Post
Input field size is set in the chatbox options in your admincp, and what you change it to should be visible in vBa just as it does in forum home.
I know this and that's why I ask how to change it. I want to get 2 different input field sizes. I can do it myself if someone show me how to check what page is currently browsed...
Reply With Quote
  #420  
Old 05-19-2007, 02:41 PM
arco arco is offline
 
Join Date: Apr 2007
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sir_Yaro View Post
I know this and that's why I ask how to change it. I want to get 2 different input field sizes. I can do it myself if someone show me how to check what page is currently browsed...
Ok, now I understand. Different input field size in vBa and the forum home. I don't think thats doable. Dream please correct me if I'm wrong.
Reply With Quote
  #421  
Old 05-21-2007, 09:48 AM
fpattberg fpattberg is offline
 
Join Date: Jan 2007
Location: UK
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi.

I have instlled this and its works very nicely.

THere is just one thing. When you are going to "Whos is online" and a member/guest is on the main page it shows " Chatbox" instead of your index title of the main forum page.

Is there a way to fix this?

Thanks.

Fabian
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:39 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.05027 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
  • (3)bbcode_code
  • (5)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