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)

Prism27 09-13-2009 10:24 PM

Firstly, I apologise if this has already been posted, I couldn't see it in the 56+ pages.

If you're having the DEPRECATED error being displayed problem, then there's a simple way to fix this. This does NOT fix the problem, all it does is tell php to stop reporting the problem.

Open the following files:

mgc_cb_evo.php
mgc_cb_evo_ajax.php

And change this line (Line 4):
error_reporting(E_ALL & ~E_NOTICE);

To this:
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED);

This little code fix works fine. Demo

Cheers,

(php version: 5.3.0)

frightie 09-13-2009 10:37 PM

Still having the same problem with the [More] smilies :(

frightie 09-13-2009 10:44 PM

Nevermind, it started working after I changed the max displayed under the chatbox.

utahraves 09-13-2009 10:45 PM

2.4.2 bug report
After upgrading, I am no longer able to validate the moderated threads I have - I receive error:
Fatal error: Call to a member function authorize_user_newthread_newpost_notif() on a non-object in /serverpath/includes/mgc_cb_evo/plugins.php on line 580

I do have new thread notifications enabled. Disabling them allowed me to validate the moderated posts. I'm not sure if this was the case with creating new threads either.

OblivionMage 09-14-2009 12:13 AM

I get this fatal error in 2.4.2 on all pages of my forum whether or not it's turned on (disabling the product fixes it):

Quote:

Fatal error: Call to a member function show_chatbox() on a non-object in /home/****com/public_html/guidewiki/forums/includes/mgc_cb_evo/plugins.php on line 720
Line 720 of plugins.php seems to be:

Quote:

if($MGCCbEvoCore->show_chatbox() && $MGCCbEvoCore->evo_permissions->can_view())

Cheers,

OnTheSideDesign 09-14-2009 02:37 AM

Ok, great I see there was an update to the chatbox...It seems to be working better but im still getting this error...should i destroy the whole setup and lose all my chats?

I am getting this error 6 times above the header.

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/mgc_cb_evo/class_misc.php on line 420

I am also still getting this error on the top of my vBadvanced page...

Fatal error: Call to undefined function can_view_mgc_cb_evo() in /home/diyproj/public_html/modules/mgc_cb_evo.php on line 3

adnedarn 09-14-2009 03:55 AM

I've installed 2.4.2 from 2.2.x and it is much slower for us. It takes a bit to load after the forum has loaded, then once you send your message it takes a moment for your chat to disappear from the input field, and then more moments for it to show up in the chatbox. I followed the "Upgrade from the version 1.0.0 up to 2.2.1 " instructions including the script at the end. Ideas?

Elric 09-14-2009 04:41 AM

The Shoutbox was updatet yesterday but it dosnt works with vbcmps too...

VBDev 09-14-2009 05:11 AM

Quote:

Originally Posted by snappy1313 (Post 1884272)
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

You must be having a problem with your zip software ...

Quote:

Originally Posted by Prism27 (Post 1884280)
Firstly, I apologise if this has already been posted, I couldn't see it in the 56+ pages.

If you're having the DEPRECATED error being displayed problem, then there's a simple way to fix this. This does NOT fix the problem, all it does is tell php to stop reporting the problem.

Open the following files:

mgc_cb_evo.php
mgc_cb_evo_ajax.php

And change this line (Line 4):
error_reporting(E_ALL & ~E_NOTICE);

To this:
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED);

This little code fix works fine. Demo

Cheers,

(php version: 5.3.0)

Oh that's interesting, what kind of error were you getting without the deprecated thing ?

Quote:

Originally Posted by utahraves (Post 1884288)
2.4.2 bug report
After upgrading, I am no longer able to validate the moderated threads I have - I receive error:
Fatal error: Call to a member function authorize_user_newthread_newpost_notif() on a non-object in /serverpath/includes/mgc_cb_evo/plugins.php on line 580

I do have new thread notifications enabled. Disabling them allowed me to validate the moderated posts. I'm not sure if this was the case with creating new threads either.

I did test the thread creation notification and it's working all good, I'll look into that issue.

Quote:

Originally Posted by OnTheSideDesign (Post 1884359)
Ok, great I see there was an update to the chatbox...It seems to be working better but im still getting this error...should i destroy the whole setup and lose all my chats?

I am getting this error 6 times above the header.

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/mgc_cb_evo/class_misc.php on line 420

Here is a fix:

Edit includes/mgc_cb_evo/class_misc.php, search for :
PHP Code:

                // 2 - Member group test
                
if (!$hasaccess && !empty($this->registry->userinfo['membergroupids']))
                {
                    
$found             0;
                    
$ugipds_array     explode(','$this->registry->userinfo['membergroupids']);        
                    foreach (
$ugipds_array as $index => $ugpid)
                    {
                        if (
in_array($ugpid,$command['usergroupids']))
                        {
                            
$hasaccess 1;
                        }
                    }
                } 

In this bit of code, replace:
PHP Code:

in_array($ugpid,$command['usergroupids']) 

By:
PHP Code:

in_array($ugpid,$command['membergroupids']) 

Quote:

Originally Posted by OnTheSideDesign (Post 1884359)
I am also still getting this error on the top of my vBadvanced page...

Fatal error: Call to undefined function can_view_mgc_cb_evo() in /home/diyproj/public_html/modules/mgc_cb_evo.php on line 3

Don't use the module it's not uptodate ...

Quote:

Originally Posted by adnedarn (Post 1884388)
I've installed 2.4.2 from 2.2.x and it is much slower for us. It takes a bit to load after the forum has loaded, then once you send your message it takes a moment for your chat to disappear from the input field, and then more moments for it to show up in the chatbox. I followed the "Upgrade from the version 1.0.0 up to 2.2.1 " instructions including the script at the end. Ideas?

Much slower ? You must be having a problem.

It might be slower at first load as you need to cache new js but that's all.

VBDev 09-14-2009 05:12 AM

Quote:

Originally Posted by Elric (Post 1884404)
The Shoutbox was updatet yesterday but it dosnt works with vbcmps too...

You mean vBAdvanced ?


All times are GMT. The time now is 04:52 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.05956 seconds
  • Memory Usage 1,765KB
  • 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
  • (3)bbcode_php_printable
  • (9)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