Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[AJAX] cChatBox Details »
[AJAX] cChatBox
Mod Version: 1.5, by christrato (Member) christrato is offline
Developer Last Online: Feb 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (24 votes - 4.79 average) Installs: 404
Released: 05 Feb 2008 Last Update: 28 Aug 2008 Downloads: 2923
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Re-usable Code Translations  

cChatBox - AJAX-based ChatBox for vBulletin 3.6.8 & 3.7.x

by ChriStrato - vbulletin-italia.it




Features:
  • Enable / Disable ChatBox
  • Select if unregistred user can use or only show the chat.
  • Ban Usergroup/Users from AdminCP
  • Set Height of ChatBox
  • Set Name Of BOT
  • A BOT that answer when use a "action" or "command".
  • The Number of message to be displayed is not influenced by messages of BOT because some mess of bot are visualizable only by who have used the "action" or "command".
  • Command for users: /me /myip (show your ip, only you see) /stats (show statistics of chatbox)
  • System of "Action" for Admin or other usergroup that you set in AdminCP.
  • List of "Action": /help /topic /listaction /say /mute /unmute /lunarize /unlunarize /kennylize /unkennylize /removeactions /delmess /deleteall
  • Into AdminCP you can select the allowed action.
  • The Administrator by default can use the "Action"
  • A Topic that is displayed at right of title "cChatBox". Can set Topic via AdminCP or with Action /topic <message>
  • Select the Allowed BBCode into AdminCP.
  • Into AdminCP can select the usergroup can edit/delete all messages and if users can edit/delete their own message.
  • Can select if show the ChatBox on template FORUMDISPLAY (Forum List) or SHOWTHREAD (Thread List) and the Position.
  • Can Enable the Users List at right of ChatBox
  • Send Private Message from the menu of Users List.
  • Select if display (on Users List) all user logged or only who have write on ChatBox and set the Width.
  • Double Click on messages for display the Editor for Edit/Delete message.
  • Editor with image of the style: Bold, Italic, Underline, Color, Smilie, URL, IMG & Remove Text Formatting
  • vBMenu Popup for: Color, Smilie & Fonts.
  • Border of Editor image change color when select (highlight) / deselect (default).
  • Statistics of ChatBox is only visible by command "/statistics", show: Tot Mess, Your Mess & Top 5
  • Can delete all message (action: /deleteall) for clear chatbox or database and not lose statistics.
  • This "Action" affect the message of users: /mute (Mutes user) /lunarize (User talk funny) /kennylize (Message will be affected)
  • If you can use "Action" the /help command retrieve the list of "Action" allowed, else show you the list of command.
  • Can enable and insert a "Announce" and show it below chatbox.
  • Select various tag for the username.
  • The cChatBox is disponible in 2 language: English or Italian.
  • ChatBox and Users List are autorefresh
  • Select if use the class "smallfont" for the text of ChatBox
  • Preview of smilies into popup
  • ... and more ...
Installation:
  1. Download the file "product-cchatbox-1.4.1_eng.zip" if you use English language on your forum, if you use Italian language download the file "product-cchatbox-1.4.1_ita.zip".
  2. Upload file 'cchatbox.php', directory 'includes' and directory 'clientscript' into forum root.
  3. Import XML File: AdminCP -> Plugin System -> Manage Products -> Add / Import Product
  4. Go into: "AdminCP -> vBulletin Options -> cChatBox" and set options for the ChatBox.
Note:

This product is compatible with vbulletin 3.6.8 and 3.7.x.
I have tested only with this version of vbulletin.

I've write also a little tool for convert the statistics of VBSHOUT for the cChatBox! You can find in the directory: "not upload/tool_cchatbox.php".
Use of this tool: Upload file "tool_cchatbox.php" in the root directory of forum and start the script only if you have installed the product cChatBox.


ATTENTION:

If you update from the version 1.0 or 1.0.1 you must delete all messages with the command /deleteall, because in the new version the "userid" of BOT is different.


History:

v1.0 - (02/05/08)
First Public Release

v1.0.1 - (02/05/08)

Fix: Underline / Italic button
Fix: Add TABLE_PREFIX on a table of query for Users List

v1.1 - (02/12/08)
Fix: Output Date/Time for message visble only by who have write the message
Fix: Action: mute / lunarize / kennylize / topic
Fix: Message counter for statistics.
Add: Select if unregistred user can use or only show the chat.
Add: Usergroup/User that can use the "Action", although affected by them, they can use them.
Add: Send Private Message from the menu of Users List
Add: Show Button URL and IMG if select into admincp
Add: Select various tag for the username
Add: Can enable and insert a "Announce" and show it below chatbox.

v1.2 - (02/13/08)
Fix: Problems with a query of users list
Fix: Value of "Messages Time Limit (in hour) for Users List" options. Now can select 1 and the users list work.
Add: Can select if use the class "smallfont" for the chatbox.
Add: Can set the number / row of smilies into popup from the admincp.
Add: Preview of smilie when mouse is over the smilie.

v1.3 - (02/18/08)
Add: Expire time for this actions: mute, lunarize, kennylize.
Add: Checkbox for select the usergroup into admincp.
Add: Check if user is invisible and not show into users list. Are visible only by usergroup can see hidden users.
Add: Can select the position (up or down) of editor toolbar.
Add: Set the refresh time of ChatBox and Users List
Add: ONLY FOR 3.7.x VERSION: Can add friend from Users List menu.
Add: ONLY FOR 3.7.x VERSION: Show "+" after username into Users List if the user is a friend.

v1.3.1 - (02/18/08)
Add: 5 and 15 minutes for expire time of actions
Fix: Now can see the Toolbar for FORUMDISPLAY and SHOWTHREAD templates

v1.4 - (03/12/08)
Fix: Problem with users list when use the action "/say".
Fix: Query for show users list.
Mod: Modified the principal template "cchatbox".
Add: Hook system.
Add: Javascript engine.


v1.4.1 - (08/16/08)
Fix: Query for show users list for the "All Online User" option.
Fix: Select of colour.
Fix: SQL Injection problem.


v1.5 - (08/28/08)
Fix: Friend Request via "User List".
Add: Update Session when write a message.
Add: Set min posts for use the cChatBox




Thanks to:


Enzo and all community of vbulletin-italia.it that they have supported to me for this project.



Click INSTALL if you use this product TNX

Download Now

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

Screenshots

Click image for larger version

Name:	admincp 1.jpg
Views:	530
Size:	69.7 KB
ID:	76141   Click image for larger version

Name:	admincp 2.jpg
Views:	649
Size:	65.8 KB
ID:	76142   Click image for larger version

Name:	admincp 3.jpg
Views:	1039
Size:	69.6 KB
ID:	76143   Click image for larger version

Name:	admincp 4.jpg
Views:	744
Size:	78.1 KB
ID:	76144  

Click image for larger version

Name:	chatbox.jpg
Views:	5581
Size:	22.0 KB
ID:	76145  

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
Social Group and Album Enhancements [AJAX] Album Next & Prev Links Use AJAX Abe1 vBulletin 3.8 Add-ons 63 22 Dec 2013 06:33

  #46  
Old 15 Feb 2008, 07:28
christrato's Avatar
christrato christrato is offline
 
Join Date: Aug 2006
Real name: Christian
Thumbs up

Originally Posted by cajunboy2208 View Post
Mine just stays on loading...

Nothing ever loads

Well, it works on my default style, but not on my custom style...
uhm... for me and for more users work into custom style...

what custom style you have?
if you can give me the link of style, i download it and test.
this is valid also for user: hilfe-forum & Jenkins

tnx
__________________
Website: www.vbulletin-italia.it
Reply With Quote
  #47  
Old 15 Feb 2008, 10:09
hilfe-forum hilfe-forum is offline
 
Join Date: Oct 2005
Location: http://www.alpha-board.eu
Real name: http://www.alpha-board.eu
Endles loading in default and custom Style.
custom Style is self made i can give you a download link sorry but same Prob in default Style (Downlad via vB.com )
I enable chat and defauld Style so you can take a look
http://musik.hilfe-forum.eu/?styleid=1

Maby conflict with other hack?
My Hacks are:
Cyb - Sub-Forum Manager 2.4 Cyb - Sub-Forum Manager
Goldbrick 1.5 Goldbrick Media System
Guest Tracking 3.7.002 Track Guest Visits
Latest X Threads on Forum Home 1.0 This hack will show the latest threads on your forum home page
Links vor Gäste verstecken 1.32 Dieser Hack erlaubt das Verstecken von Links vor Gäste
MGC base commune bitfield personnalisees 1.0 Modification utiles aux differents hacks MGC
passiveVid 1.1.2 Automaticlly turns video links like youtube, myspace videos, google vidoes into the video players.
Plugins als Dateien speichern 1.0.0 Beta 1 Dieses Add-on erlaubt es Plugins als Dateien zu speichern
Post Thank You Hack 7.2 Post Thank You Hack
Radio and TV 1.9 A radio and TV stations library.
RSS items as posts 0.2.3 Items of RSS feeds can be posted as posts in some thread (by zCarot).
vB3.7 Last 15 Searches 1.0.1 This will display the last 15 searches made by your members at the top of the Advanced Search page.
vBSEO :: Sitemap Generator 2.1 Generate a Google & Yahoo Sitemap for your Forums
vBulletin 3.7 RC1 cChatBox 1.2 ChatBox for vBulletin 3.7.x and 3.6.8 by ChriStrato
Youtube Integration 1.0
Zoints SEO 2.2.2 The Zoints Search Engine Optimization Package
Reply With Quote
  #48  
Old 15 Feb 2008, 10:34
christrato's Avatar
christrato christrato is offline
 
Join Date: Aug 2006
Real name: Christian
damn... probably is one product that makes conflict with chat.

you can try to disable One by one your product and show if chat work?
__________________
Website: www.vbulletin-italia.it
Reply With Quote
  #49  
Old 15 Feb 2008, 11:13
hilfe-forum hilfe-forum is offline
 
Join Date: Oct 2005
Location: http://www.alpha-board.eu
Real name: http://www.alpha-board.eu
Originally Posted by christrato View Post
damn... probably is one product that makes conflict with chat.

you can try to disable One by one your product and show if chat work?
Ok now it works


I disable all product
Dont work (endless loading)

I delete old files from another Chatbox...
Dont work...

Reinstall your Chatbox...
Now it works...

Aktivate other product
Stil works

so i think old files of other Chatbox was the problem
Reply With Quote
  #50  
Old 15 Feb 2008, 19:56
christrato's Avatar
christrato christrato is offline
 
Join Date: Aug 2006
Real name: Christian
ah ok tnx man
__________________
Website: www.vbulletin-italia.it
Reply With Quote
  #51  
Old 15 Feb 2008, 20:45
cajunboy2208 cajunboy2208 is offline
 
Join Date: Jan 2007
Real name: Jeremy Minton
Originally Posted by hilfe-forum View Post
Ok now it works


I disable all product
Dont work (endless loading)

I delete old files from another Chatbox...
Dont work...

Reinstall your Chatbox...
Now it works...

Aktivate other product
Stil works

so i think old files of other Chatbox was the problem


I have same problem.
I did all of the steps.
I've never had a chatbox before on my forum though.
And I still have the problem.
It works fine on default skin, but not on my custom skin.
Reply With Quote
  #52  
Old 16 Feb 2008, 06:49
christrato's Avatar
christrato christrato is offline
 
Join Date: Aug 2006
Real name: Christian
you can give me the link of your custom skin for download and try?

tnx
__________________
Website: www.vbulletin-italia.it
Reply With Quote
  #53  
Old 21 Feb 2008, 04:02
Geeps Geeps is offline
 
Join Date: Sep 2007
Any idea why this error would be showing up in internet explorer?

error on page

Line: 668
Char: 1
Error: 'null" is null or not an object
Code: 0

Works fine in FireFox
__________________
4x4's and Ham Radios
Reply With Quote
  #54  
Old 21 Feb 2008, 04:15
Geeps Geeps is offline
 
Join Date: Sep 2007
uninstalled the new version. just received emails about database errors:

Database error in vBulletin 3.6.8:

Invalid SQL:

(SELECT DISTINCT user.username AS username,user.userid AS userid,user.pmtotal,usergroup.pmquota,user.options AS options,cchatbox.username AS cchatusername
FROM cchatbox_message AS cchatbox
LEFT JOIN user AS user USING (userid)
LEFT JOIN session AS session USING (userid)
LEFT JOIN usergroup AS usergroup USING (usergroupid)
WHERE session.lastactivity > 1203569331 AND cchatbox.userid = user.userid AND usergroup.usergroupid = user.usergroupid AND cchatbox.time > 1203569931 - (1*3600)
ORDER BY cchatusername ASC)
UNION DISTINCT
(SELECT DISTINCT user.username AS username,user.userid AS userid,user.pmtotal,usergroup.pmquota,user.options AS options,cchatbox.username AS cchatusername
FROM session AS session
LEFT JOIN user AS user USING (userid)
LEFT JOIN cchatbox_message AS cchatbox USING (userid)
LEFT JOIN usergroup AS usergroup USING (usergroupid)
WHERE session.lastactivity > 1203569331 AND user.userid = session.userid AND usergroup.usergroupid = user.usergroupid
ORDER BY username ASC);;

MySQL Error : Unknown column 'jamesp57_forum.session.usergroupid' in 'on clause'
Error Number : 1054


I'm using a modded default skin, Vb version 3.68

http://4x4sonthe.net
__________________
4x4's and Ham Radios
Reply With Quote
  #55  
Old 21 Feb 2008, 06:31
inteller2k7's Avatar
inteller2k7 inteller2k7 is offline
 
Join Date: Jun 2007
Location: NYC
I'm getting this, and the forum colors changing to red, any ideas?



Database error in vBulletin 3.7.0 Beta 5:

Invalid SQL:

(SELECT DISTINCT user.username AS username,user.userid AS userid,user.pmtotal,usergroup.pmquota,user.options AS options,cchatbox.username AS cchatusername
FROM hackercchatbox_message AS cchatbox
LEFT JOIN hackeruser AS user USING (userid)
LEFT JOIN hackersession AS session USING (userid)
LEFT JOIN hackerusergroup AS usergroup USING (usergroupid)
WHERE session.lastactivity > 1203577110 AND cchatbox.userid = user.userid AND usergroup.usergroupid = user.usergroupid AND cchatbox.time > 1203578910 - (1*3600)
ORDER BY cchatusername ASC)
UNION DISTINCT
(SELECT DISTINCT user.username AS username,user.userid AS userid,user.pmtotal,usergroup.pmquota,user.options AS options,cchatbox.username AS cchatusername
FROM hackersession AS session
LEFT JOIN hackeruser AS user USING (userid)
LEFT JOIN hackercchatbox_message AS cchatbox USING (userid)
LEFT JOIN hackerusergroup AS usergroup USING (usergroupid)
WHERE session.lastactivity > 1203577110 AND user.userid = session.userid AND usergroup.usergroupid = user.usergroupid
ORDER BY username ASC);;

MySQL Error : Unknown column 'aioforum_hacker.session.usergroupid' in 'on clause'
Error Number : 1054
Date : Thursday, February 21st 2008 @ 02:28:30 AM
Script : http://aioforums.com/cchatbox.php?do=userlist
Referrer : http://aioforums.com/aioforums.php?styleid=19
Classname : vB_Database
MySQL Version : 4.1.22-standard
__________________
AiO Forums
Reply With Quote
  #56  
Old 21 Feb 2008, 06:49
christrato's Avatar
christrato christrato is offline
 
