Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 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.7.x Rating:
Released: 04-29-2008 Last Update: 09-21-2008 Installs: 1598
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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
Dr.Haitham, lange, luckyline

Comments
  #552  
Old 09-10-2008, 07:57 PM
slcsr slcsr is offline
 
Join Date: Jun 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i did an update on my forum from 2.0>2.2 but i see no difference?
Reply With Quote
  #553  
Old 09-11-2008, 07:19 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bug: About a week ago I reported that the chatbox shifted the page down & up by ~2 pixels in IE7 whenever the "refreshing messages" appeared. Several other people have confirmed this bug, but no fix has yet been posted. Well, I finally got annoyed and decided to debug it myself.

Solution: Currently, when the chatbox is about to update messages, it hides the "Refreshing Messages" text. The solution simply displays "Updating Messages" instead - you can change this to whatever text you want. I prefer to change the color of the "Refreshing Messages" instead of changing the text so I added that code to the hack. Unfortunately, the color change does not work in IE7 (so IE7 will get the text change and other browsers will get the color change) - you can change the colors to whatever you want or even remove the condition to check for non-IE browsers. So finally here's the 3-steps fix on how to squash the bug - the problem is in the Ccb_getMessages() and Ccb_updateMessages() functions in the chatbox template (surprise, surprise ....): Go to Style Manager > Edit Templates > Cybernetec Templates > cyb_chatbox, and
1. FIND:

PHP Code:
                ccb_Messages = new vB_AJAX_Handler(true);
                
ccb_Messages.onreadystatechange(Ccb_updateMessages);
                
ccb_Messages.send('misc.php?show=ccbmessages');
            }
        }

        function 
Ccb_updateMessages()
        {
            if (
ccb_Messages)
            { 
.
REPLACE WITH:
PHP Code:
                if (navigator.userAgent.indexOf('MSIE') > -1)
                    
fetch_object('cybcb_infoarea').innerHTML ':: Updating Messages';
                else
                    
fetch_object('cybcb_infoarea').style.color 'aqua';
                
ccb_Messages = new vB_AJAX_Handler(true);
                
ccb_Messages.onreadystatechange(Ccb_updateMessages);
                
ccb_Messages.send('misc.php?show=ccbmessages');
            }
        }

        function 
Ccb_updateMessages()
            {
            if (
ccb_Messages)
            {
                
fetch_object('cybcb_infoarea').innerHTML ':: $vbphrase[cybcb_status_refreshing]';
                
fetch_object('cybcb_infoarea').style.color 'gray'
.
2. FIND AND DELETE:
PHP Code:
             if (!Ccb_nowLoading)
            {
                
fetch_object('cybcb_infoarea').style.display 'none';
                
fetch_object('ccb_entermessage').style.height '$cybcb_height_input';
            } 
.
3. FOR MAC USERS: to fix a mac sizing bug where the text area will contract & expand on refresh, find all:
Quote:
$cybcb_height_input_wstatus
and replace with:
Quote:
$cybcb_height_input
Hope that helps everyone from gettin' shifty eyes when using IE7
Reply With Quote
  #554  
Old 09-12-2008, 02:54 AM
itsmeroro itsmeroro is offline
 
Join Date: Nov 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could someone tell me in laymans terms how to manually move this chatbox below my Random Member Photos on my index page? I am having a tough time figuring out which template this needs to go on. Please help -- otherwise its working well! Thanks in advance, Rachelle
Reply With Quote
  #555  
Old 09-12-2008, 11:02 AM
CLaNZeR CLaNZeR is offline
 
Join Date: Oct 2004
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbboarder View Post
Bug: About a week ago I reported that the chatbox shifted the page down & up by ~2 pixels in IE7 whenever the "refreshing messages" appeared. Several other people have confirmed this bug, but no fix has yet been posted. Well, I finally got annoyed and decided to debug it myself.
Hi and thanks for this, but both options did not work for me

I still get the flicker.

Edited the Template as you advised on the Skin I am using and did a replace and saved.
Refreshed the Forum page and still the same movement.

I reset the template back to how it was and then tried option2 to increase the text area, but still the movement

Cheers

Sean.
Reply With Quote
  #556  
Old 09-12-2008, 11:55 AM
CLaNZeR CLaNZeR is offline
 
Join Date: Oct 2004
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry my mistake.

I checked template and I had not deleted the last bits correctly.

All done now and fixed the problem.

Many thanks, as was driving me mad :up:

Cheers

Sean.
Reply With Quote
  #557  
Old 09-12-2008, 03:05 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CLaNZeR View Post
Sorry my mistake.
I checked template and I had not deleted the last bits correctly.
All done now and fixed the problem.
Many thanks, as was driving me mad :up:

Cheers
Sean.
Yup, it's very important to do the last step:
FIND AND DELETE:
PHP Code:
             if (!Ccb_nowLoading)
            {
                
fetch_object('cybcb_infoarea').style.display 'none';
                
fetch_object('ccb_entermessage').style.height '$cybcb_height_input';
            } 
.
But do the other steps too, listed in my post above.
Reply With Quote
  #558  
Old 09-12-2008, 07:21 PM
Masiello's Avatar
Masiello Masiello is offline
 
Join Date: Jul 2005
Location: Italy
Posts: 426
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbboarder View Post
Bug: About a week ago I reported that the chatbox shifted the page down & up by ~2 pixels in IE7 whenever the "refreshing messages" appeared. Several other people have confirmed this bug, but no fix has yet been posted. Well, I finally got annoyed and decided to debug it myself.
Thanks for this...
Reply With Quote
  #559  
Old 09-12-2008, 08:32 PM
KorsatH KorsatH is offline
 
Join Date: Apr 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mastergumble View Post
i dont know what im missing but i installed and in main forums page works great, but on vBa CMPS the chat box appear but dont pass of loading...

Any help ?
anyone has fix it?
Reply With Quote
  #560  
Old 09-13-2008, 01:43 AM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CLaNZeR View Post
Sorry my mistake.
I checked template and I had not deleted the last bits correctly.
All done now and fixed the problem.
Many thanks, as was driving me mad :up:

Cheers

Sean.
Quote:
Originally Posted by Masiello View Post
Thanks for this...
Glad it worked, and happy to help
Reply With Quote
  #561  
Old 09-13-2008, 12:34 PM
kleinschwanz kleinschwanz is offline
 
Join Date: Jan 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it installed for me and it works in Firefox. But in IE I can only input but not see any content of the chatbox... any ideas why that could happen?
Honestly I tried this Chatbox only 'cause the other one I had installed for quite some time did not work in IE at all anymore - it showed up but did not work in IE just sais "loading" same here.. in IE it says loading... but there is nothing displayed even with your chatbox I have the chance to shout with IE even I can not see what I shout.

Coud this be something that has to do with the Updates of vBulletin and a file used by chatboxes?
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 11:53 PM.


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.13685 seconds
  • Memory Usage 2,365KB
  • Queries Executed 27 (?)
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
  • (4)bbcode_php
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete