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?

JetHaCkR 05-27-2008 07:59 AM

When Is The Next Version Gonna Be Released? :D

VBDev 05-27-2008 08:39 AM

Quote:

Originally Posted by FF|Skyrider (Post 1532653)
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?

This BBCode is not supported in the chatbox.

I could add it if you want in the next release ?

Quote:

Originally Posted by JetHaCkR (Post 1532658)
When Is The Next Version Gonna Be Released? :D

In the beginning of June (around the 8th).

jdelasko 05-27-2008 01:05 PM

Quote:

Originally Posted by VBDev (Post 1532586)
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.


There is not that many users, the refresh rate is 30 seconds, and there's only 5 chats at a time being displayed.

The chatbox is on my arcade pages, so there is likely to be a large number of page loads. Why would mgc_cb_evo_ajax.php be transfered on every page load? Shouldn't it be cached by the users browser?

maidos 05-27-2008 02:12 PM

something is really wierd, i cant access the chatbox archive while my other forum admins with same usergroup can

Ranger187 05-27-2008 02:17 PM

Typical if you have more then one usergroup assigned to you. Make sure the group(s) you are in have rights to it. It's a permission setting most likely.

maidos 05-27-2008 02:18 PM

i dont not have any additional usergroup

VBDev 05-27-2008 03:17 PM

Quote:

Originally Posted by jdelasko (Post 1532913)
There is not that many users, the refresh rate is 30 seconds, and there's only 5 chats at a time being displayed.

The chatbox is on my arcade pages, so there is likely to be a large number of page loads. Why would mgc_cb_evo_ajax.php be transfered on every page load? Shouldn't it be cached by the users browser?

Chats gets retrieved upon page load but for 5 shouts in the arcade, it seems a lot for just that.

Quote:

Originally Posted by Ranger187 (Post 1532981)
Typical if you have more then one usergroup assigned to you. Make sure the group(s) you are in have rights to it. It's a permission setting most likely.

Quote:

Originally Posted by maidos (Post 1532982)
i dont not have any additional usergroup

You get a no permission error ?


Ranger187, have you been able to test ?

maidos 05-27-2008 03:19 PM

vbdev yes no permission error whike my other admin with same usergroup no assigned usergroup like me stillcan access the archive shouldi pm u my account details

Skyrider 05-27-2008 04:33 PM

Quote:

Originally Posted by VBDev (Post 1532680)
This BBCode is not supported in the chatbox.

I could add it if you want in the next release ?



In the beginning of June (around the 8th).

I think it would be nice, yes :). Maybe an option also to copy/pasting the email when you select the email. I do have another suggestion for the next release though. Is it possible you can add a function to search for chats of a specific person or specific words? And also a "search" function to show all the latest posts of when you last visited.

Ranger187 05-27-2008 06:39 PM

Quote:

Originally Posted by VBDev (Post 1532586)
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 ?

Checking.

quarum 05-27-2008 07:09 PM

Have you figured out why I cant get the Team command to allow me to add additional usergroups to it?

VBDev 05-27-2008 09:20 PM

Quote:

Originally Posted by FF|Skyrider (Post 1533106)
I think it would be nice, yes :). Maybe an option also to copy/pasting the email when you select the email. I do have another suggestion for the next release though. Is it possible you can add a function to search for chats of a specific person or specific words? And also a "search" function to show all the latest posts of when you last visited.

Ok I am going to add a button certainly to add an email (as for urls).

The two requests you have are going to be added to the todo list but might not be in the next release (but planned to be introduced in the followings) :)

Quote:

Originally Posted by maidos (Post 1533027)
vbdev yes no permission error whike my other admin with same usergroup no assigned usergroup like me stillcan access the archive shouldi pm u my account details

Yes plz

Quote:

Originally Posted by quarum (Post 1533270)
Have you figured out why I cant get the Team command to allow me to add additional usergroups to it?

Yes it is fixed in the upcoming version :)

Ranger187 05-27-2008 09:44 PM

Here's the errors I get after that security crap token shit....

