Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Dream's Chatbox Details »
Dream's Chatbox
Mod Version: 2.0, by Dream (Member) Dream is offline
Developer Last Online: Sep 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (46 votes - 4.83 average) Installs: 379
Released: 07 Nov 2006 Last Update: 14 Aug 2007 Downloads: 5844
Not Supported DB Changes Uses Plugins Template Edits Additional Files Re-usable Code  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	chatbox.jpg
Views:	6753
Size:	50.9 KB
ID:	65010   Click image for larger version

Name:	smilies.gif
Views:	700
Size:	8.7 KB
ID:	65011  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Statistics Modifications Dream's Forum Statistics Dream vBulletin 3.6 Add-ons 340 03 Jan 2013 12:14
Chat Modifications Chatbox Rules in cyb chatbox title Hornstar vBulletin 3.7 Template Modifications 15 23 Apr 2011 17:57
Add-On Releases Adsense in Dream's Radio And TV Add-on indie2industry vBulletin 3.7 Add-ons 6 26 Feb 2010 19:37
Mini Mods Adsense in Dream's Radio And TV Add-on indie2industry vBulletin 3.6 Template Modifications 9 17 Jan 2010 13:44
Chat Modifications Dream's Chatbox Dream vBulletin 3.7 Add-ons 118 01 Jun 2009 01:47

  #646  
Old 14 Aug 2007, 11:04
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
VERSION HISTORY

version 1.2
- Added option to let users delete their own messages.
- Added option to show username links with user group colors. Note this may raise resource usage.
- Added WOL support.
- Added option to change the HTML tag used around usernames.
- Added smilies!

version 1.3
- Now when the Chatbox auto-refreshes, the message the user was typing isn't lost.
This is not perfect, because by the time the Chatbox refreshes it gets the message, and the user has time to type more stuff while the page is loading, so it may lose some letters.

version 1.4
- Added Ajax!
Now you can set your refresh rate to 3 seconds and make your server cry to mommy!

version 1.5
- Show Time? now correctly removes time from messages. When it does, mouseover the user name will show the time.
- Added automatic URL parsing. Requires BBCode to be enabled.
- Added hide refresh button option, good if you have a low refresh interval.
- Added option to change the image smilies button into a normal button, same as send and refresh.
- Added Banned Users option.
- Input buttons now use the correct button CSS class.
- Added cron files to the zip file, auto prune and auto post, the instructions to use them are in cron/cron.txt

version 1.6
- Fixed IE7 bug, the ajax code now uses vB's ajax functions.

version 1.7
- Added /me code. Users can use the /me code in front of messages to denote an action.
- When posting the posted message now appears right away, as opposed to having to wait for a refresh. This is faster and uses a little less resources.
- Added Chatbox height option. To use it, redo your forumhome template edit. If you like your Chatbox size you don't need to do it.

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.

version 1.9
- Added option to disable auto refreshing for guests. This can save resources if you have a low refresh rate.

version 2.0
- fixed minor bug that could stop the chatbox from working if the ajax response had newlines
- fixed bug that the chatbox was using the primary usergroup colors instead of the display usergroup colors for the username coloring
- fixed instructions for the chatbox under the navbar or under the forum list, old code's collapse wasn't working properly
- changed the default Chatbox place on the forum home page in the install instructions to show it after the forum listing
- updated the install instructions to be easier to follow and have more info
Reply With Quote
  #647  
Old 14 Aug 2007, 13:40
James Argo's Avatar
James Argo James Argo is offline
 
Join Date: Aug 2007
Real name: James Argo
Thumbs up

First post on the board.

Dream, thanks for the updated version!

In 1.9 post announcement, you said 1.9 is your final version and didn't think of upgrading it anymore. But then again, here comes the 2.0!

BTW, can someone assist me how to set it so I can have only last 50 messages shown? I mean I want it to delete first message automaticaly after it reaches 51 messages so only 50 last messages shown...

Thank you!


Jaymz
Reply With Quote
  #648  
Old 14 Aug 2007, 14:03
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
You are welcome

You can turn off the "Show Pages?" option, so it will only show the last 50 messages, but they will still exist in the database. Then you can use the files in the cron/ folder to auto prune your messages say older than 30 days, or just keep the old messages in case you want to see them later.
Reply With Quote
  #649  
Old 15 Aug 2007, 20:48
James Argo's Avatar
James Argo James Argo is offline
 
Join Date: Aug 2007
Real name: James Argo
Thumbs up

Awesome, fast reply! Thanks alot Dream! I appreciate all your effort on it
Reply With Quote
  #650  
Old 16 Aug 2007, 17:00
AshleyTwo AshleyTwo is offline
 
Join Date: Mar 2006
Is it possible to install this in a subforum rather than on the home page? Thanks.
Reply With Quote
  #651  
Old 17 Aug 2007, 03:35
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Yes, you would need some template conditionals and to edit the right template. I wouldn't know exactly which one to tell you though.
Reply With Quote
  #652  
Old 18 Aug 2007, 02:45
CrashPush's Avatar
CrashPush CrashPush is offline
 
Join Date: Feb 2007
Real name: Harry
Bravo Dream! You're the man!
Reply With Quote
  #653  
Old 20 Aug 2007, 19:15
Ekshi Ekshi is offline
 
Join Date: Aug 2006
Hi, I've a problem with Tag Around Username option. I want usernames in a bold font and i wrote strong into the Tag Around Username option but nothing happened on the usernames in the chatbox. Can anyone help me?
Reply With Quote
  #654  
Old 20 Aug 2007, 19:19
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
"strong" or "b" should work. Aren't they already bold?
Reply With Quote
  #655  
Old 20 Aug 2007, 21:05
Ekshi Ekshi is offline
 
Join Date: Aug 2006
Originally Posted by Dream View Post
"strong" or "b" should work. Aren't they already bold?
I've already try "b" and "strong" but it didn't work.
Reply With Quote
  #656  
Old 20 Aug 2007, 21:09
Ba$im Ba$im is offline
 
Join Date: Apr 2007
Real name: Basim
hello Dream
I have some question if u don’t mind
shall I enable ajax on my forum before? cuz I use arabic charset and it have many problem as u know with ajax

how load it will eat?


thanks
__________________
3walim soft news arcade
Reply With Quote
  #657  
Old 20 Aug 2007, 22:44
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Yes, although I think this mod doesn't work in arabic forums.
Reply With Quote
  #658  
Old 21 Aug 2007, 06:40
Infante Infante is offline
 
Join Date: Apr 2005
Real name: Glen
I just tried to install this. And this is what I got
Not Acceptable
An appropriate representation of the requested resource /admincp/template.php could not be found on this server.

Apache/1.3.37 Server at forum.realcavsfans.net Port 80
Reply With Quote
  #659  
Old 21 Aug 2007, 10:27
Ekshi Ekshi is offline
 
Join Date: Aug 2006
Originally Posted by Ekshi
Hi, I've a problem with Tag Around Username option. I want usernames in a bold font and i wrote strong into the Tag Around Username option but nothing happened on the usernames in the chatbox. Can anyone help me?
Are there anyone have the same problem?
Reply With Quote
  #660  
Old 21 Aug 2007, 18:33
l3asturd l3asturd is offline
 
Join Date: Jul 2007
Installed yours because it was easy to understand. You also gave an easy option for vbadvanced users. It looks great and was in use minutes after being installed!

MOTM!

http://www.disctribution.com/forums/
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:33.

Layout Options | Width: Wide Color: