Thread: Chat Modifications - MGC Chatbox Evo
View Single Post
  #1196  
Old 05-06-2008, 09:20 PM
VBDev's Avatar
VBDev VBDev is offline
 
Join Date: Jan 2004
Location: France
Posts: 2,570
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Playa82 View Post
oh, ok. but i got 0.4.0 installed. and i fixed it with the files 2 posts above ;-)
Those fixes should not be needed when using the 0.4.0 with the last vbulletin versions.

Quote:
Originally Posted by johnban View Post
No, I check and I have put

Minimum number of posts to use the chatbox --> 1
Minimum number of posts during the last 24H to use the chatbox --> 0

The count is not based on a number of posts since install, that's strange.

Can you make a screenshot of all usergroup permissions please.

Quote:
Originally Posted by Tom S View Post
I am also having troubles with the channels showing text instead of the .gif for team and pm. I noticed for the General channel that the image called for in the coding is not the same as the image name. I am having troubles getting the Gen channel to show anything. Could this be one of the issues or has it always been this way?

In the coding it calls for <img id="mgc_cb_evo_channel_$channel[chanid]_on"

But in my channel image directory, it is called mgc_cb_gen_channel_sel.gif.

Is the evo and gen confusing the program?

I may be way off base, learning the coding stuff.

Another thing that I have noticed is that images folder for vB has the small i, and with the folder in the download package has the large I (Images).

Tom S.
You need 3 images for a channel, they have the same name except the end :
  • _sel
  • _nosel
  • _new
followed by the extension.

Quote:
Originally Posted by XiZa View Post
I've noticed that you are sending the entire contents of the chat table with each ajax request. I think it would be better if you only sent some sort of javascript array (json) with the new entries, and an empty response if no new messages were sent.

It will save on javascript processing (possibly javascript memory leakage as well) and on bandwidth considering this auto refreshes every x seconds.
Yes that's right I am sending the whole content.

It would indeed be perhaps better to send with the new entries.

However, imagine if a user remove a shout or ignore someone, then the need of a full reload is logical.

I have perhaps not had a good idea to code it like that but considering what I just said I don't see how I could do it in another way but perhaps you have another good suggestion ?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01094 seconds
  • Memory Usage 1,778KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete