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

Reply
 
Thread Tools
Cyb - ChatBox Details »»
Cyb - ChatBox
Version: 2.3, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Chat Modifications - Version: 3.8.x Rating:
Released: 01-09-2009 Last Update: Never Installs: 1392
DB Changes Uses Plugins Auto-Templates
 
No support by the author.

Info:
Powerful AJAX-based ChatBox for vBulletin.

Main Features:
-One step installation (no file uploads, no manual template modifications required)
-Put ChatBox on any forum page by setting script name and adding variable to desired template
-"ChatBox Full" (always available on separate page)
-"Messages Archive" (available on separate page, with options to edit/delete messages)
-"ChatBox Search"
-Option to block usergroups from viewing ChatBox
-Option to delete messages older than x hours automatically
-"ChatBox Statistics" (new messages since last visit, messages in last x hours, total messages, top x chatters,...)
-View users active in ChatBox (available in CBFull and Archive)
-Text formatting options (color, weight, style, decoration,...)
-Advanced Smiliebox
-Smiliebox options: total smilies available, smilies per row, smilie clipping, disable smilies...
-A lot of customizable stuff, including: set new/old status icons, time/date format, box height, message order, auto-refresh intervals,...
-One-click actions: View all messages posted by user X, Delete all messages posted by user x, Ban/unban user from ChatBox, View last message posted by user X, View your last message, View first unread message
-"/me" action (used when you want to refer to yourself in the "third person")
...and more...

See screenshots for more details.

Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
2. OPTIONAL (custom placement on forum page)
Open desired template and put "$cybchatbox" to desired line.

To set options:
Go to: AdminCP > vBulletin Options > Cyb - ChatBox

To have ChatBox enabled on desired page:
1. THIS_SCRIPT must be defined in php file (by default all important vBulletin files has this)
2. Hack options - You must add THIS_SCRIPT value for target page to "Show ChatBox on" setting field
3. Main template called on target page must contain "$cybchatbox" variable

To have ChatBox enabled on vBa CMPS:
1. Hack options - Add "adv_index" to "Show ChatBox on" setting field (values in this field should be separated by commas) > Save
2. vBa CMPS Default Settings - add "cybchatbox" to "Portal Output Global Variables" field (values in this field should be separated by carriage return) > Save
3. [Optional] Template "adv_portal" - add "$cybchatbox" to line where you want ChatBox to appear (for example below "$navbar") > Save

Versions:
v1.0 - Sep 15. 2007.
-First version
v1.1-v1.6 - Sep/Oct 2007.
-Bug fixes, improvements, several new options added,...
v1.7 - Oct 07. 2007.
-Released at vB.org
v1.8 - Oct 11. 2007.
-Fixed bug where moderators can not delete messages
-New: Set auto-refresh interval for messages
-New: Set auto-refresh interval for active users
-New: Option to enable auto-refresh for guests
-New: Option to reverse message order (newest at bottom)
v1.8.1 - Oct 11. 2007.
-Fixed bug where colspan in Archive is not set correctly for moderators
-Added ability to disable date in mesages (simply leave date field blank)
-Added option to have ChatBox always collapsed by default (ChatBox Full not affected)
v1.8.2 - Oct 12. 2007.
-Fixed bug (reversed message order gives wrong results)
-New: Set timecut in minutes for active users listing
-New: Automatically parse links in messages (can be disabled)
v1.8.3 - Oct 13. 2007.
-Auto-prune setting field restored
-Fixed bug where some users are logged-out after posting message
-Improved detection and listing of active users
-If user is active in ChatBox it will be shown in profile and wol list
v1.9 - Oct 15. 2007.
-New: Not all smilies are loaded on startup. Set how many of them you want to show before user clicks "More".
-New: "/me" user action ("/me" in submitted message will be replaced by author's username, and message appears in color you set)
-Minor bug fixes
v1.9.1 - Oct 15. 2007.
-Fixed bug from previous version where message area height not follows your settings properly
v1.9.2 - Nov 06. 2007.
-New option in user menu: View messages posted by user
-Option to allow users to delete their own messages
-Fixed bug where admin with primary usergroup different than 6 is not able to delete all messages
-Fixed bug where links to member profiles in messages are broken at "/member.php"
-"Delete Selected" moved to phrases
v1.9.3 - Nov 20. 2007.
-New: Set groups able to view Chatbox but not post messages
-New: Set groups able to edit/delete all messages, and ban/unban users from ChatBox
-New: Customize color list in message posting interface
-New: Ban list
-Fixed default text color
-Fixed some compatibility issues for "/me" action
-Fixed bug where some users get db error when importing product
-Fixed bug where you need to refresh page after "Busy" message to continue chatting
-Minor bug fixes
v1.9.4 - Nov 21. 2007.
-Fixed bug with changing colors in IE
-Some code optimization done
v1.9.5 - Nov 26. 2007.
-Fixed bugs with stripping html tags and "/me" action
v1.9.6 - Nov 29. 2007.
-New: ChatBox Search
-New: Click on message icon in main box to open message for editing/deletion
-Fixed bug with page navigation
-Minor bug fixes/code improvements
v1.9.7 - Dec 01. 2007.
-New: Find first unread message
-New: Find your last message
-New: Find last message by user X
v1.9.8 - Dec 05. 2007.
-New: Ban certain BB tags from being used in the ChatBox
-New feature in user messages view: "Locate this message in Archive"
-New: Message icons in Main box now opens Archive where requested message is highlighted
-New in "Top Chatters": Click on number to view chatter messages
-New in "My Messages": Click on number to view your own messages
-Fixed bug where space after username is lost in "/me" action message
v1.9.9 - Dec 06. 2007.
-New: Users with post count less than X can not view ChatBox
-New: Log/view/resolve IP addresses in CB messages
-Fixed bug with searching last message by user X
v2.0 - Apr 30. 2008.
-New: "Locate message in Archive" option in search results
-CSRF protection added
-Compatible with vBulletin 3.7 Gold (may not work with Beta/RC releases)
v2.1 - Jun 24. 2008.
-Fixed bug (users always shown using their primary group display parameters)
-Fixed bug (if there are whitespaces in banned tags setting it will not work properly)
-You can now choose which usergroups are able to moderate ChatBox (not just switch between 5/6/7)
-"Below Forums" added to auto-insert locations (ForumHome only)
-New: Option to disable parsing of manually entered smilie codes
-New: Disable message time in ChatBox (Archive not affected)
-New: Submit button added
-New: Option to change text size (display)
-New: Option to set width of [code], [php] and [html] BB code blocks in ChatBox
-New: Limit message lenght
-Several minor bug fixes/code improvements
v2.2 - Jul 10. 2008.
-New: auto-hiding Status bar to inform you about ChatBox activities
-Improved ChatBox performance
-Improved char counter compatibility/look
v2.3 - Sep 22. 2008.
-Fixed XSS vulnerability in ChatBox Search
-Improved Tags Banning feature
-Fixed bug (user can add forbidden tags by editing already posted message)
-Fixed bug (user blocked by low post count can access ChatBox on separate page if url is known)
-Fixed bug (page shifting on refresh in IE)
-Fixed bug (Smilies menu breaks row on expand in Opera)
-Minor bug fixes

MARK AS INSTALLED to get support and updates.

Download Now

File Type: zip Cyb - ChatBox v2.3.zip (20.4 KB, 8868 views)

Screenshots

File Type: jpg chatbox.jpg (21.1 KB, 0 views)
File Type: jpg colors.jpg (47.8 KB, 0 views)
File Type: jpg smilies.jpg (68.0 KB, 0 views)
File Type: jpg online.jpg (34.1 KB, 0 views)
File Type: jpg usermenu.jpg (53.4 KB, 0 views)
File Type: jpg wol.jpg (37.6 KB, 0 views)
File Type: jpg stats options.jpg (71.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
Danny-E, kiril_cvetkov, lange

Comments
  #362  
Old 08-08-2009, 12:47 PM
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After a long period of perfect performance, ChatBox will no longer remove the "Message..." text when clicking within the input box. This occurred when I tested on multiple machines and browser platforms. This problem exists on the full page version as well. Any ideas?
Reply With Quote
  #363  
Old 08-08-2009, 03:24 PM
J105C J105C is offline
 
Join Date: Mar 2008
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is AWESOME, but can you please include an option to remove ":: Refreshing Messages" every time new messages are listed. It gets VERY repetitive lol.

Thank you!
Reply With Quote
  #364  
Old 08-09-2009, 11:14 AM
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr. Bantham View Post
After a long period of perfect performance, ChatBox will no longer remove the "Message..." text when clicking within the input box. This occurred when I tested on multiple machines and browser platforms. This problem exists on the full page version as well. Any ideas?
I deleted the snippet of code which creates this message as a temporary fix, but consequentially the prompt is no longer displayed. Many members are confused as to how post a chat message and this text directed them accordingly. Any ideas?
Reply With Quote
  #365  
Old 08-09-2009, 12:48 PM
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr. Bantham View Post
I deleted the snippet of code which creates this message as a temporary fix, but consequentially the prompt is no longer displayed. Many members are confused as to how post a chat message and this text directed them accordingly. Any ideas?
This appears to be the result of a conflict created by the latest version of Keyboard Navigator. I created a corresponding post there.
Reply With Quote
  #366  
Old 08-09-2009, 02:34 PM
Breakpoint Breakpoint is offline
 
Join Date: Dec 2005
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can we make this Chatbox run smoother, it seems to take a lot of server CPU power.
Reply With Quote
  #367  
Old 08-12-2009, 10:21 AM
mp3u mp3u is offline
 
Join Date: Jul 2009
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Using this on my forum now and it is going down very well, thank you for the hard work. I'm installing a few of your mods at the moment - all very handy.

1) My only complaint about the chatbox is that when the box refreshes it bounces down to the last post, this makes reading previous posts very difficult, can this be fixed?

2) Is it possible to monetise this chatbox? Given that say 30 people could be chatting at a given time and it is refreshing every 10 seconds it would be very cool for this to have a banner tied in that could be plugged into AdSense... don't you think?

Thanks again for all the work!
Reply With Quote
  #368  
Old 08-12-2009, 03:57 PM
Xencored Xencored is offline
 
Join Date: Sep 2008
Location: UK, Scuny
Posts: 1,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mdelcour View Post
is this mod no longer being supported????
Lol chill out bro

Quote:
Originally Posted by animemike View Post
any idea why i get "Invalid Action Specified" on this mod and your newposts mod
on vbgallery mate?

Thanks
Cyb mate any info on why i am getting this
Cheers
Attachment 103176
Reply With Quote
  #369  
Old 08-12-2009, 09:47 PM
Barteh Barteh is offline
 
Join Date: Aug 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
And is there a clean way to remove the 'delete all messages' option without affecting the other modding capabilities? That's located a bit too conveniently in the pulldown menu for a function that powerful
Posted this in the 3.7 thread, before I noticed a 3.8 one

Anyway, figured it out and also modified the chatbox to hide the archive from unregistered guests.
Reason for the latter being that people seem to be using it as if it were IRC, and occasionally say things they probably don't want to show up on google.





Remove moderator 'delete all posts' button
Removing the following code in the cyb_chatbox template:
Code:
<tr>
<td class="vbmenu_option"><a href="javascript:Ccb_Confirm('delsel');"&t;$vbphrase[cybcb_delete_all]</a>
</td>
</tr>




Add conditional to block unregistered and other usergroups from chatbox archive
Find the following code in the cyb_chatbox template:
Code:
	<if condition="($_REQUEST['do']=='ccarc')">
		<form id="cybcb_search" name="cybcb_search" action="misc.php?do=ccarc" method="post">
Code:
					<td align="$stylevar[right]">$pagenav</td>
				</tr>
			</table>
		</if>
	</if>




Replace with:
Code:
	<if condition="($_REQUEST['do']=='ccarc')"><if condition="is_member_of($bbuserinfo, 0, 1, 3, 4)">
		You are not logged in or you do not have permission to access this page.<br />
		<else />
		<form id="cybcb_search" name="cybcb_search" action="misc.php?do=ccarc" method="post">
Code:
					<td align="$stylevar[right]">$pagenav</td>
				</tr>
			</table>
		</if>
	</if></if>
Replace 1/10/100 with your preferred usergroup numbers (for example unregistered, coppa, awaiting email moderation and banned).





Quote:
One minor issue though: the chatbox doesn't register unread messages properly for some reason. I've posted my first message about 90 mins ago, posted about 50 more since and it still shows that first message as the 'first unread' one... I don't see any related cron jobs in the 'scheduled task manager' though so I'm wondering how this particular field is updated?
This issue's still there though. I reckon it has something to do with session length, but I'm not sure.

And I also found out that so called 'censored words' are properly processed on all cyb chatbox pages, but the 'replacement variables' are only applied at the chatbox archive. We use replacement variables on our board as a more creative way of censoring certain offensive words (replacing them with the exact opposite being my favourite), and for some reason these aren't processed on the 'forumhome' mini chatbox - showing them in full glory instead.
Reply With Quote
  #370  
Old 08-12-2009, 09:53 PM
Barteh Barteh is offline
 
Join Date: Aug 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mp3u View Post
1) My only complaint about the chatbox is that when the box refreshes it bounces down to the last post, this makes reading previous posts very difficult, can this be fixed?
It's designed that way, if you want to scroll further down you should use the chatbox archive
Alternatively, go to your admin CP -> vB options -> Cyb - chatbox, and change the following two values: "Messages to show in ChatBox/ChatBox Full" and "Message listing area height (ChatBox Full)" to something higher.
Reply With Quote
  #371  
Old 08-13-2009, 12:00 PM
bmckinley's Avatar
bmckinley bmckinley is offline
 
Join Date: Jun 2009
Location: Texas
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have had several members tell me they thought the link on the navbar that reads "Chatbox Full" indicates the chat room is full of people and no more may enter (they are emphasizing the "Full"). How do we change the navbar item to just read "ChatBox" or "ChatBox Open"?
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 06:53 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.07815 seconds
  • Memory Usage 2,377KB
  • Queries Executed 26 (?)
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
  • (5)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete