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)

VBDev 05-27-2008 05:50 AM

Quote:

Originally Posted by Ranger187 (Post 1532533)
Warning: Error in parsing value for property 'display'. Declaration dropped.
Source File: http://removed/index.php?
Line: 0

Error: SECURITYTOKEN is not defined
Source File: http://removed/clientscript/mgc_cb_evo.js
Line: 313

Are you using a version of vBulletin different from the 3.6.10 or 3.7 Gold ?

Coz it seems to be the case (last error). If yes, you should follow the how to described in the chatbox in order to be able to correct the problem :).

Ranger187 05-27-2008 06:05 AM

3.6.8 is what that forum is. How To? You mean the file that comes inside the chat files? I'll take a look.

Ranger187 05-27-2008 06:08 AM

Are you talking about the var SECURITYTOKEN = "0"; ?

Cuz if so, I get more errors... Ugh. I need sleep.

jdelasko 05-27-2008 06:23 AM

So far, just in the month of may the file, mgc_cb_evo_ajax.php has accounted for the largest portion of my server bandwidth (42% of total). Here's the stats on this file:

Hits: 339430

KBytes: 12845136

12.8 gigabytes of transfer just for a chatbox!!!!?????

Is this normal for this program, or am I missing something?

VBDev 05-27-2008 06:40 AM

Quote:

Originally Posted by Ranger187 (Post 1532564)
Are you talking about the var SECURITYTOKEN = "0"; ?

Cuz if so, I get more errors... Ugh. I need sleep.

Yes it's that one which is needed coz it won't work otherwise with your vBulletin install.

Which errors do you get in that case ?

Quote:

Originally Posted by jdelasko (Post 1532575)
So far, just in the month of may the file, mgc_cb_evo_ajax.php has accounted for the largest portion of my server bandwidth (42% of total). Here's the stats on this file:

Hits: 339430

KBytes: 12845136

12.8 gigabytes of transfer just for a chatbox!!!!?????

Is this normal for this program, or am I missing something?

Wow ! That's a lot.

Some questions:
  • How many users do you have on your board ?
  • What is your refresh rate ?
  • How many chats are you displaying in the chatbox ?
I am planning on develop something to avoid full refresh of a chatbox each time and thus diminish the load.

Ranger187 05-27-2008 06:44 AM

VB, My ambien kicked in.... I'll reply tomorrow... Sleep time.

butch3r 05-27-2008 07:05 AM

Quote:

Originally Posted by Ranger187 (Post 1532525)
Incorrect. I'm pretty sure this has nothing to do with the languages at all.

Quote:

Originally Posted by VBDev (Post 1532528)
Me too ;)

While i was translating this mod i got this "Loading..." issue, and switching to english language made chat working. The problem was in some phrases that i edited, i guess. I just don't remember which of them.

butch3r 05-27-2008 07:19 AM

And again about commands files differences:

EN\Ban\files\clientscript\mgc_cb_evo_cmd\mgc_cb_ev o_cmd_ban.js - line 19:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded);
FR\Ban\files\clientscript\mgc_cb_evo_cmd\mgc_cb_ev o_cmd_ban.js - line 19:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded + '&securitytoken=' + SECURITYTOKEN);
EN\Ban\files\mgc_cb_evo_cmd_ban.php - line 9:
PHP Code:

//Line empty 

FR\Ban\files\mgc_cb_evo_cmd_ban.php - line 9:
PHP Code:

define('CSRF_PROTECTION'true); 

EN\Del\files\clientscript\mgc_cb_evo_cmd\mgc_cb_ev o_cmd_del.js - line 14:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded);
Line 32:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded);
FR\Del\files\clientscript\mgc_cb_evo_cmd\mgc_cb_ev o_cmd_del.js - line 14:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded + '&securitytoken=' + SECURITYTOKEN);
Line 32:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded + '&securitytoken=' + SECURITYTOKEN);
I can continue the list..

VBDev 05-27-2008 07:27 AM

Quote:

Originally Posted by butch3r (Post 1532616)
And again about commands files differences:

EN\Ban\files\clientscript\mgc_cb_evo_cmd\mgc_cb_ev o_cmd_ban.js - line 19:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded);
FR\Ban\files\clientscript\mgc_cb_evo_cmd\mgc_cb_ev o_cmd_ban.js - line 19:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded + '&securitytoken=' + SECURITYTOKEN);
EN\Ban\files\mgc_cb_evo_cmd_ban.php - line 9:
PHP Code:

//Line empty 

FR\Ban\files\mgc_cb_evo_cmd_ban.php - line 9:
PHP Code:

define('CSRF_PROTECTION'true); 

EN\Del\files\clientscript\mgc_cb_evo_cmd\mgc_cb_ev o_cmd_del.js - line 14:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded);
Line 32:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded);
FR\Del\files\clientscript\mgc_cb_evo_cmd\mgc_cb_ev o_cmd_del.js - line 14:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded + '&securitytoken=' + SECURITYTOKEN);
Line 32:
Code:

      sendAjax.send(mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php', 'do=ajax_chat&channel_id=0&chat=' + chat_urlencoded + '&securitytoken=' + SECURITYTOKEN);
I can continue the list..

I will change all files back upon next release to ensure that english files are coherent with french files :)

Skyrider 05-27-2008 07:51 AM

Thanks VBDev! I do have one more question. When I entered my email within the chatbox, the chatbox displayed:

[emaiI]xxxx@gmail.com[/emaiI] (replaced L with I).

For some reason it also shows the email tags around the email through the chatbox, while allowing link & BBTag is enabled. Is this a bug, or can do I have to enable something else?


All times are GMT. The time now is 11:16 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.07523 seconds
  • Memory Usage 1,769KB
  • 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
  • (12)bbcode_code_printable
  • (4)bbcode_php_printable
  • (6)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