The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VSa - ChatBox (AJAX) Details »» | |||||||||||||||||||||||||||||||||||||||||||
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
Screenshots
Show Your Support
|
44 благодарности(ей) от: | ||
010081, Anbieter, ARSamo, BCP Hung, beduino, blueperspective, Bowlsworld, Boylen33, crazyboy1661, Disco_Dave, Drake Splinter, Frondy, gemmk1, H3LLH0UND, Heaven, helwoe, Hippy, iiioroh, JabirA, john7911, Kat-2, livenetc, MalluParadise, mangmel, mapleleaffans, MarkFL, Mathsman, Mikevet1984, misericorde, pantani, patrixon78, ProfC, RichieBoy67, Rodrigo., rodriiverduguez, Steve-Hoog, user25148, yawsh |
Comments |
#3052
|
|||
|
|||
nice work, thank you.
Do that work on vb 5.5? |
#3053
|
|||
|
|||
This is a vBulletin 4 only add-on.
|
#3054
|
|||
|
|||
Thanks for your answer Dave
|
#3055
|
||||
|
||||
In cyb_chatbox_bit template, change:
Code:
<td style="font-size:$cybcb_textsize"> $cybcb_msg_box_parsed Code:
<td style="font-size:$cybcb_textsize;color: #FFFFFF"> $cybcb_msg_box_parsed |
#3056
|
||||
|
||||
Valter and Cybernetec are the same person, the same coder. So the code is probably the same. The modification I suggested to you works under version 3.8.x that I am using. Check the content of the template again.
|
#3057
|
|||
|
|||
Hi,
I read several demands about how to change the default font color when typing a message, and didn't find any answer or else. Does anybody know how to change this ? We have a dark skin and the background of the entermessage is dark too, and when typing in black (which is the default font color)... nobody is able to read it. The very first color available in the drop-down menu is AntiqueWhite, which is... almost white so the problem seems to be elsewhere. Thank you for your answers ! |
#3058
|
|||
|
|||
Hope I get the right code lines.
First short look into code shows - default color is value of style var "body_color" (to change in admincp / manage style vars) and only if unset it is the first color value in the available color list of the mod. So if changing of option "Colors available in drop-down menu" shows no result change style var. And if that is not possible go to hook "VSa - ChatBox - IL" and edit the php code Change Code:
if (vB_Template_Runtime::fetchStyleVar('body_color')) { $vsacb_color_predef = "#808080"; //grey or use any other color code $vsacb_color_body = VSacb_RGBtoHex($vsacb_color_predef).','; } else { $vsacb_color_acplist = explode(",",str_replace(" ","",$vbulletin->options['vsachatbox_textcolors'])); $vsacb_color_predef = $vsacb_color_acplist[0]; $vsacb_color_body = ''; } Code:
$vsacb_color_acplist = explode(",",str_replace(" ","",$vbulletin->options['vsachatbox_textcolors'])); $vsacb_color_predef = $vsacb_color_acplist[0]; $vsacb_color_body = ''; |
2 благодарности(ей) от: | ||
formentera, Mornagest |
#3059
|
|||
|
|||
Why, thank you very much, Shka, the trick to modify the PHP file works perfectly ! :up:
|
#3060
|
|||
|
|||
Hi,
Since we recently activated the reverse display for the chatbox, we experimented the scroll bar problem that occurs when someone posts a message in the chatbox (which seems to be a good usage of the mod ) or when the chatbox refreshes itself. So I asked some help to a friend of mine (his nickname is Elzen, many thanks to him !!!) who has some JavaScript knowledges, and he found that solution : 1) load the vsa_chatbox template. 2) find these lines : Code:
vsacb_MessagesDiv = fetch_object('vsacb_messagearea'); vsacb_MessagesDiv.innerHTML = '<table cellpadding="0" cellspacing="0" border="0" width="99%" align="{vb:stylevar left}">' + vsacb_Messages.handler.responseText + '</table>'; 3) replace them with those five : Code:
vsacb_MessagesDiv = fetch_object('vsacb_messagearea'); <vb:if condition="$vboptions[vsachatbox_reverse_messages]"> var cboxgap = vsacb_MessagesDiv.scrollHeight-vsacb_MessagesDiv.scrollTop; </vb:if> vsacb_MessagesDiv.innerHTML = '<table cellpadding="0" cellspacing="0" border="0" width="99%" align="{vb:stylevar left}">' + vsacb_Messages.handler.responseText + '</table>'; 4) in the same template, locate those lines : Code:
<vb:if condition="$vboptions[vsachatbox_reverse_messages]"> vsacb_MessagesDiv.scrollTop = vsacb_MessagesDiv.scrollHeight; </vb:if> 5) replace them by those : Code:
<vb:if condition="$vboptions[vsachatbox_reverse_messages]"> vsacb_MessagesDiv.scrollTop = vsacb_MessagesDiv.scrollHeight-cboxgap; </vb:if> 6) save and enjoy Bonus : if you use some smileys which are too big to fit in the chatbox lines, that can cause those lines to be shifted a bit (or more). Elzen also provided a solution : 7) find the three lines showed in 5) : Code:
<vb:if condition="$vboptions[vsachatbox_reverse_messages]"> vsacb_MessagesDiv.scrollTop = vsacb_MessagesDiv.scrollHeight-cboxgap; </vb:if> 8) replace them with these : Code:
<vb:if condition="$vboptions[vsachatbox_reverse_messages]"> vsacb_MessagesDiv.scrollTop = vsacb_MessagesDiv.scrollHeight-cboxgap; var imgs = document.getElementsByTagName("img"); for (var i=0; i<imgs.length; i++) { if (vsacb_MessagesDiv.contains(imgs[i])) imgs[i].onload = function() { vsacb_MessagesDiv.scrollTop = vsacb_MessagesDiv.scrollHeight-cboxgap; }; } </vb:if> According to his demand, this patch is licensed under the WTFPL. |
Благодарность от: | ||
formentera |
#3061
|
||||
|
||||
I love this chatbox, the only thing I miss is sound when someone shouts.
Is that possible to do? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|