![]() |
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. |
i try more then style put still i can't get the chat box
|
Quote:
|
Quote:
|
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 |
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()); 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']) { |
Thank you :)
But it still executes 2 queries at forumhome... |
Here is the screen shot for the issues with opera.
|
Quote:
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:
Quote:
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. |
What if i completely disable the announcement feature?
When i click on a smiley, it scrolls me to the top of the chatbox. |
All times are GMT. The time now is 02:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|