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
  #152  
Old 03-22-2009, 05:48 PM
nNJ nNJ is offline
 
Join Date: Mar 2009
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, now I'm trying to understand this, but it's not making a whol lot of sense.

I want the chatbox to appear at http://forums.the-void.net/forumdisplay.php?f=8.

What should I type the next to this option -

Quote:
Show ChatBox on (comma separated THIS_SCRIPT locations)
Blank to show on all pages (not recommended because of server load)
-so that the chatbox only appears on that specific Forum?



Or Am I doing it wrong completely?

There was something about manually addinng it by adding the "$cybchatbox" to the template code, but exactly what do I type in, and what template?

Sorry for being so slow.. I'm just not getting it.
Reply With Quote
  #153  
Old 03-23-2009, 03:38 PM
AteNa AteNa is offline
 
Join Date: Oct 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.
Reply With Quote
  #154  
Old 03-23-2009, 05:03 PM
y2krazy y2krazy is offline
 
Join Date: Jun 2003
Location: Houston, Texas
Posts: 318
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by y2krazy View Post
Having a little issue. When I choose a new font color and hit Enter, I get the following (correct) result in the Chatbox:

after more replied

However, the second it moves to the 2nd line (if another msg is posted), it turns into the following:

[color=Tomato]after more replied[/color] (no color and the vB Code is shown)
I am still having the above issue.

~ Sean
Reply With Quote
  #155  
Old 03-23-2009, 06:12 PM
nNJ nNJ is offline
 
Join Date: Mar 2009
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nNJ View Post
Alright, now I'm trying to understand this, but it's not making a whol lot of sense.

I want the chatbox to appear at http://forums.the-void.net/forumdisplay.php?f=8.

What should I type the next to this option -



-so that the chatbox only appears on that specific Forum?



Or Am I doing it wrong completely?

There was something about manually addinng it by adding the "$cybchatbox" to the template code, but exactly what do I type in, and what template?

Sorry for being so slow.. I'm just not getting it.

I have been toying around with it for awhile now, still can't get it right.

Can someone point me in the right direction?
Reply With Quote
  #156  
Old 03-23-2009, 10:01 PM
stardotstar stardotstar is offline
 
Join Date: May 2008
Location: SYD, AU
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zbosskiller View Post
Hi,

I've had this mod installed for around 6 weeks. It worked great. Yesterday got home from work, haven't modified the site at all and the chat box says 'Loading' and also the same applies to the 'CYB Stats'

Any ideas would be really appreciated. It's obviously something to do the AJAX but can't figure it out.

Cyber, can you help me please?

Thx

Zboss
I concur: this plugin is hanging with "Loading..." and displays an error on page in MSIE (not Firefox) only as of a day or so ago??! I notice the same issues being reported by users of the advanced stats - anyone have this with cyb-chatbox?

This excellent chat has been working without issues for some time now - and I am using 2.3 - it is same behaviour on a board without advanced stats - so it is an implementation thing common to the two in MSIE...

TIA
\\'

Could it be related to these kinds of coding issues:
Quote:
Originally Posted by http://devcentral.f5.com/weblogs/macvittie/archive/2008/06/26/3397.aspx
Most of the implementations also realize HTTP caching. Internet Explorer and Firefox do, but there is a difference in how and when the cached data is revalidated. Firefox revalidates the cached response every time the page is refreshed, issuing an "If-Modified-Since" header with value set to the value of the "Last-Modified" header of the cached response.

Internet Explorer does so only if the cached response is expired (i.e., after the date of received "Expires" header).

Basically, the problem lies with IE's caching mechanisms. So if you were trying to build an AJAX application with a real-time updating component and it didn't seem to work in IE, now you may know why that is.

There are workarounds:

1. Modify the AJAX call (within the client-side script) to check the response and, if necessary, make a second call with a Date value in the past to force the call to the server.
2. Append a unique query string to the call, for example appending a timestamp. This makes the URI unique, ensuring it won't be in the cache and forcing IE to call out to the server to get it.
3. Change all requests to use POST instead of GET.
4. Force the "Expires" header to be set in the past (much in the way we expire cookies programmatically). Setting cache control headers may also help force IE to act according to expectations.
Attached Images
File Type: jpg chatprob.jpg (104.7 KB, 0 views)
Reply With Quote
  #157  
Old 03-23-2009, 10:11 PM
xiMxAxPr0Bl3Mx xiMxAxPr0Bl3Mx is offline
 
Join Date: Mar 2009
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love it!
Reply With Quote
  #158  
Old 03-24-2009, 01:25 AM
Sunray2 Sunray2 is offline
 
Join Date: Oct 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cyb,

My issue mirrors nNJ's request above. We need to have more specific directions to install the chatbox using the second option.

I know you must be extremely busy, but we could really use your expertise.

Thanks,

C.
Reply With Quote
  #159  
Old 03-24-2009, 07:57 AM
AteNa AteNa is offline
 
Join Date: Oct 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #160  
Old 03-24-2009, 05:48 PM
Gio Takahashi's Avatar
Gio Takahashi Gio Takahashi is offline
 
Join Date: Jul 2003
Location: Cape Coral
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to be able to add an option that allows user to disable chatbox from appearing on the regular pages (yet be able to use full page chatbox), How could I do this? Thanks.

Okay. I think this is possible, only if I make a user profile field, and stick the template code with it... I think.

No fly. Let's say I leave it as "index" even $cybchatbox would not make it show on Who's online page. -_-
Reply With Quote
  #161  
Old 03-24-2009, 07:15 PM
nNJ nNJ is offline
 
Join Date: Mar 2009
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sunray2 View Post
Cyb,

My issue mirrors nNJ's request above. We need to have more specific directions to install the chatbox using the second option.

I know you must be extremely busy, but we could really use your expertise.

Thanks,

C.
Surely someone has used (or even understood) the second option...

A short desciption would be hugely appreciated, not only by myself, but by Sunray2, and anyone else who hasn't understood how to place the chatbox manually.



Code:
2. OPTIONAL (custom placement on forum page)
Open desired template and put "$cybchatbox" to desired line.
If anyone understands what the above means, it would be awesome if they could write a short explaination.

I just want to place the chatbox in a specific forum, and only that forum! Not on the Index, and not anywhere else! How would I do that? (The URL to the forum where I would like to place the chatbox is http://forums.the-void.net/forumdisplay.php?f=8)

I apologize for being so frantic about this; its one of the last things I need to do before I am finished, and can open my forums.. and I've been anxiously waiting for a few days.


Thanks,
nNJ
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 05:59 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.05263 seconds
  • Memory Usage 2,380KB
  • 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
  • (1)bbcode_code
  • (6)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
  • (3)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
  • (9)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