Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

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
  #442  
Old 05-28-2007, 01:16 PM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream View Post
I have a question for people that use this mod.

If I were to add message colors (a select box that lets you select the color of your message), should just the message be colored or the whole line, including time and user name?
Just the message imo.

What would be nice is if you could have usergroups shown in the color that the group is assigned. See, on our board, the mods are yellow, supermods are light blue, and admins are bold--that would be spectacular!
Reply With Quote
  #443  
Old 05-28-2007, 02:11 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dream View Post
I have a question for people that use this mod.

If I were to add message colors (a select box that lets you select the color of your message), should just the message be colored or the whole line, including time and user name?
Well I think just the message.

I have already amneded things slightly to show the time using <span class="time"> so that it matches the rest of vB.
Reply With Quote
  #444  
Old 05-28-2007, 04:12 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Flow Fusion View Post
Just the message imo.

What would be nice is if you could have usergroups shown in the color that the group is assigned. See, on our board, the mods are yellow, supermods are light blue, and admins are bold--that would be spectacular!
You mean messages in the color of the user group?
Reply With Quote
  #445  
Old 05-28-2007, 07:13 PM
agsguar agsguar is offline
 
Join Date: Feb 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, dream!!

Thank you for the chatbox!!

I have a question! jeje..

Who can I limit the number of smiles, We have more than 150 smiles, and this spend too time to show all smiles?

Could you help me with this issue?

Thank you in advance!
Reply With Quote
  #446  
Old 05-28-2007, 07:23 PM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi agsguar,

You need to edit your chatbox.php to limit the number of smilies

In chatbox.php, find

$i = 0;
while( $smilie = $db->fetch_array( $result ) ) {

and change it for

$i = 0; $i2 = 0;
while( $smilie = $db->fetch_array( $result ) AND $i2 < XXX ) {
$i2++;

Where XXX is the number of smilies to show

Let me know if this works for you
Reply With Quote
  #447  
Old 05-28-2007, 11:43 PM
Euda Euda is offline
 
Join Date: Apr 2007
Location: Dallas
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dream,

I haven't marked installed yet, because I'm having an alignment problem. I've been all over the code in the templates and php files and can not resolve this. I've tried everything.

Everything inside the chat box is aligned to the center. Could you assist me by telling me how and where to place the code to force it to align to the left?

I am using the default style, so it's not a style issue, well, as far as I can see. The title of the chatbox is aligned to the left, but the input box and all shouts are centered.

Thank you,

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

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

Is working perfect..

thank you.. one more... (sorry)

In my case I have a many forders in smiles folder. example.

/images/smilies/animal
/images/smilies/default
/images/smilies/special
/images/smilies/fresas
/images/smilies/general
/images/smilies/grandes
/images/smilies/nuevas

and the hack take this directory /images/smilies/nuevas.

this images are too large, I preffer to use /images/smilies/general how can change this option.

i dont have problem to make this change manually.

Thank you in advance.!!
Reply With Quote
  #450  
Old 05-29-2007, 12:37 AM
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Posts: 2,251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, just show smilies in /images/smilies/general ? Or other folders as well?
Reply With Quote
  #451  
Old 05-29-2007, 08:37 AM
nureeves nureeves is offline
 
Join Date: Dec 2006
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello,
do this mod takes more bandwith?
Reply With Quote
Reply


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:52 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.05325 seconds
  • Memory Usage 2,314KB
  • 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_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