The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
MGC Chatbox (with AJAX) Details »» | |||||||||||||||||||||||||
Last version - MGC Chatbox Evo available : here Description When I had left the vBulletin world, I was in the past the co-author of a little chatbox (shoutbox), very well known in the vBulletin world. This chatbox had been developed by Svaliotti (known as Poseidon on vb.org) for vB2 in the past and I had made the porterage (with is authorisation as we were both members of the same french non-official support forum) and the improvement for vB3. It is thus normal that in my return in the vBulletin world, I begin by getting down to this hack. Even if several versions of chatbox are already present in the vBulletin world, I said to myself that it would be a good thing to make a made in France. Naturally, I don't deal with a "copy" version of the other chatbox, I have any coded at the beginning (it was preferable because the front code wasn't so clean any more), and I integrated a good quantity of very interesting features. New version features The new version contains all the features from the previous version. Description of these versions can be found in Sofia's post hereabove (https://vborg.vbsupport.ru/showpost.php?p=1257510&postcount=3). Modifications from previous version are the following :
Installation Read the file "Installation" in the pack. Once the installation is ended, go in usergroups and edit permissions to see the Chatbox. By default, no group has access to the chatbox. Screenshots The screenshots are in french as I have made it on an online website which is in french. Don't hesitate to give me new one if you want in english They are up to date of 1.3 version. See the following post : https://vborg.vbsupport.ru/showpost.php?p=1292136&postcount=559 User manual Coming soon ... Copyright This hack is under copyright MGC (Mtor&Grog Corporation) 2007-forever and was developed for vBulletin-Resources.com & vb-hacks.org. Its redistribution on another forum that vbulletin-ressources.com, vb-hacks.org or vbulletin.org are prohibited without aggreement of the authors! Evolutions and improvements This sixth version of the chatbox is already very complete, but like each product, its evolution depends on all. Then don't hesitate especially to share your ideas of improvements so that we can improve even more this chatbox. Languages Actually available :
Contact me if you want to participate and add your own country language file Support Several possible problems are explained in the file "Read Me" Chatbox in iBProarcade and vBadvanced CMPS See the readme file for iBProarcade. For vbadvanced, a module is available here : https://vborg.vbsupport.ru/showthread.php?t=163628. FAQ Q: I installed the chatbox but it doesn't display R: Check if you have allowed users (permissions in usergroups) Q: I see shouts but in the collapsed chatbox R: You can specify number of shouts in the collapsed chatbox. If you don't want to see it, put "0" for this option. Q: The chatbox doesn't display below or in the top of one of the pages while in the other position it displays R: You use a style and it's possible that variables used in templates aren't present. (Read the file "Read Me") Q: I have a problem with accents in the Chatbox R: Read the file "Read Me" Q: How to change the value of color for date and for command /me? R: When you add additionnal CSS for each style, you can change color in class CSS. Thanks to Sofia for her earlier help on the chatbox. You can donate if you want to show your support Last version - MGC Chatbox Evo available : here Show Your Support
|
Comments |
#72
|
||||
|
||||
To do so, open the includes/functions_mgc_cb.php, then find the construct_bbcode_tag_list function.
You'll see the supported bbcode, you juste have to add code like that : PHP Code:
But becareful when upgrading for the enxt version as the file will be updated. |
#73
|
|||
|
|||
i try more then style put still i can't get the chat box
|
#74
|
||||
|
||||
You might not have set the permissions ! You must set the can use chatbox to yes for your usergroup and then the number of posts to access the chatbox to a good value (less than the number of post you have )
|
#75
|
||||
|
||||
Quote:
|
#76
|
|||
|
|||
Quote:
Chatbox 'product' enabled = 12 (10+2) queries (forumhome - statistics disabled) Chatbox disabled for the guests = 8 (7+1) queries (forumhome) Chatbox enabled for the guests = 8 (7+1) queries (forumhome) Chatbox disabled @ forumdisplay = 15 (14+1) queries Chatbox enabled @ forumdisplay = 15 (14+1) queries |
#77
|
||||
|
||||
I am really sorry you were right, I have just found what the problem was after a bit of search, I'll correct automatically in the next version but here is the fix :
Here is how you can fix this unuseful query problem: Go in your acp in the manager of plugins and edit the MGC chatbox plugin linked to the global_start hook. Then remove from it : Code:
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); $vbulletin->options['mgc_cb_annonce'] = $parser->do_parse($vbulletin->options['mgc_cb_annonce'], true, true, true, true, false, false); Code:
if ($chatbox_permission && $vbulletin->options['mgc_cb_forumhome']) { Code:
if ($chatbox_permission && $vbulletin->options['mgc_cb_forumdisplay']) { Code:
if ($chatbox_permission && $vbulletin->options['mgc_cb_showthread']) { |
#78
|
|||
|
|||
Thank you
But it still executes 2 queries at forumhome... |
#79
|
||||
|
||||
Here is the screen shot for the issues with opera.
|
#80
|
||||
|
||||
I have found the problem. Unfortunately, this is a vbulletin issue, a question of datastore.
Here is the description of the problem: To parse chatbox announcment bbcode, I need to use the bbcode parsing php class to parse bbcode tags. The problem is that this class needs the bbcodecache datastore which contains the custom bbcode. And as plugins are part of the datastores, it is impossible to add a new datastore to be retrieved in a file which doesn't contain it actually. There is a possible fix with a file modification : Open the includes/global.php file and add just after : PHP Code:
PHP Code:
Anyway you can fix this with the following modification : In the template mgc_chatbox, find Code:
overflow-y: auto; Code:
overflow: auto; This will fix the problem but you will have a horizontal scrollbar and a vertical one, even though the horizontal one is of no use ... In the next version, I'll put a detection mechanism which check the browser of the user and applies the compatible css so that user with browser supporting the overflow-y css property don't loose the beauty of having only the vertical scrollbar. |
#81
|
|||
|
|||
What if i completely disable the announcement feature?
When i click on a smiley, it scrolls me to the top of the chatbox. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|