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)

entertain 01-02-2009 04:36 PM

1 Attachment(s)
There is sometimes a bug after reloading the page which causes, that the chatbox doesn't scroll down automatically.

*edit*
This bug also causes, that there will not be loaded all shouts...

geda 01-02-2009 04:58 PM

Ok here's an issue. I have installed [vB3.6.x-vB3.7.x]MGC_Chatbox_Evo_0.5.0 previously

And it was working all good. Yea chatbox was lil slow otherthan that everything seems to be fine.

And then i got mail stating that there is a new version so i thought of upgrading it.

Did follow all the instruction and didnt got any error while upgrading but

My issue is i cant see my chatbox anymore. I tried to do everything possible. Chatbox is active and everything seems to be fine but i cant see my chatbox anywhere in my forum.

WHat might be my problem? Any suggestion good ppl

VBDev 01-02-2009 06:12 PM

Quote:

Originally Posted by pedroenf (Post 1699365)
Found a bug: phrases cannot be changed or you get Loading.... Happened to me when i changed the inactive mode phrase from English to Portuguese.

This is not a bug lol You just have to avoid ' character in your phrases or code it as HTML.

Quote:

Originally Posted by entertain (Post 1699433)
There is sometimes a bug after reloading the page which causes, that the chatbox doesn't scroll down automatically.

*edit*
This bug also causes, that there will not be loaded all shouts...

Never had this bug perhaps it's a problem of files version I am going to update the zi tonight.

Quote:

Originally Posted by geda (Post 1699454)
Ok here's an issue. I have installed [vB3.6.x-vB3.7.x]MGC_Chatbox_Evo_0.5.0 previously

And it was working all good. Yea chatbox was lil slow otherthan that everything seems to be fine.

And then i got mail stating that there is a new version so i thought of upgrading it.

Did follow all the instruction and didnt got any error while upgrading but

My issue is i cant see my chatbox anymore. I tried to do everything possible. Chatbox is active and everything seems to be fine but i cant see my chatbox anywhere in my forum.

WHat might be my problem? Any suggestion good ppl

You have uninstalled and installed new version ?

entertain 01-02-2009 06:27 PM

Auto-Scrolling in Internet Explorer (7) doesn't work any more...
Maybe it has also anything to do with the old zip-file?

VBDev 01-02-2009 06:32 PM

Can you come on skype entertain please ?

Blumy 01-02-2009 06:57 PM

I installed everything in the new zip file like I have for the past couple of versions. For some reason, The chatbox shows up but the chat messages and the recent threads area doesn't. It's just an empty box. Any ideas?

geda 01-02-2009 07:11 PM

https://vborg.vbsupport.ru/external/2009/01/49.gif


Yes i have uninstall everything and reinstall 2.1 version. But its not loading. As u can see above, it cannot load chat box at all. And all the buttons like simly , thrash, rules all these buttons are not working as well.

What might be the problem?

VBDev 01-02-2009 07:28 PM

Zip file is now updated and tested as working

For those of you that installed it earlier, import the product again and upload the files from the Files directory again.

VBDev 01-02-2009 07:29 PM

Quote:

Originally Posted by Blumy (Post 1699565)
I installed everything in the new zip file like I have for the past couple of versions. For some reason, The chatbox shows up but the chat messages and the recent threads area doesn't. It's just an empty box. Any ideas?

Installed or updated ? Perhaps it's a problem with the zip that wasn't uptodate

bezibaerchen 01-02-2009 07:38 PM

Reinstalled --> works. Thanks for the quick fix Dev!

rolfw1 01-02-2009 07:46 PM

Yes thanks, much appreciated.:)

eurofunny 01-02-2009 07:58 PM

With the new Update is the shoutbox at the arcade never visible now??

VBDev 01-02-2009 08:20 PM

Quote:

Originally Posted by eurofunny (Post 1699623)
With the new Update is the shoutbox at the arcade never visible now??

No there is no reason it shouldn't be.

Blumy 01-02-2009 08:22 PM

Quote:

Originally Posted by VBDev (Post 1699598)
Installed or updated ? Perhaps it's a problem with the zip that wasn't uptodate

Sorry, I updated it not installed it.

geda 01-02-2009 08:34 PM

Yea it worked now.

Thanks Dev and Installed

VBDev 01-02-2009 08:36 PM

Quote:

Originally Posted by Blumy (Post 1699659)
Sorry, I updated it not installed it.

Update with latest files as stated in few posts above.

Tom S 01-02-2009 08:47 PM

VBDev,

I do not see the Commands folder in the new updated unzipped folder for the channels. Maybe I should read some of the older posts.

SnapOff Racing 01-02-2009 09:04 PM

WOW I can finally say that this version is working AWESOME. I also like the new copyright it flows MUCH BETTER with the look of the chatbox versus the other style. Also the new option to "Activate the display of Today/Yesterday in the date for the chatbox" is awesome as well!! Great work Thanks a lot VBDev! :)

eurofunny 01-02-2009 09:22 PM

Quote:

Originally Posted by VBDev (Post 1699656)
No there is no reason it shouldn't be.

With Version 2.0.2 Shoutbox is visible at the Arcade with the 2.1.0 Version not.

yakuza35 01-02-2009 10:06 PM

I upgraded 2.1.0 but I cant still see chats on mozilla I just see Loading can u help me VBDev?

ryans 01-02-2009 10:22 PM

Quote:

Originally Posted by feverwilly (Post 1650549)
I could also not uninstall this properly. It leaves a template change in the Admincp and you get errors everytime you change user group permissions.

This is BETA software and I wouldnt recommend anybody install it unless you like messing things up.

I'm having the same problem too. I just re-installed it and then uninstalled and the usergroup still has

Help MGC Chatbox Evo : Custom permissions
Can view the chatbox Yes No

Can use the chatbox Yes No
Can manage own chats Yes No
Can manage the chatbox Yes No
Can view the archives Yes No
Can download the archives Yes No
Can view the chatbox even if the minimum number of posts is not reached Yes No
Show prompt message for this usergroup Yes No
Can sticky a chat Yes No
Minimum number of posts to use the chatbox
Minimum number of posts during the last 24H to use the chatbox
Warning : add a sql query for the usergroup where this value is different from 0.


How can I manuallyl get rid of this? I can't edit my usergroups. i'm running 3.70 and used the newest version.

Wheemer 01-02-2009 10:48 PM

I don't have the bbcode and smilies buttons after upgrading. Also the English translation as french in it.

VBDev 01-02-2009 11:00 PM

Quote:

Originally Posted by Blumy (Post 1699659)
Sorry, I updated it not installed it.

Is it ok with last file versions ?

Quote:

Originally Posted by Tom S (Post 1699687)
VBDev,

I do not see the Commands folder in the new updated unzipped folder for the channels. Maybe I should read some of the older posts.

No more commands folder since 1.0.0 (if my memory is ok).

Quote:

Originally Posted by SnapOff Racing (Post 1699706)
WOW I can finally say that this version is working AWESOME. I also like the new copyright it flows MUCH BETTER with the look of the chatbox versus the other style. Also the new option to "Activate the display of Today/Yesterday in the date for the chatbox" is awesome as well!! Great work Thanks a lot VBDev! :)

Yeah kinda less intrusive ;)

Quote:

Originally Posted by eurofunny (Post 1699725)
With Version 2.0.2 Shoutbox is visible at the Arcade with the 2.1.0 Version not.

No changes in the current version could make it not to appear. What did you do in the 2.0.2 to get it work in the arcade ?

Quote:

Originally Posted by yakuza35 (Post 1699771)
I upgraded 2.1.0 but I cant still see chats on mozilla I just see Loading can u help me VBDev?

Few hints :
  • 3.6 version of vB : Don't forget SECURITYTOKEN modification as explained in install instructions
  • Check that you haven't any non reverted chatbox templates (one that you might have modified)
  • Refresh your browser cache

VBDev 01-02-2009 11:04 PM

Quote:

Originally Posted by ryans (Post 1699782)
I'm having the same problem too. I just re-installed it and then uninstalled and the usergroup still has

Help MGC Chatbox Evo : Custom permissions
Can view the chatbox Yes No

Can use the chatbox Yes No
Can manage own chats Yes No
Can manage the chatbox Yes No
Can view the archives Yes No
Can download the archives Yes No
Can view the chatbox even if the minimum number of posts is not reached Yes No
Show prompt message for this usergroup Yes No
Can sticky a chat Yes No
Minimum number of posts to use the chatbox
Minimum number of posts during the last 24H to use the chatbox
Warning : add a sql query for the usergroup where this value is different from 0.


How can I manuallyl get rid of this? I can't edit my usergroups. i'm running 3.70 and used the newest version.

Guys there is a readme... All is explained in it.
You should have removed the files before uninstalling the product !
To correct the problem reimport the product and then remove all chatbox files (especially the xml files in the includes/xml directory) and then remove the product.

Quote:

Originally Posted by Wheemer (Post 1699797)
I don't have the bbcode and smilies buttons after upgrading. Also the English translation as french in it.

Since 2.0.2, bbcode and smilies are usergroup permission based. So you have to set the usergroup permissions to allow you having the right to use them hehe.

About English translation, if you imported the last english file everything should be fine, no french except in some of the options but as I always says these are customizable :)

Tom S 01-03-2009 12:09 AM

Quote:

Originally Posted by Tom S (Post 1699687)
VBDev,

I do not see the Commands folder in the new updated unzipped folder for the channels. Maybe I should read some of the older posts.

I see that you have integrated them now.

VBDev 01-03-2009 12:34 AM

Yes for easier install :)

SnapOff Racing 01-03-2009 01:40 AM

1 Attachment(s)
I used to use the vBShout v2.0 ChatBox that was originally created by ZeroTolerance, which I believe now has been renamed into Inferno vBShout Lite. In any case while these two mods are basically the same, unfortunately there are some differences in the table names thus making it not possible to use the Inferno Import Script to import chats from vBShout inot MGC EVO.

So I reworked the import script a little to allow the importing of vBShout Chats into MGC EVO. Just posting this up for VBDev if you would like to implement this into your next version, or if anyone knows what they are doing they could use this to import also. Just replace the mgc_cb_evo.php file from your admincp folder with the one that I have attached. Then your "Import Scripts" page will show up like this.

https://vborg.vbsupport.ru/

Also this mgc_cb_evo.php file is from the current 2.1.0 version.

pedroenf 01-03-2009 01:51 AM

Quote:

Originally Posted by VBDev (Post 1699524)
This is not a bug lol You just have to avoid ' character in your phrases or code it as HTML.

Maybe. One thing is for sure, i did it in the previous versions and it did not cause any trouble and did use the ' character.

ryans 01-03-2009 02:20 AM

nice, that worked.

thanks!

ryan
Quote:

Originally Posted by VBDev (Post 1699821)
Guys there is a readme... All is explained in it.
You should have removed the files before uninstalling the product !
To correct the problem reimport the product and then remove all chatbox files (especially the xml files in the includes/xml directory) and then remove the product.



Since 2.0.2, bbcode and smilies are usergroup permission based. So you have to set the usergroup permissions to allow you having the right to use them hehe.

About English translation, if you imported the last english file everything should be fine, no french except in some of the options but as I always says these are customizable :)


Skyrider 01-03-2009 06:17 AM

Just wanted to say to VBDev:

It should be:
$find = '$chatbox_forumhome';

rather than:
$search_text = '$chatbox_forumhome';

in the manual "Display problem in some styles"

Thanks for the update though! And is it possible the sound can be done through something else rather than quicktime? A lot of people don't have quicktime.

adnedarn 01-03-2009 06:53 AM

In firefox 3.0.5 if the chatbox is minimized I get a sql database error email... I spoke with the guy that the errors were coming from and found if I minimize it I get them for my username as well...

Code:

Database error in vBulletin 3.7.3:

Invalid SQL:

                                (
                                SELECT c.*,fromu.userid AS fromuserid,fromu.username AS fromusername,fromu.usergroupid AS fromusergroupid,fromu.displaygroupid AS fromdisplaygroupid,
                                tou.userid AS touserid,tou.username AS tousername,tou.usergroupid AS tousergroupid,tou.displaygroupid AS todisplaygroupid,
                                avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight,
                                customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb,
                                fromu.avatarid,fromu.avatarrevision                       
                                                         
                                FROM mgc_cb_evo_chat AS c
                                LEFT JOIN user AS fromu ON (c.fromuid=fromu.userid)
                                LEFT JOIN user AS tou ON (c.touid=tou.userid)
                                LEFT JOIN avatar AS avatar ON (avatar.avatarid = fromu.avatarid)
                                LEFT JOIN customavatar AS customavatar ON (customavatar.userid = fromu.userid)
                               
                                WHERE (
                                                        chanid='0'
                                                        AND coidentifier IN ('0','me','announcement','ban','del','pm')
                                                        AND (touid='0' OR fromuid='5846'
                                                        OR touid='5846')
                                                        AND iswarning='0'
                                                )
                                ORDER BY sticky DESC,c.dateline DESC
                                LIMIT 2
                                )
                                UNION ALL
                                (
                                SELECT c.*,fromu.userid AS fromuserid,fromu.username AS fromusername,fromu.usergroupid AS fromusergroupid,fromu.displaygroupid AS fromdisplaygroupid,
                                tou.userid AS touserid,tou.username AS tousername,tou.usergroupid AS tousergroupid,tou.displaygroupid AS todisplaygroupid,
                                avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight,
                                customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb,
                                fromu.avatarid,fromu.avatarrevision
                               
                                FROM mgc_cb_evo_chat AS c
                                LEFT JOIN user AS fromu ON (c.fromuid=fromu.userid)
                                LEFT JOIN user AS tou ON (c.touid=tou.userid)
                                LEFT JOIN avatar AS avatar ON (avatar.avatarid = fromu.avatarid)
                                LEFT JOIN customavatar AS customavatar ON (customavatar.userid = fromu.userid)
                               
                                WHERE
                                ORDER BY sticky DESC,c.dateline DESC
                                LIMIT 20
                                );

MySQL Error  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY sticky DESC,c.dateline DESC
                                LIMIT 20
                                )' at li
Error Number  : 1064
Request Date  : Saturday, January 3rd 2009 @ 03:45:59 AM
Error Date    : Saturday, January 3rd 2009 @ 03:46:00 AM
Script        : http://www.terraforums.com/forums/mgc_cb_evo_ajax.php
Referrer      : http://www.terraforums.com/forums/
IP Address    :
Username      : adnedarn
Classname    : vb_database
MySQL Version : 4.0.27-standard

Thanks!
Andrew

PS- I know nothing about coding but did see something in there about mysql and limit 20.. so i will say I do have NEW Separate SQL query for the notifications enabled and 20 set for NEW Number of notifications to display in the chatbox....

chooky 01-03-2009 06:55 AM

I have the mistake, that in my second style (no child style) no message were shown, and all message which I type are away and dont show in the message-box.

Stoebi 01-03-2009 07:39 AM

1 Attachment(s)
Hi

Using vBulletin 3.8.0 RC 2, Opera 9.6.2 and IE7. If I collapse the shoutbox, an AJAX error occurs.

Edit:
Get a sql database error email too, with the same content like in adnedarn his post (#3671)

Workaround until final fix. Open file mgc_cb_evo_ajax.php and search for:
PHP Code:

$limit $vbulletin->options['mgc_cb_evo_nbchats_closed']; 

Replace with:
PHP Code:

            $limit 0;
            
$sql_where_clause_notifs 0


Regards, Stoebi

eurofunny 01-03-2009 07:49 AM

Quote:

Originally Posted by eurofunny View Post

With Version 2.0.2 Shoutbox is visible at the Arcade with the 2.1.0 Version not.

No changes in the current version could make it not to appear. What did you do in the 2.0.2 to get it work in the arcade ?
I copy the 2.0.2 files to my Server and import the Product and then is the Shoutbox visible.

Copy the 2.1.0 files to my Server and import the Product then the Shoutbox is at the arcade not visible but at here mgc_cb_evo.php?do=view_chatbox

VBDev 01-03-2009 08:19 AM

Quote:

Originally Posted by pedroenf (Post 1699931)
Maybe. One thing is for sure, i did it in the previous versions and it did not cause any trouble and did use the ' character.

Do you remember which text you put in the phrase when that acted like that ?

Quote:

Originally Posted by SnapOff Racing (Post 1699930)
I used to use the vBShout v2.0 ChatBox that was originally created by ZeroTolerance, which I believe now has been renamed into Inferno vBShout Lite. In any case while these two mods are basically the same, unfortunately there are some differences in the table names thus making it not possible to use the Inferno Import Script to import chats from vBShout inot MGC EVO.

So I reworked the import script a little to allow the importing of vBShout Chats into MGC EVO. Just posting this up for VBDev if you would like to implement this into your next version, or if anyone knows what they are doing they could use this to import also. Just replace the mgc_cb_evo.php file from your admincp folder with the one that I have attached. Then your "Import Scripts" page will show up like this.

https://vborg.vbsupport.ru/

Also this mgc_cb_evo.php file is from the current 2.1.0 version.

Thanks for the share :) I'll add it in the next version.

Quote:

Originally Posted by FF|Skyrider (Post 1700069)
Just wanted to say to VBDev:

It should be:
$find = '$chatbox_forumhome';

rather than:
$search_text = '$chatbox_forumhome';

in the manual "Display problem in some styles"

Thanks for the update though! And is it possible the sound can be done through something else rather than quicktime? A lot of people don't have quicktime.

Damn I thought I corrected that :D

VBDev 01-03-2009 08:25 AM

Quote:

Originally Posted by adnedarn (Post 1700084)
In firefox 3.0.5 if the chatbox is minimized I get a sql database error email... I spoke with the guy that the errors were coming from and found if I minimize it I get them for my username as well...

Code:

Database error in vBulletin 3.7.3:

Invalid SQL:

                (
                SELECT c.*,fromu.userid AS fromuserid,fromu.username AS fromusername,fromu.usergroupid AS fromusergroupid,fromu.displaygroupid AS fromdisplaygroupid,
                tou.userid AS touserid,tou.username AS tousername,tou.usergroupid AS tousergroupid,tou.displaygroupid AS todisplaygroupid,
                avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight,
                customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb,
                fromu.avatarid,fromu.avatarrevision           
                             
                FROM mgc_cb_evo_chat AS c
                LEFT JOIN user AS fromu ON (c.fromuid=fromu.userid)
                LEFT JOIN user AS tou ON (c.touid=tou.userid)
                LEFT JOIN avatar AS avatar ON (avatar.avatarid = fromu.avatarid)
                LEFT JOIN customavatar AS customavatar ON (customavatar.userid = fromu.userid)
               
                WHERE (
                            chanid='0'
                            AND coidentifier IN ('0','me','announcement','ban','del','pm')
                            AND (touid='0' OR fromuid='5846'
                            OR touid='5846')
                            AND iswarning='0'
                        )
                ORDER BY sticky DESC,c.dateline DESC
                LIMIT 2
                )
                UNION ALL
                (
                SELECT c.*,fromu.userid AS fromuserid,fromu.username AS fromusername,fromu.usergroupid AS fromusergroupid,fromu.displaygroupid AS fromdisplaygroupid,
                tou.userid AS touserid,tou.username AS tousername,tou.usergroupid AS tousergroupid,tou.displaygroupid AS todisplaygroupid,
                avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight,
                customavatar.height_thumb AS avheight_thumb, customavatar.width_thumb AS avwidth_thumb, customavatar.filedata_thumb,
                fromu.avatarid,fromu.avatarrevision
               
                FROM mgc_cb_evo_chat AS c
                LEFT JOIN user AS fromu ON (c.fromuid=fromu.userid)
                LEFT JOIN user AS tou ON (c.touid=tou.userid)
                LEFT JOIN avatar AS avatar ON (avatar.avatarid = fromu.avatarid)
                LEFT JOIN customavatar AS customavatar ON (customavatar.userid = fromu.userid)
               
                WHERE
                ORDER BY sticky DESC,c.dateline DESC
                LIMIT 20
                );

MySQL Error  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY sticky DESC,c.dateline DESC
                LIMIT 20
                )' at li
Error Number  : 1064
Request Date  : Saturday, January 3rd 2009 @ 03:45:59 AM
Error Date    : Saturday, January 3rd 2009 @ 03:46:00 AM
Script        : http://www.terraforums.com/forums/mgc_cb_evo_ajax.php
Referrer      : http://www.terraforums.com/forums/
IP Address    :
Username      : adnedarn
Classname    : vb_database
MySQL Version : 4.0.27-standard

Thanks!
Andrew

PS- I know nothing about coding but did see something in there about mysql and limit 20.. so i will say I do have NEW Separate SQL query for the notifications enabled and 20 set for NEW Number of notifications to display in the chatbox....

Quote:

Originally Posted by chooky (Post 1700085)
I have the mistake, that in my second style (no child style) no message were shown, and all message which I type are away and dont show in the message-box.

Oh crap...

To fix this, edit the mgc_cb_evo_ajax.php file.

Search for:
PHP Code:

        /* LIMIT clause construction */
        
if ($status == "closed") {
            
$limit $vbulletin->options['mgc_cb_evo_nbchats_closed'];
        } else if (
$location == "full") {
            
$limit $vbulletin->options['mgc_cb_evo_nbchats_full'];
        } else {
            
$limit $vbulletin->options['mgc_cb_evo_nbchats_normal'];
        }      
          
          
/* Retrieving of the notifications is separated */
          
if ($vbulletin->options['mgc_cb_evo_separate_chatsnotif_sql'])
          { 

Replace :
PHP Code:

if ($vbulletin->options['mgc_cb_evo_separate_chatsnotif_sql']) 

by :
PHP Code:

if ($vbulletin->options['mgc_cb_evo_separate_chatsnotif_sql'] && $status != "closed"

Quote:

Originally Posted by Stoebi (Post 1700101)
Hi

Using vBulletin 3.8.0 RC 2, Opera 9.6.2 and IE7. If I collapse the shoutbox, an AJAX error occurs.

Edit:
Get a sql database error email too, with the same content like in adnedarn his post (#3671)

Workaround until final fix. Open file mgc_cb_evo_ajax.php and search for:
PHP Code:

$limit $vbulletin->options['mgc_cb_evo_nbchats_closed']; 

Replace with:
PHP Code:

            $limit 0;
            
$sql_where_clause_notifs 0

Regards, Stoebi

That's a bad fix use the one above :)

Quote:

Originally Posted by eurofunny (Post 1700105)
I copy the 2.0.2 files to my Server and import the Product and then is the Shoutbox visible.

Copy the 2.1.0 files to my Server and import the Product then the Shoutbox is at the arcade not visible but at here mgc_cb_evo.php?do=view_chatbox

Yes that I understand but what have you done in your admincp to make the chatbox show in arcade in the previous version ?

Harley D 01-03-2009 08:55 AM

Nice job!
Working like a charm... THANK YOU ;)

Request:
when clicking on New Post/Threads, have the link take you to the actual or last post made, rather than the first post of the thread.

Stoebi 01-03-2009 08:57 AM

Thank you very much for your fast answer @vBDev :)


Kind Regards,

Stoebi

eurofunny 01-03-2009 09:02 AM

Quote:

Originally Posted by VBDev (Post 1700121)

Yes that I understand but what have you done in your admincp to make the chatbox show in arcade in the previous version ?

With the 2.0.2 Version i have made this:

Code:

Integration into IBProarcade
In order to display the chatbox on the IBProarcade pages, follow these instructions:
In the admin control panel, go in the Display and positions of the chatbox.
Activate the option Display the chatbox on defined pages in a var or Display the chatbox on defined pages below the navbar.
In the pages list, add :

arcade

and then validate.
Open the arcade/functions/functions.php file and search for function do_output($output_array).
After // add additional needed variables, add :

global $mgc_cb_evo,$mgc_cb_evo_var;


Finally, if you are using te option to display the chatbox in a var, edit the ARCADE template and add :

$mgc_cb_evo_var

where you want the chatbox to appear.

What do you post at the readme and the Shoutbox is visible.

Later i have copy the files from 2.1.0 and import the Product and the Shoutbox is invisible at the Arcade...

Now i copy the 2.0.2 files and import the Product and the Shoutbox is visible at arcade...nothing more i have do at the admincp...

Thanks for the quick support.:)

chooky 01-03-2009 09:37 AM

Quote:

Oh crap...

To fix this, edit the mgc_cb_evo_ajax.php file.

Search for:

Code:

/* LIMIT clause construction */
        if ($status == "closed") {
            $limit = $vbulletin->options['mgc_cb_evo_nbchats_closed'];
        } else if ($location == "full") {
            $limit = $vbulletin->options['mgc_cb_evo_nbchats_full'];
        } else {
            $limit = $vbulletin->options['mgc_cb_evo_nbchats_normal'];
        }     
         
          /* Retrieving of the notifications is separated */
          if ($vbulletin->options['mgc_cb_evo_separate_chatsnotif_sql'])
          {

Replace :
Code:

if ($vbulletin->options['mgc_cb_evo_separate_chatsnotif_sql'])
by :
Code:

if ($vbulletin->options['mgc_cb_evo_separate_chatsnotif_sql'] && $status != "closed")

dont works for me, I ever dont see a message in the box in second style :(


All times are GMT. The time now is 01:08 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.05660 seconds
  • Memory Usage 1,943KB
  • 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
  • (6)bbcode_code_printable
  • (7)bbcode_php_printable
  • (29)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