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)

RedDevil 01-03-2009 11:29 AM

Nice work VBDev, just one problem i am having.

The post and thread notification doesnt seem to be working correctly in the general channel.

I have 3 channels 2 show post/thread notices general channel wont.

If i switch to display in seperate area then it works fine in general channel.

Any idea what the cause and cure is?

Cybershaolin 01-03-2009 01:58 PM

I agree, the new version works like a charm! Great work VBDev! :up:

adnedarn 01-03-2009 02:29 PM

Quote:

Originally Posted by VBDev (Post 1700121)
Oh crap...

To fix this, edit the mgc_cb_evo_ajax.php file.


Replace :
by :

Seems to have worked great! Thanks. That also makes the "Maximum number of displayed chats in the collapsed mode" work again too :)

Thanks!
Andrew

SnapOff Racing 01-03-2009 03:03 PM

Quote:

Originally Posted by VBDev (Post 1700117)
Thanks for the share :) I'll add it in the next version.

No prob, just wanna make it easier for users to make the switch to one of the best chatboxes I've seen :up:

Quote:

Originally Posted by VBDev (Post 1700121)
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"



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



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

OK I'm lost, should EVERYONE be making this fix because mine isn't doing that. If I hit the minimize button it works just fine... :confused:

adnedarn 01-03-2009 03:26 PM

Minimize the chatbox then refresh your window... see if you see the Maximum number of displayed chats in the collapsed mode that you have it set too.. and that you don't get an error in your email from the sql error. That's when it happened, not upon minimizing it.

andrew

geda 01-03-2009 04:13 PM

1 Attachment(s)
Hey Dev,

from time to time a message is poppin up after i have installed a new chat box. I have attached the screen shot of that error can u please check the screen shot and let me know what could me my problem.

And one more thing after i have installed this Upgraded Chat box, i'm feeling that my site became slow. Is that my psychology or the fact?

Thanx in Advance bro. MGC chat rock

adnedarn 01-03-2009 04:22 PM

geda- I and my users had experienced that in IE as well. It seems refreshing your cache fixes it... Hold CTRL and click the refresh button.. Or hold CTRL and push F5. That seems to take care of it for everyone here. ...so far at least.

Andrew

CristianoDiaz 01-03-2009 04:29 PM

Quote:

Originally Posted by CristianoDiaz (Post 1697901)
Is there any way to make Save the default when you hit enter in the box that pops up to send a PM in the chat box? Right now, you have to click on Save - if you click enter after typing your message, the box closes but it is not sent.

Still trying to see if I can get an answer to this, I did not see one. I upgraded to 2.10, and the behavior is still the same in Firefox.

VBDev 01-03-2009 04:33 PM

Quote:

Originally Posted by chooky (Post 1700171)
dont works for me, I ever dont see a message in the box in second style :(

This is not supposed to fix style issue.

It's working with default style but not custom style ?

Check if there are any javascripts error in your second style or non reverted chatbox templates.

Quote:

Originally Posted by eurofunny (Post 1700145)
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.:)

And that doesn't work in the 2.1.0 version ?

Quote:

Originally Posted by Harley D (Post 1700134)
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.

Ok noted.

Quote:

Originally Posted by Red-Devil (Post 1700210)
Nice work VBDev, just one problem i am having.

The post and thread notification doesnt seem to be working correctly in the general channel.

I have 3 channels 2 show post/thread notices general channel wont.

If i switch to display in seperate area then it works fine in general channel.

Any idea what the cause and cure is?

It's working correctly. As I said already unless you use the separate chats and notifications sql option notifications are considered as chats.

So if there is lot of activity in the general channel then you will only see chats and not notifications if these notifications are older than the chats. See what I mean ?

Quote:

Originally Posted by adnedarn (Post 1700367)
Minimize the chatbox then refresh your window... see if you see the Maximum number of displayed chats in the collapsed mode that you have it set too.. and that you don't get an error in your email from the sql error. That's when it happened, not upon minimizing it.

andrew

Well this fix is to be applied only if you use the chatbox option to separate chats and notifications query.

geda 01-03-2009 04:34 PM

Quote:

Originally Posted by adnedarn (Post 1700428)
geda- I and my users had experienced that in IE as well. It seems refreshing your cache fixes it... Cold CTRL and click the refresh button.. Or hold CTRL and push F5. That seems to take care of it for everyone here. ...so far at least.

Andrew

Adnedarn,

Appreciate for ur comment but is that a permanent solution to this problem? :)


All times are GMT. The time now is 05:12 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.08051 seconds
  • Memory Usage 1,767KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (10)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