We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25551 ☆ A M B ☆
    • 1,231 Posts
    Nice one! Will you be releasing a "fixed version" in the resources area?

    Thanks!
      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
      AugmentBLU - MODX Partner

      BLUcart - MODX Revolution E-Commerce & Shopping Cart
      • 6531
      • 154 Posts
      Eesh ... IT STILL DOESN’T WORK! (AND MY CLIENT IS GOING TO KILL ME!)

      I have upgraded to 3.1.0.1, and done the fix to xconfig.js.

      I still can’t embed mov’s or flv’s properly via TinyMCE.

      I can embed quicktimes, but they only work in Safari, not Firefox (Mac OR PC) -- in FireFox they just DON’T SHOW UP at all.

      As for FLV, I get just a white box with "movie not loaded" in the Flash menu.

      Can someone please help me solve this issue? It might not even be TinyMCE at fault ....

      ... you can see problem on this page, which has an embedded quicktime and flash: go to www.hybridfilms.tv/v2/, then go to client in the menu, go to zone 4 and use password "aloha"
        • 4018
        • 1,131 Posts
        @danzg: Just tested MOV’s on my local server. No problems on my end. As for FLV’s, I’m not a Flash expert but my understanding is that you can’t embed an FLV directly. You have to use a SWF Flash movie that acts as the video player for the FLV.

        Went to the site you liked here but couldn’t find any menu that says "client". Mind posting a hidden page that you can link directly?
          Jeff Whitfield

          "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
          • 22668
          • 718 Posts
          after upgrade from tinymce309 to TinyMCE 3.1.0.1a mcpuk does not work.
          If I use tinymce.functions.php from 309 ver, all works fine. I think problem from replacing mcpuk... I cant find where.

          FF FB log:
          http://www.mysite.ru/assets/plugins/tinymce3101/mcpuk/connectors/php/connector.php?Command=GetFolders&Type=images&ExtraParams=&CurrentFolder=/&editor=tinymce3
          <?xml version="1.0" encoding="utf-8" ?>
          <Connector command="GetFolders" resourceType="images">
          	<CurrentFolder path="/" url="/images/" />
          	<Folders>
          		PHP ERROR::: <br />
          					Error Number: 2 <br />
          					Error Message: opendir(assets/images/) [<a href='function.opendir'>function.opendir</a>]: failed
           to open dir: No such file or directory <br />
          					Error File: /home/blablablamyhost/assets/plugins/tinymce3101/mcpuk/connectors/php/Commands
          /GetFolders.php <br />
          					Error Line: 41 <br /><br />
          <br />
          PHP ERROR::: <br />
          					Error Number: 2 <br />
          					Error Message: natcasesort() [<a href='function.natcasesort'>function.natcasesort</a>]: The argument
           should be an array <br />
          					Error File: /home/blablablamyhost/assets/plugins/tinymce3101/mcpuk/connectors/php/Commands
          /GetFolders.php <br />
          					Error Line: 71 <br /><br />
          <br />
          PHP ERROR::: <br />
          					Error Number: 2 <br />
          					Error Message: Invalid argument supplied for foreach() <br />
          					Error File: /home/blablablamyhost/assets/plugins/tinymce3101/mcpuk/connectors/php/Commands
          /GetFolders.php <br />
          					Error Line: 72 <br /><br />
          <br />
          	</Folders>
          </Connector>


          http://www.mysite.ru/assets/plugins/tinymce3101/mcpuk/connectors/php/connector.php?Command=GetFoldersAndFiles&Type=images&ExtraParams=&CurrentFolder=/&editor=tinymce3

          <?xml version="1.0" encoding="utf-8" ?>
          <!DOCTYPE Connector [
          <!ENTITY aacute	"á">
          ------------------skipped
          <!ENTITY yuml	"ÿ">	
          	<!ELEMENT Connector	(CurrentFolder,Folders,Files)>
          		<!ATTLIST Connector command CDATA "noname">
          		<!ATTLIST Connector resourceType CDATA "0">
          	<!ELEMENT CurrentFolder	(#PCDATA)>
          		<!ATTLIST CurrentFolder path CDATA "noname">
          		<!ATTLIST CurrentFolder url CDATA "0">
          	<!ELEMENT Folders	(#PCDATA)>
          	<!ELEMENT Folder	(#PCDATA)>
          		<!ATTLIST Folder name CDATA "noname_dir">
          	<!ELEMENT Files		(#PCDATA)>
          	<!ELEMENT File		(#PCDATA)>
          		<!ATTLIST File name CDATA "noname_file">
          		<!ATTLIST File size CDATA "0">
          ] >
          <Connector command="GetFoldersAndFiles" resourceType="images">
          	<CurrentFolder path="/" url="assets/images/" />
          	<Folders>
          
          PHP ERROR::: <br />
          
          					Error Number: 2 <br />
          
          					Error Message: opendir(assets/images/) [<a href='function.opendir'>function.opendir</a>]: failed
          
           to open dir: No such file or directory <br />
          
          					Error File: /home/blablablamyhost/assets/plugins/tinymce3101/mcpuk/connectors/php/Commands
          
          /GetFoldersAndFiles.php <br />
          
          					Error Line: 69 <br /><br />
          
          <br />
          	</Folders>
          	<Files>
          	</Files>
          </Connector>
          
            • 24495
            • 407 Posts
            Seems that TinyMCE 3.1.0.1a works for me without problems.

            Why the settings can’t be adopted from older version during the upgrade? After upgrading first I must set entity encoding to raw (in plugin configuration). Is there a way to take current settings for the newer version?
              • 4018
              • 1,131 Posts
              @rasc: As long as the plugin configuration hasn’t changed, you can basically copy the entire configuration string on over to the new version without much fuss. I found that getting the new settings to stick on a new plugin install to be quite laborious so I opted to just install the plugin as a new instance and disable old instances just in case. In the future, I’m looking to rework the way configuration parameters are saved for plugins, modules, and the like. This is one little area that is in need of a revamp so that upgrades are much easier.

              Jeff
                Jeff Whitfield

                "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
                • 24495
                • 407 Posts
                Thanks, it’s ok, there are some more important things to do smiley
                  • 19667
                  • 26 Posts
                  Finally $database_connection_charset made it to tinymce.linklist.php. (3.1.0.1a)
                  Thanks.

                  But $database_connection_charset should be declared global within the function getAllPages, I think.





                    • 30100
                    • 58 Posts
                    I have the same problem as I have seen rossco and other people have and I can’t solve it. I upgraded to TinyMCE to version 3.1.0.1a with MODx version 0.9.6.2-rc1. Every basic function works fine but when I want to browse for an image with mcpuk that comes with the TinyMCE package I get an empty file manager. I get the same problem both in the manager and when I use TinyMCE with the FDM snippet. I cannot seem to find if it’s pointing to the wrong path or if there are some issue displaying the files. Is the path included in the following URL or how do I point it to the right place?

                    http://*mysite.se*/assets/plugins/tinymce3101/mcpuk/browser.php?Connector=/assets/plugins/tinymce3101/mcpuk/connectors/php/connector.php&ServerPath=/&editor=tinymce3&editorpath=/assets/plugins/tinymce3101&type=images

                    Below is an screenshot, has anyone had and solved the same problem?
                      • 22668
                      • 718 Posts
                      tirithen
                      did you try this?
                      http://modxcms.com/forums/index.php/topic,26901.msg164435.html#msg164435

                      also, if you use "inline" settings in Tiny, you may have a problems with mcpuk.