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

Reply
 
Thread Tools
VSa - ChatBox (AJAX) Details »»
VSa - ChatBox (AJAX)
Version: 3.1.8, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Chat Modifications - Version: 4.x.x Rating:
Released: 02-07-2010 Last Update: 09-10-2012 Installs: 2860
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...

View screenshots for more details.

Installation:
-Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]
-OPTIONAL: Download attached images and extract them to images/editor (contains smilies/remove format icons)

To add to desired template (example FORUMHOME):
1. Add 'index' to THIS_SCRIPT locations (Product options)
2. Add 'FORUMHOME' to template names (Product options)
3. Open 'FORUMHOME' template and put "{vb:raw vsachatbox}" to desired line (for example after '<!-- /main -->') -> Save

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

Versions:
v1.0 - Sep 15. 2007.
-First version
v2.3 - Sep 22. 2008.
-Latest vB 3.x version
v3.0 - Feb 08. 2010.
-Rewritten for vB4
-Known bugs fixed, code optimized
v3.0.1 - Feb 09. 2010.
-Fixed: Wrong title alignment in box/archive tables
-Fixed: Wrong expand/collapse button alignment in Safari
-Fixed: Wrong 'Smilies' alignment
-Fixed: XHTML errors
-New Setting: List templates where "{vb:raw vsachatbox}" will be enabled
v3.0.2 - Feb 09. 2010.
-Fixed: PHP error on CMS on some configs
-Fixed: 'Smilies' alignment
-Fixed: Minor bugs in PHP/HTML
v3.1 - Feb 14. 2010.
-New: CB Log-in/Log-out
-New Option: Stop auto-refresh if user inactive for X minutes
-New Option: Disable custom colors completely
-New Option: Random smilies
-New Option: Align messages to the usernames
-New: Remove text formatting button
-New: 'Smilies' replaced by image, arrrow removed
-Fixed: Move focus to input field when smilie inserted
-Fixed: 'Expand' button not shown after refresh
-Fixed: Now first item in color list is used as default
-Settings reorganized
-Several style/functionality bugs fixed
v3.1.1 - Feb 14. 2010.
-Fixed: Small JS issue on log-out
-New Option: Logged-out by default
v3.1.2 - Feb 16. 2010.
-Fixed: Errors with PHP 5.3
-Fixed: CB table messed up in footer
-Fixed: Several style errors, including XHTML incompatibilities
-New: Auto-insert on forumhome location - Below Forums
-New: Option to reverse message order in CB Archive
v3.1.3 - Feb 19. 2010.
-Fixed: Color selector dimensions
-Fixed: Minor bugs
v3.1.4 - Feb 20. 2010.
-New: Color Select replaced by Color Menu (and it's sexy)
-Note: Above fixes issues with Safari for Mac
-Fixed: Issue with Default color if it's in RGB format
-Note: Above will not change already posted messages
-Fixed/improved: Several style details
-Note: You may die if your templates are not reverted after upgrade
v3.1.5 - Feb 20. 2010.
-Fixed: Chrome not showing Color menu
-Fixed: headinclude_bottom added to <head
v3.1.6 - Feb 24. 2010.
-Fixed: Several style/functionality issues
-New: Set groups NOT able to edit messages
v3.1.7 - Jan 21. 2012.
-Fixed: Status images
-Fixed: Smilies button
-Fixed: Menu items invisible until highlighted
-Fixed: Several style issues (background, menus, colors, smilies)
-Fixed: https links not parsed automatically
-New: Show ChatBox in selected forum only
-New option: Automatically disable auto-refresh if server load is higher than X
-New Option: Set usergroups able to prune ChatBox
-New: 'Prune ChatBox' option available in the Main ChatBox drop-down menu
-Improved: Product menus re-organized
-Minor bugs fixed, codes optimized

Download Now

File Type: zip VSa - ChatBox v3.1.8.zip (23.5 KB, 8357 views)
File Type: zip optional_images_editor.zip (3.9 KB, 3725 views)

Screenshots

File Type: jpg cb1.jpg (92.7 KB, 0 views)
File Type: jpg cb2.jpg (102.6 KB, 0 views)
File Type: jpg cb3.jpg (115.0 KB, 0 views)
File Type: jpg arc1.jpg (62.9 KB, 0 views)
File Type: jpg arc2.jpg (69.6 KB, 0 views)
File Type: jpg acp1.jpg (132.0 KB, 0 views)
File Type: jpg acp2.jpg (105.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2032  
Old 12-17-2011, 03:40 PM
Nelson58 Nelson58 is offline
 
Join Date: Oct 2011
Posts: 399
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod works great and installs super easy.

One request- Can you add some sort of paging command so that you can ask someone to come to the chat room? That would let them know someone wishes to chat with them. It would be super!

Thanks,

Nelson
Reply With Quote
  #2033  
Old 12-18-2011, 10:21 AM
thompson thompson is offline
 
Join Date: Jul 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this work in 3.8.7 too ?
how works the ban in archive ?
Reply With Quote
  #2034  
Old 12-18-2011, 01:09 PM
RedPoint RedPoint is offline
 
Join Date: Oct 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by torcidas View Post
I have problem when I upgrade VBulletin to 4.1.8 since colour of font in dropdown menu of chatbox is white same as background. Only when I pass with arrow it change colour to black. On all other dropdown menus ( User CP, Help, Most popular forums, ...) everything is normal. How to fix that problem?

I have the same problem - any solution for this?
Reply With Quote
  #2035  
Old 12-19-2011, 08:29 AM
RedPoint RedPoint is offline
 
Join Date: Oct 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the solution from Dorin, the rostyles.com owner - many thanks.

Insert in additional.css this:
Quote:
/* ***** start styling for chat popupmenu ***** */
.blockhead .popupbody li > a { color: #000000;
}
/* ***** end styling for chat popupmenu ***** */
Reply With Quote
4 благодарности(ей) от:
Hippy, spillage, The Rocketeer, thenamesgould
  #2036  
Old 12-19-2011, 10:46 AM
geckoz's Avatar
geckoz geckoz is offline
 
Join Date: Aug 2007
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wish there would be a chat bot with pre-defined messages getting posted every x minutes.
Somebody can do this?
Reply With Quote
  #2037  
Old 12-19-2011, 01:43 PM
torcidas torcidas is offline
 
Join Date: Nov 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedPoint View Post
I have the solution from Dorin, the rostyles.com owner - many thanks.

Insert in additional.css this:
Perfect, it's working
Reply With Quote
  #2038  
Old 12-19-2011, 02:23 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
/* ***** start styling for chat popupmenu ***** */
.blockhead .popupbody li color#000000; }
/* ***** end styling for chat popupmenu ***** */ 
That works. But why can't I find an 'additional.css' in my vb package? Anyway, it's found in AdminCP>Styles and templates>Style Manager>edit templates>CSS templates
Reply With Quote
  #2039  
Old 12-19-2011, 09:14 PM
Hippy's Avatar
Hippy Hippy is offline
 
Join Date: Dec 2001
Location: USA, New Jersey
Posts: 2,392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by geckoz View Post
I wish there would be a chat bot with pre-defined messages getting posted every x minutes.
Somebody can do this?
there are a few out there if you use downloadII there is one ..
if you use ibproarcade
you can do this..


You need to have VSa - Chatbox & ibproarcade installed.

Now create a new bbcode called 'siteurl' with the code
<a href="{option}">{param}</a>
(This makes the game link in the chatbox open in the same window rather than a new one)
Code:
Title = siteurl
BB Code Tag Name = siteurl
Replacement = <a href="{option}">{param}</a>
Example = [siteurl=http://www.example.com]Example Web Site[/siteurl]
Decription = This open site urls in the same window rather than the default target="_blank"
Use {option} = Yes
Button Image (Optional) = Leave Blank
Remove Tag If Empty = Yes
Disable BB Code Within This BB Code = No
Disable Smilies Within This BB Code = Yes
Disable Word Wrapping Within This BB Code = Yes



Ok Now open your root arcade.php file and find
PHP Code:
                        // finally update Highscore-Table
                        
if ( ($this->arcade->user['id'] != 0) && ($player_score <> 0) )
                        {
                                                
$DB->query("UPDATE ibf_games_champs SET ".$db_string." WHERE champ_gid=".$gid);
                            
$ginfo['champ_mid'] = $this->arcade->user['id'];
                            
$ginfo['champ_name'] = $this->arcade->user['name'];
                            
$ginfo['champ_score'] = $player_score

Add after
PHP Code:
// Insert New Chatbox Message
$DB->query("SELECT c.*, g.gcat, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE c.champ_gid=g.gid AND g.gcat=cat.c_id AND g.active=1 AND trim(password)='' ORDER BY champ_date DESC LIMIT 0,1");
while( 
$row $DB->fetch_row() )
        {
            
$newchattxt .= "[color=green]".$row['champ_name']." set a new high score of ".$row['champ_score']." in [/color][siteurl=http://".$_SERVER['SERVER_NAME']."/arcade.php?do=play&gameid=".$row['champ_gid']."]".$row['champ_gtitle']."[/siteurl]";
                    
$vbulletin->db->query_write("
                        INSERT INTO "
.TABLE_PREFIX."vsa_chatbox
                            (userid, userip, message, dateline, textprop)
                        VALUES ('42', '"
.$_SERVER['REMOTE_ADDR']."', '".$newchattxt."', ".TIMENOW.", '')
                    "
);
        }
// End insert 
Then Find

PHP Code:
                    if ($player_score <> 0)     // no champ with no result ...
                    
{
                                
$DB->query("INSERT INTO ibf_games_champs (" .$db_string['FIELD_NAMES']. ") VALUES ("$db_string['FIELD_VALUES'] .")");
                        
$ginfo['champ_mid'] = $this->arcade->user['id'];
                        
$ginfo['champ_name'] = $this->arcade->user['name'];
                        
$ginfo['champ_score'] = $player_score
Add after
PHP Code:
// Insert New Chatbox Message
$DB->query("SELECT c.*, g.gcat, cat.password FROM ibf_games_champs AS c, ibf_games_list AS g, ibf_games_cats AS cat WHERE c.champ_gid=g.gid AND g.gcat=cat.c_id AND g.active=1 AND trim(password)='' ORDER BY champ_date DESC LIMIT 0,1");
while( 
$row $DB->fetch_row() )
        {
            
$newchattxt .= "[color=green]".$row['champ_name']." set a new high score of ".$row['champ_score']." in [/color][siteurl=http://".$_SERVER['SERVER_NAME']."/arcade.php?do=play&gameid=".$row['champ_gid']."]".$row['champ_gtitle']."[/siteurl]";
                    
$vbulletin->db->query_write("
                        INSERT INTO "
.TABLE_PREFIX."vsa_chatbox
                            (userid, userip, message, dateline, textprop)
                        VALUES ('42', '"
.$_SERVER['REMOTE_ADDR']."', '".$newchattxt."', ".TIMENOW.", '')
                    "
);
        }
// End insert 
example
Change BOTH INSTANCES of 42 in the above code to the value of the userid of the users name you wish to appear in the chatbox. I have a user with id 42 called spam_master who does all the arcade shouting for this addon.



this code was writen by someone here @vb.org
but it was never posted as a mod.. so it's lost ATM
I keep the code on hand .. when I seen it
I forget who wrote it ..
If I find it I will give 100% credit to him for this great addition
Reply With Quote
  #2040  
Old 12-20-2011, 01:26 PM
thompson thompson is offline
 
Join Date: Jul 2007
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i change the font size in chatbox ??
Reply With Quote
  #2041  
Old 12-20-2011, 02:05 PM
DEGE DEGE is offline
 
Join Date: Aug 2009
Location: Buenos Aires
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any version of this mod for 3.X ?
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 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.08237 seconds
  • Memory Usage 2,436KB
  • Queries Executed 28 (?)
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
  • (5)bbcode_php
  • (4)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
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (42)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)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_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_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