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)

Skyrider 05-26-2008 11:42 PM

If I may ask.. How do I unban or unignore people? I once banned myself and I was unable to unban myself.. And I also can't seem to find the unignore command either.

buckethead 05-27-2008 02:04 AM

Quote:

Originally Posted by butch3r (Post 1532265)
There's no sense in manual editing phrases, you can change this text via chat formatting options.

And as for "Loading..."
The problem is in some phrases when you edit 'em. Re-upload of original language file can help. (If you have more than one language on your board try 2 switch 2 another language, and you'll see chat working)

From VbDEV's script I receive a message: "You don't have permission to access /forum/mgc_cb_evo_ajax.php"

I tried changing the owner of the file to root with chown command. also tried chmod 777. Still the same message. What the problem may be?

VBDev 05-27-2008 04:18 AM

Quote:

Originally Posted by FF|Skyrider (Post 1532353)
If I may ask.. How do I unban or unignore people? I once banned myself and I was unable to unban myself.. And I also can't seem to find the unignore command either.

You have a little button in the chatbox with a ? that explains all the comands syntax.
The unignore command users the same syntax as the ignore command except that's it off instead of on in the syntax. But you can unban users directly for a window if you use the ignored users displaying command.

Quote:

Originally Posted by buckethead (Post 1532435)
From VbDEV's script I receive a message: "You don't have permission to access /forum/mgc_cb_evo_ajax.php"

I tried changing the owner of the file to root with chown command. also tried chmod 777. Still the same message. What the problem may be?

You see that because I applied the modification I suggested to ranger187 above to your forum.

This might then come from a configuration of apache leading to such error.

Do you have problems with other ajax functionnalities of vBulletin ?

buckethead 05-27-2008 04:33 AM

Quote:

Originally Posted by VBDev (Post 1532512)
You have a little button in the chatbox with a ? that explains all the comands syntax.
The unignore command users the same syntax as the ignore command except that's it off instead of on in the syntax. But you can unban users directly for a window if you use the ignored users displaying command.



You see that because I applied the modification I suggested to ranger187 above to your forum.

This might then come from a configuration of apache leading to such error.

Do you have problems with other ajax functionnalities of vBulletin ?

No. Vbulletin AJAX functionalities are working properly. Maybe it is Apache security issues that are not letting me access those files? How do you suggest me to tweak those?

Ranger187 05-27-2008 04:48 AM

I don't run apache. I'll try it on the Windows server now with the forum that has issues.

Ranger187 05-27-2008 04:58 AM

Quote:

Originally Posted by butch3r (Post 1532265)
And as for "Loading..."
The problem is in some phrases when you edit 'em. Re-upload of original language file can help. (If you have more than one language on your board try 2 switch 2 another language, and you'll see chat working)

Incorrect. I'm pretty sure this has nothing to do with the languages at all.

Quote:

Originally Posted by VBDev (Post 1532314)
Ok as you experience that problem on some of the board where you installed the chatbox, can you try the following (it's a temp modification to find out the problem).

Replace the content of the chatbox_refresh function in the mgc_cb_evo.js file by :
Code:

function chatbox_refresh(type)

{

    var handleSuccess = function(o){

        if(o.responseText !== undefined){

            fetch_object('chats').innerHTML = o.responseText;

        }

    }

    var handleFailure = function(o){

        if(o.responseText !== undefined){

            fetch_object('chats').innerHTML = o.responseText;

        }

    }

    var callback =

    {

          success: handleSuccess,

          failure: handleFailure

    };



  /* Reset inactive mode */

  if (chatbox_inactive)

  {

      chatbox_inactive = 0;

      idleTimeout = setTimeout("activate_idle_chatbox()", inactive_mode_delay); 

  }

 

    /* Forced refreshed, lets do it */

    if(auto_refresh || (type == 'forced'))

  {

      clearTimeout(refreshTimeout);           

        /* Type of refresh management */

        if (type == 'forced')

      {

            currentRefreshType = 'forced';

        }

      else

      {

            currentRefreshType = 'normal';

        }

        fetch_object('mgc_cb_evo_refresh_img').style.visibility = 'visible';

       

        /* Chatbox is inactive, refresh forced => session update */

        if (chatbox_inactive || force_session_refresh)

        {

            var sUrl = mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php';

            var postData = 'do=ajax_refresh_chat&status=open&channel_id=' + channel_id + '&location=' + cb_location + '&first_load=1&securitytoken=' + SECURITYTOKEN;



            YAHOO.util.Connect.asyncRequest('POST', sUrl, callback, postData);     

      }

      else

      {

            var sUrl = mgc_cb_evo_jsloc + 'mgc_cb_evo_ajax.php';

            var postData = 'do=ajax_refresh_chat&status=open&channel_id=' + channel_id + '&location=' + cb_location + '&first_load=' + first_load + '&securitytoken=' + SECURITYTOKEN;



            YAHOO.util.Connect.asyncRequest('POST', sUrl, callback, postData);               

      }

      force_session_refresh = 0;

    }

  return false;

}

It shall put inside the chatbox an error message which will help us find out the silly problem.

I did that, it just keeps refreshing. Any other ideas? If you want, PM me any files you want me to place.

VBDev 05-27-2008 05:19 AM

Quote:

Originally Posted by buckethead (Post 1532520)
No. Vbulletin AJAX functionalities are working properly. Maybe it is Apache security issues that are not letting me access those files? How do you suggest me to tweak those?

That's odd that your files doesn't have the permissions while other vBulletin features has.

Permissions and owners for the mgc_cb_evo_ajax.php file and the ajax.php file of vBulletin are identical ?

Quote:

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

Me too ;)

Quote:

Originally Posted by Ranger187 (Post 1532525)
I did that, it just keeps refreshing. Any other ideas? If you want, PM me any files you want me to place.

It should have displayed an error message in the chatbox itself no ?

Any error in firefox error console ?

Do you have an url with full access so that I can see ?

Ranger187 05-27-2008 05:22 AM

Oh...hmm..I did with FF3. I'll try IE8 now. If no worky, I'll give you a temp admin account to forum.

Ranger187 05-27-2008 05:28 AM

PM coming.

Ranger187 05-27-2008 05:31 AM

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


All times are GMT. The time now is 03:57 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.04399 seconds
  • Memory Usage 1,765KB
  • 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
  • (9)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