vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Chat Modifications - MGC Chatbox Evo (https://vborg.vbsupport.ru/showthread.php?t=168992)

icarusforde 09-13-2009 02:30 AM

Well, nuking our mgc tables seems to have fixed the errors.

Now, get the rest of the site online. :)

OnTheSideDesign 09-13-2009 02:49 AM

Ok, my whole site is not ruined but anytime it is turned on in vbadvanced it errors the site and then when it is turned on in the forums i get errors on the top, when it is turned off all is fine...ugh...I need to get a chat back up on the site.... :)

icarusforde 09-13-2009 02:53 AM

Quote:

Originally Posted by OnTheSideDesign (Post 1883917)
Ok, my whole site is not ruined but anytime it is turned on in vbadvanced it errors the site and then when it is turned on in the forums i get errors on the top, when it is turned off all is fine...ugh...I need to get a chat back up on the site.... :)

How'd ya get yours back working?

I had to delete all the mcg tables and am yet to get the blooming site to display again.

So, i got rid of the errors, but that seems to have got rid of all the other stuff too... even though its all there. :|

Michael.A 09-13-2009 03:11 AM

give It Some Time...

installed and runing @ Chat Live

Hellspire 09-13-2009 05:10 AM

There are several problems with the chatbox that need patching in the next version (or you can do them yourself if you want). They are found in includes/class_dm_mgccbchat.php and mgc_cb_evo_acp.php (they may also be elsewhere but i haven't seen it and am too lazy to look but if you have a 'wrong datatype in blah blah' this pertains to you)

They occur in many places, but the simplest way to find them is to do a search for "explode("

so you'll have an instance like
Code:

if (!empty($command['usergroupids']))
{
              $command['usergroupids'] = explode(',',$command['usergroupids']);
}

now for the trained eye, it should be obvious that this will emit a warning on certain servers which given the files involved will interrupt js processing. So for the lot of you talking about changing jsloc and whatnot that really has nothing to do with it at all. Anyways back to the issue, if the string involved in empty then the variable is never declared as array and so blah blah it will emit a warning about in_array wrong second datatype. the fix therefore is

Code:

if (!empty($command['usergroupids']))
{
        $command['usergroupids'] = explode(',',$command['usergroupids']);
} else $command['usergroupids'] = array();

and the same goes for all other instances of this. ( do not try to do fulltext searches for the code i added. simply search for explode's and look with your eyes. )

Note you will only experience these errors if at least one command has a blank userid and/or usergroupids. Additionally the problems occur most drastically (ie blank chatbox etc) for users who are part of secondary- and/or member- groups. This issue may have existed in prior versions as well.


\o/ /hand

Elric 09-13-2009 06:06 AM

Quote:

Originally Posted by OnTheSideDesign (Post 1883917)
Ok, my whole site is not ruined but anytime it is turned on in vbadvanced it errors the site and then when it is turned on in the forums i get errors on the top, when it is turned off all is fine...ugh...I need to get a chat back up on the site.... :)

I have this Problem too...:(

When i will go to the Portal it cames only a white site, then i make the shoutbox off and it works fine...only in the Portal from vBadvanced...

snappy1313 09-13-2009 12:47 PM

I am newer, so please forgive me if my question sounds stupid.

I fixed the issue I was having before with the French interspersed with the English, but I can't fix the loading issue I am having. I have read the responses on this thread and can't figure out if I should try upgrading to 2.4.1 or alter code somewhere in the 2.3.2.

The only issue I am having right now is the loading issue. I did try to get the 2.4.1 but for some reason, my files aren't extracting properly from the zip file. If I try to fix the issue in 2.3.2, what coding should I be fixing?

Thanks in advance.

OnTheSideDesign 09-13-2009 04:39 PM

Wow, I went through and was trying to edit the files but they did not seem to fix the site. Kind of upset now...we have no chat. Hmmm MGC is there any way you can please try to fix these issues? Thank you VERY much

VBDev 09-13-2009 05:47 PM

It's on the way ;)

snappy1313 09-13-2009 10:01 PM

Thanks for the updated version, but I am still having a problem extracting the files. With both 2.4.1 and 2.4.2, when I go to extract the files, I get a message saying "There is already a filename with the same name of the folder name you specified. Specify a different name." this pops up for the changelog file, channel icons, files, macosx, images, lang and product. They show in the "extracted" file with 0 kb in each.

Is this something I am doing wrong? I had no problem with 2.3.x


All times are GMT. The time now is 02:27 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
  • Page Generation 0.05813 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (7)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete