We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1294
    • 16 Posts
    This is an auto-generated support/comment thread for PHPFreeChat.

    Use this forum to post any comments about this addition or any questions you have regarding its use.

    Brief Description:
    Allows PHP Free Chat (http://www.phpfreechat.net) to be used within MODx
      • 21610
      • 360 Posts
      A can be connected to the existing IRC channel? ...

      http://translate.google.com/
        Разработка сайтов на MODx
        • 20289
        • 958 Posts
        whats this about?

        Erm... You supposed to be here now?
          [img]http://i10.tinypic.com/52c4eir.gif[/img][/td]
          [td][Wiki] [Persian support forum]
          [SVN] [RTL SVN Branch] [bugs] [FishEye+Crucible] [Learn MODx!] | [My Google Code]
          [font=tahoma][برای دسترسی به راهنمای فارسی به [url=http://www.modxcms.ir]
          • 26471
          • 17 Posts
          Nice snippet, saves me from having to integrate a chat package myself!

          In addition to the install instructions, I had to create the "data/private/cache" path under the phpfreechat parent path before it would work. Works flawlessly otherwise..

          Tested with PHPFreeChat 1.0-beta10

          Cheers
            • 15810
            • 2 Posts
            Hi, i cannot seem to get this to work. I have followed the instructions, but when i go to the modx page which calls the snippet i get:

            Please correct these errors:

            * /home/sites/kiasworld.co.uk/public_html/manager/includes/document.parser.class.inc.php(769) : eval()’d code doesn’t exist

            any ideas?
              • 19526
              • 1 Posts
              Nice snippet, but I have got same error posted above.
              Please add "client_script_path" in the snippet code.
              For example,

              $params["client_script_path"]="/home/sites/kiasworld.co.uk/public_html/index.php";

              My chat can work in this way.
              If any trouble, please delete cache files "phpfreechat/data/private/cache/*", then try again.
                • 15810
                • 2 Posts
                totally fantastic mikky - thanks for that - problem solved.
                  • 28407
                  • 20 Posts
                  Hello, i’m trying to integrate PHPFreeChat into my modx based site, now i’m using PHPFreeChat 1.2, it works propertly in Opera browser, but when i’m trying to login to chat with Internet Explorer it shows an error. (PHPFreeChat 0.9.3 works fine in IE and Opera, but this version is too old sad)
                  This is my ’PHPFreeChat’ snippet:
                  <?php
                  global $modx;
                  $snipPath = $modx->config["base_path"]."assets/snippets/";
                  include_once($snipPath . "/phpfreechat/src/phpfreechat.class.php");
                  
                  $params = array();
                  $params["client_script_path"] = "/storage/home/srv15311/htdocs/index.php";
                  $params["title"] = "Chat Room";
                  $params["refresh_delay"] = 2000; // 2000ms = 2s
                  $params["nick"] = iconv("ISO-8859-1", "UTF-8", $_SESSION['webShortname']);
                  $params["serverid"] = md5(__FILE__);
                  $chat = new phpFreeChat( $params );
                  
                  $modx->regClientStartupScript($chat->printJavascript());
                  $modx->regClientCSS($chat->printStyle());
                  return $chat->printChat();
                  ?>

                    • 33372
                    • 1,611 Posts
                    We need to know exactly what error IE is displaying if we’re going to be able to help you figure it out...
                      "Things are not what they appear to be; nor are they otherwise." - Buddha

                      "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

                      Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                      • 28407
                      • 20 Posts
                      the problem is that my IE is on Russian language, so you don’t understand the message smiley


                      Is told about:
                      Character: 1
                      Symbol: 1
                      Error: ’Element.prototype.fireEvent’ - is null or not an object
                      Code: 0
                      URL: http://www.52****.ru/chat