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)

jazde86 09-12-2009 03:37 PM

Quote:

Originally Posted by VBDev (Post 1883687)
Hey man :) Have you check the bot text entering ?? It's already implemented, you have to user {time} in the answer !

Yeah thanks, I've checked that out.

I mean the following situation. Someone types: Its boring here or just boring and the bot answer to that question is set to *boring so that the bot answers to both shouts, without having the exact question in the database. :)

Skyrider 09-12-2009 04:35 PM

1 Attachment(s)
Quote:

No IMO it's better if everyone got info from the bot.
It is indeed good if everyone got the information, but it won't be good if people spam up the command and the bot answers the question all the time. This will spam up the chat box. That's why I would highly recommend that the bot is able to private message as well. Sure, leave the public chat as default, but the private messages as an option for people who prefer this.

Quote:

It's only you !
You sure? Try to enable a command, but don't add any users in the list. So leave it empty. If you do so, it should stuck in "loading ...".


Also:
When I attempted to approve a post, I received this error message in the AdminCP:
Quote:

Fatal error: Call to a member function authorize_user_newthread_newpost_notif() on a non-object in xxxx/includes/mgc_cb_evo/plugins.php on line 370
^ I only received this error just once though, the second time it approved nicely, but would be good if I reported this.

Also, the "merge" of notifications with the chat doesn't work as it should, here's an example:
https://vborg.vbsupport.ru/attachmen...1&d=1252777263
See the "latest reply" chat? That's my last chat reply I made and no one has made a reply within any thread at that time. When ever I type a new chat, it appears above the new thread replies and doesn't show at the bottom. It's like the chat box is at the top, and the new thread/replies at the bottom.

bahrainonline 09-12-2009 04:52 PM

I install the product and i activate the option, created the channel, permession granted, but still can't find it any where

Ghostly24 09-12-2009 05:06 PM

In the picture, the arrow points to the Chatbox that's in blue. I want to change this color to a different blue. How and where do I do this?

Also, how do I change the avatar .jpg to .gif?

http://img12.imageshack.us/img12/3228/29663013.jpg

I love this mod...Installed :)

Reply to:
Quote:

FF|Skyrider - Ghostly24, I know i'm not the thread owner nor a mod. But is it possible you can change the IMG url in a normal URL? It's kinda stretching the whole thread.
Fixed.

Skyrider 09-12-2009 05:12 PM

Ghostly24, I know i'm not the thread owner nor a mod. But is it possible you can change the IMG url in a normal URL? It's kinda stretching the whole thread.

EDIT:
Thanks for fixing it up ^_^!

maXmood 09-12-2009 06:19 PM

Hi..

i followed ReadMe file, and just installed this, and everything went fine. but the problem is, the chatbox does appear!

any idea?

Edit: got it working! i just couldn't understand how it works..

thnx

Skyrider 09-12-2009 07:48 PM

Quote:

Originally Posted by maXmood (Post 1883754)
Hi..

i followed ReadMe file, and just installed this, and everything went fine. but the problem is, the chatbox does appear!

any idea?

Checked your usergroup settings that your usergroup is allowed to view & use the chatbox?

OnTheSideDesign 09-13-2009 12:01 AM

I see a few posts went by but I didnt want to get lost in the mix, I am pretty confused on how to get our site fixed after upgrading to the latest patch on 2.4.1

I just was wondering if anyone can please help with these errors below. SORRY

I was working fine on my VBadvanced and on the forums fine. Now I cannot get my site to load when i run it on vbadvanced even when i reinstalled the module. I get the error below

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

I tried to look that up but there is nothing in that file relating on line 3.

I try to also run it on the main forums and get this error repeated 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 412

Please can someone try to help me out. The last version was running fine but this is what i get for trying to fix something that wasnt broken, i just though that the few issues i was having would have been fixed with the upgrade, ugh haha now i have more.

Thank you VERY much

icarusforde 09-13-2009 01:25 AM

Quote:

Originally Posted by OnTheSideDesign (Post 1883874)
I see a few posts went by but I didnt want to get lost in the mix, I am pretty confused on how to get our site fixed after upgrading to the latest patch on 2.4.1

I just was wondering if anyone can please help with these errors below. SORRY

I was working fine on my VBadvanced and on the forums fine. Now I cannot get my site to load when i run it on vbadvanced even when i reinstalled the module. I get the error below

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

I tried to look that up but there is nothing in that file relating on line 3.

I try to also run it on the main forums and get this error repeated 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 412


Please can someone try to help me out. The last version was running fine but this is what i get for trying to fix something that wasnt broken, i just though that the few issues i was having would have been fixed with the upgrade, ugh haha now i have more.

Thank you VERY much

Mmmm, we have been having that issue.

Dont bother reloading the site, it doesnt work. Dont bother trying your tools.php, that doesnt either. neither does trying to install it again, or downgrading to the previous version (3.3.2) that worked.

Last measures are being called for, we nuking the chatbox tables to see if it fixes it.

Here's hoping....

Dennys2012 09-13-2009 01:40 AM

Hello,

Everyone can some one please help me how to get this Chat work on my forum please i doo the step but i can't find the code this is my code

function do_output($output_array)
{
global $mgc_cb_evo,$mgc_cb_evo_var;
global $DB, $ibforums, $arcade, $header, $vbphrase, $vboptions, $stylevar, $headinclude, $bbuserinfo, $session, $show, $pmbox;
global $forumjump, $timezone, $logincode, $_USEROPTIONS, $scriptpath, $admincpdir, $modcpdir, $quickchooserbits;
global $languagechooserbits, $spacer_open, $spacer_close, $vbulletin, $navbar, $footer;
global $template_hook, $notifications_menubits, $notifications_total, $notices, $ad_location;
global $vba_options;

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

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 ?

Prism27 09-14-2009 05:50 AM

Quote:

Originally Posted by VBDev (Post 1884410)
Oh that's interesting, what kind of error were you getting without the deprecated thing ?

The shoutbox would display, but it would fail to update :)

Elric 09-14-2009 05:54 AM

Quote:

Originally Posted by VBDev (Post 1884411)
You mean vBAdvanced ?

...yes, it cames a white page only when i go in the portal...

Ranger187 09-14-2009 06:04 AM

Quote:

Originally Posted by Elric (Post 1884416)
...yes, it cames a white page only when i go in the portal...

Please contact the author for VBadvanced - MGC addin....

Elric 09-14-2009 06:21 AM

Quote:

Originally Posted by Ranger187 (Post 1884418)
Please contact the author for VBadvanced - MGC addin....

Its not a vbadvanced problem, this prob is not by MGC Version 2.3.2...

when i update to this new vers. the prob. cames.

gothicuser 09-14-2009 06:43 AM

Quote:

Originally Posted by VBDev (Post 1884410)

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


In other words, DO NOT UPDATE MGC until module has been updated!!!!
Thanks for the damn warning :(

Ranger187 09-14-2009 07:04 AM

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?

If you have had issues since 1.0 did you FULLY REMOVE THE PRODUCT PRIOR? If not, bite the bullet, uninstall the chat, drop the tables, delete the files, install and you won't have issues if you follow new install instructions. But follow the unstall procedure listed in the zip files.

Quote:

Originally Posted by gothicuser (Post 1884428)
In other words, DO NOT UPDATE MGC until module has been updated!!!!
Thanks for the damn warning :(

The author is NOT responsible for 3rd party products. The author of the 3rd party product is. So the blame is on you for not backing up your site, checking that all your plugins were up to date and dealing with the 3rd party person. ;)

And I have the module working.

https://vborg.vbsupport.ru/showthread.php?t=169965 <--- Go to the 3RD PARTY LINK FOR SUPPORT.


Quote:

Originally Posted by Elric (Post 1884421)
Its not a vbadvanced problem, this prob is not by MGC Version 2.3.2...

when i update to this new vers. the prob. cames.

Hey Einstein ;) It is the plugin, not the product. Since the plugin isn't updated, it won't work. So again..........GOTO THE 3RD PARTY AUTHOR. ;)
https://vborg.vbsupport.ru/showthread.php?t=169965 <--- Go to the 3RD PARTY LINK FOR SUPPORT.

zelnik 09-14-2009 08:51 AM

Quote:

Originally Posted by gothicuser (Post 1884428)
In other words, DO NOT UPDATE MGC until module has been updated!!!!
Thanks for the damn warning :(

Why should the author of this product warn you about a third party addon????

It's completely not his responsibility to either warn you or test it with any 3rd party addon.

I think an apology is in order don't you?

VBDev 09-14-2009 08:59 AM

^^ lol guys no biggie.

I'll work on the vbadvanced integration very soon so you'll be able to take a big breath and get relived :)

Ranger187 09-14-2009 09:00 AM

Quote:

Originally Posted by zelnik (Post 1884467)
Why should the author of this product warn you about a third party addon????

It's completely not his responsibility to either warn you or test it with any 3rd party addon.

I think an apology is in order don't you?

Bingo! Just what I said basically above your post. I think it's more arrogance on the user that posted that, or ignorance.

zelnik 09-14-2009 11:02 AM

Looking on the demo site there are tabs for pm/channels

How do I get thoses? I've set up a new channel and nothing?

Thanks


All times are GMT. The time now is 03:36 PM.

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.08601 seconds
  • Memory Usage 1,887KB
  • 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
  • (3)bbcode_php_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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