Warning: Error in parsing value for property 'display'. Declaration dropped.
Source File: http://REMOVEd.com/index.php
Line: 0

Error: YAHOO is not defined
Source File: http://ifartedandREmoved.com/clientscript/mgc_cb_evo.js
Line: 318

VBDev 05-27-2008 10:26 PM

Hum can you revert back you mgc_cb_evo.js file and use the security token thing I told ya this should work.

Ranger187 05-27-2008 10:32 PM

Sure.

Ranger187 05-27-2008 10:35 PM

Quote:

Originally Posted by VBDev (Post 1533476)
Hum can you revert back you mgc_cb_evo.js file and use the security token thing I told ya this should work.

And you are the man. That's what it was.

VBDev 05-27-2008 11:06 PM

You see it was not a real bug ;)

VBDev 05-27-2008 11:07 PM

You can check new version development progress by checking the first post, I regularly update the post with colors meaning done or not :)

Ranger187 05-27-2008 11:28 PM

Quote:

Originally Posted by VBDev (Post 1533524)
You can check new version development progress by checking the first post, I regularly update the post with colors meaning done or not :)

Yeah, who helped you out with all the ideas when you first started ;) I know that. LOL

It is a bug if I fresh install and it don't work. Just a suggestion, add that security token in the js file and rem it out?

VBDev 05-28-2008 04:59 AM

There won't be that problem anymore in the next version which will only be compatible with the 3.7 version of vBulletin.

I know it's not very fair to make it working only with the 3.7 version of vBulletin but I want to make the ajax calls compatible with the yahoo yui ajax of vBulletin which allows failure alert thus will help a lot in fixing problems that some users might encounter.

JetHaCkR 05-28-2008 05:06 AM

When Will The Next Version Be Out?

Ranger187 05-28-2008 05:15 AM

That's probably very smart and there would still be a working version here for all previous versions so I don't see any issues.

Ranger187 05-28-2008 05:15 AM

Quote:

Originally Posted by JetHaCkR (Post 1533726)
When Will The Next Version Be Out?

June.

JetHaCkR 05-28-2008 05:20 AM

Yeah!!
What Time Around June??
Middle, Start, End???

Skyrider 05-28-2008 05:31 AM

You are awesome VBDev. But, I believe I found a bug. For some reason, after a day or 2, the chatbox and archive is completely cleaning all of the chats. Any idea why?

Quote:

Number of days before automatic chats removal
Has been set to 0, but it still removes the chat for some odd reasons.

Ranger187 05-28-2008 05:37 AM

Quote:

Originally Posted by JetHaCkR (Post 1533739)
Yeah!!
What Time Around June??
Middle, Start, End???

June. Possibly early, but when he's done and ready. So you'll just have to keep checking.

VBDev 05-28-2008 05:56 AM

Quote:

Originally Posted by FF|Skyrider (Post 1533745)
You are awesome VBDev. But, I believe I found a bug. For some reason, after a day or 2, the chatbox and archive is completely cleaning all of the chats. Any idea why?

Has been set to 0, but it still removes the chat for some odd reasons.

Have you checked if the cron task itself was inactive ?

Quote:

Originally Posted by Ranger187 (Post 1533748)
June. Possibly early, but when he's done and ready. So you'll just have to keep checking.

Not sure it will be early June as there are lots of interesting functionnalities I'd like to implement from the above list. Like the autocompletion which I have happily implemented yesterday using jquery and a well made plugin for it.

Most of the new functionnalities will be using jquery which bring great features with a lightweight footprint :)

Ranger187 05-28-2008 06:06 AM

That's why you are the programmer and I'm the complainer. ;)

JetHaCkR 05-28-2008 06:06 AM

Hey VBDev
On The NEw Version Are You Gonna Make It Faster And Less Server Load/Lighter?

VBDev 05-28-2008 06:08 AM

I am not sure I will work on the less server load issue as I have to think on how I could handle that in a smart way.

If it's not in the next version, this will be in the july release.


All times are GMT. The time now is 07:39 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.06844 seconds
  • Memory Usage 1,854KB
  • 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
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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