Join Date: Aug 2006
Real name: Christian
Thumbs up

Originally Posted by Geeps View Post
Any idea why this error would be showing up in internet explorer?

error on page

Line: 668
Char: 1
Error: 'null" is null or not an object
Code: 0

Works fine in FireFox
when this error appear?

Originally Posted by Geeps View Post
uninstalled the new version. just received emails about database errors:

Database error in vBulletin 3.6.8:

Invalid SQL:

(SELECT DISTINCT user.username AS username,user.userid AS userid,user.pmtotal,usergroup.pmquota,user.options AS options,cchatbox.username AS cchatusername
FROM cchatbox_message AS cchatbox
LEFT JOIN user AS user USING (userid)
LEFT JOIN session AS session USING (userid)
LEFT JOIN usergroup AS usergroup USING (usergroupid)
WHERE session.lastactivity > 1203569331 AND cchatbox.userid = user.userid AND usergroup.usergroupid = user.usergroupid AND cchatbox.time > 1203569931 - (1*3600)
ORDER BY cchatusername ASC)
UNION DISTINCT
(SELECT DISTINCT user.username AS username,user.userid AS userid,user.pmtotal,usergroup.pmquota,user.options AS options,cchatbox.username AS cchatusername
FROM session AS session
LEFT JOIN user AS user USING (userid)
LEFT JOIN cchatbox_message AS cchatbox USING (userid)
LEFT JOIN usergroup AS usergroup USING (usergroupid)
WHERE session.lastactivity > 1203569331 AND user.userid = session.userid AND usergroup.usergroupid = user.usergroupid
ORDER BY username ASC);;

MySQL Error : Unknown column 'jamesp57_forum.session.usergroupid' in 'on clause'
Error Number : 1054


I'm using a modded default skin, Vb version 3.68

http://4x4sonthe.net
damn... probably is the position of LEFT JOIN... because " LEFT JOIN usergroup AS usergroup USING (usergroupid)" don't found the usergroupid column on the table "session or cchatbox".

i not receive this error and can't try if this solution work or not... i attach the file "functions_cchatbox.php" download it and upload into directory "includes".

wait for your answer...
Attached Files
File Type: php functions_cchatbox.php (54.6 KB, 29 views)
__________________
Website: www.vbulletin-italia.it
Reply With Quote
  #57  
Old 21 Feb 2008, 06:52
christrato's Avatar
christrato christrato is offline
 
Join Date: Aug 2006
Real name: Christian
inteller2k7 try to download and overwrite the functions_cchatbox.php that i have attached into my previous post.
__________________
Website: www.vbulletin-italia.it
Reply With Quote
  #58  
Old 21 Feb 2008, 15:11
inteller2k7's Avatar
inteller2k7 inteller2k7 is offline
 
Join Date: Jun 2007
Location: NYC
Originally Posted by christrato View Post
inteller2k7 try to download and overwrite the functions_cchatbox.php that i have attached into my previous post.
Thank you, works great....
__________________
AiO Forums
Reply With Quote
  #59  
Old 21 Feb 2008, 15:20
Geeps Geeps is offline
 
Join Date: Sep 2007
The error on page shows up in the lower left corner of the Internet Explorer window. It doesn't seem to effect anything, and it shows only when the chat is turned on. I never noticed it since I use Firefox, but one of the forum members pointed it out last night.
__________________
4x4's and Ham Radios
Reply With Quote
  #60  
Old 21 Feb 2008, 15:28
inteller2k7's Avatar
inteller2k7 inteller2k7 is offline
 
Join Date: Jun 2007
Location: NYC
Originally Posted by Geeps View Post
The error on page shows up in the lower left corner of the Internet Explorer window. It doesn't seem to effect anything, and it shows only when the chat is turned on. I never noticed it since I use Firefox, but one of the forum members pointed it out last night.
Download the new functions file, in post 56 above, and replace it. I had the same problem and that fixed it.
__________________
AiO 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 19:56.

Layout Options | Width: Wide Color: