The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Dream's Chatbox Details »» | |||||||||||||||||||||||||
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
|
Comments |
#142
|
||||
|
||||
If you want me to take a look, send me your forum link through PM rnmcd
|
#143
|
|||
|
|||
I'm trying to get the pop up to stay on top when pages are changed etc.
I found this code by searching google. <body onblur="self.focus();"> In chatbox.php I changed this: echo '</head><body class="alt1">'; to this: echo '</head><body onBlur="self.focus();" class="alt1">'; The change made the pop up stay on top but you cant change pages or open or close other programs on your desktop. The idea of having the pop up stay on top is so that you can use other programs whilst still always having the chatbox visible. Just move it if it gets in the way of what you are doing. Any ideas anyone?? |
#144
|
|||
|
|||
Found a small bug today. I got this email about a db error from chatbox:
Quote:
FIND: (was on line 47 for me) Code:
$db->query_write("INSERT INTO ".TABLE_PREFIX.$chatbox_table." (userid, username, shout, dateline, ipaddress) VALUES (".$vbulletin->userinfo['userid'].", '".$db->escape_string($vbulletin->userinfo['username'])."', '".$db->escape_string($_POST['shout'])."', ".TIMENOW.", '".$db->escape_string(IPADDRESS)."')"); Code:
$db->query_write(htmlentities("INSERT INTO ".TABLE_PREFIX.$shoutstable." (userid, username, shout, dateline, ipaddress) VALUES (".$vbulletin->userinfo['userid'].", '".$vbulletin->userinfo['username']."', '".$db->escape_string($_POST['shout'])."', ".TIMENOW.", '".$db->escape_string(IPADDRESS)."')")); |
#145
|
|||
|
|||
great stuff thanks..but how can I change send and refresh buttons? and I need to know how change text color written on these buttons..thanks again
|
#146
|
|||
|
|||
Quote:
Also, Do a lot more server 'resources' get used if I change the refresh time to 1 second versus 300 seconds? |
#147
|
||||
|
||||
Yep.
|
#148
|
|||
|
|||
Quote:
Would it be possible to only refresh the message history and have the new message box on a separate frame which isn't refreshed? |
#149
|
||||
|
||||
Nope sorry. Would make stuff too complex.
You can get someone to do that for you though. |
#150
|
|||
|
|||
I have installed vbShout 2.0 on the main page of my forum and it works fine. I'm planning to install another shoutbox in the same forum but in different page or subforum. Is this possible, having 2 shoutbox in one forum? Appreciate your feedback and guide.
VB Version : 3.6.5 |
#151
|
|||
|
|||
Hi I just want to install chatbox in the center module of my vbadvanced home page is this possible and if so how do I do it? I tried to add a module using chatbox.php but it crashed the whole site lol... I am a total noob when it comes to this stuff.
Thanks for all your help! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|