Version: 2.0, by Dream
Developer Last Online: Sep 2010
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
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.
The vBAdvanced portal pages must not be loading the javascript to open the popup for some reason. Send me your forum link via PM and I can have a look for you.
As for the Chatbox popup to always stay on top, I don't think thats possible, the popup is a browser window, and I don't think there's an option for a browser window to stay on top all times, but I could be mistaken. Page authors could abuse that kind of option I think.
CMPS doesn't include the forum directory even when chatbox.php is added to Navbar Replacements. I hard-coded mine in the navbar template.
Usergroup controls are now in Admin options but are duplicated in chatbox.php. Do we still place usergroup IDs in chatbox.php or ignore it:
Quote:
$moderator_usergroups = array(); //usergroup ids that can delete shouts
$cantshout = array(); //usergroup ids that are not allowed to shout
$cantview = array(); //usergroup ids that are not allowed to view shouts
I also added the optional part to the NavBar so it appears up there. I notice now that when I open the forums page, the "chatbox" is open for business. If I close it, leave the page, then return, it's open again. Is there anyway to have it retain the last setting (open or closed) that the user left it at?