We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4385
    • 372 Posts
    This is an auto-generated topic for DropboxUploader 1.0-beta2 by bwente.

    Brief Description:

    Title: DropboxUploader
    Description: upload files to a Dropbox account
    Author: Brian Wente
    https://www.getdropbox.com/referrals/NTk0OTc5Mzk

    Dropbox Uploader PHP class by Jaka Jan?ar
    http://jaka.kubje.org/software/dropboxuploader/


    Updated the Evolution snippet for MODx Revolution.


    Dropbox is the easiest way to store, sync, and, share files online.

    * sync your files online and across your computers
    * share large files and photos easily
    * backup files automatically
    * go back in time to undelete or undo changes to files

    This snippet allows you to use a form to upload files directly to your account. You can use the filepath parameter and send the file to different directories that sync to different machines.
      DropboxUploader -- Upload files to a Dropbox account.
      DIG -- Dynamic Image Generator
      gus -- Google URL Shortener
      makeQR -- Uses google chart api to make QR codes.
      MODxTweeter -- Update your twitter status on publish.
      • 128
      • 1 Posts
      I can’t seem to get this to work.

      I can select a file and click "upload file" but then nothing happens.

      No "success" or "error" message, and no new file in my dropbox.
        • 21800
        • 174 Posts
        thank you for your usefull work.

        But on a Revo install I allways get "Error: dropboxuploader.error_tmp"

        I couldn’t find any hints about that.

        [[!DropboxUploader? &tpl=`dbu_upload`]] <-> folders created on Dropbox
        MODx Revolution 2.0.7-pl (traditional)
          • 21800
          • 174 Posts
          Hey,
          are there any people, who got that thing rinning?
            • 12028
            • 152 Posts
            I had a similar problem - you can try and change your read/write permissions at the component - that worked for me.
              - A small step for mankind, so why not take two...

              Working with web production, graphic design/workflow, photo and education - but are trying to get a life in between!
              • 21800
              • 174 Posts
              Thanx for a reply,

              I tried both the dropboxuploader folders in assets/components and core/components but no better result.
                • 12028
                • 152 Posts
                For me it seems that you tmp folder on your server are not accessible for uploads - maybe you can contact the hosting company to get more help.
                  - A small step for mankind, so why not take two...

                  Working with web production, graphic design/workflow, photo and education - but are trying to get a life in between!
                  • 21800
                  • 174 Posts
                  You mean, there is (should be) a standart tmp folder, that is’nt accessible for my modx install.?
                  Can’t it be redirected i.e.?

                  The source tells about "cannot create ..." (I am not really a coder, in fact only a editor)
                    • 12028
                    • 152 Posts
                    That’s correct: When you upload a file from your webpage, it will temporarily be placed in the tmp folder, until finished. After that it will be forwarded to a dropbox server.

                    You can try to make a folder yourself, and edit the path to it in the snippet.
                      - A small step for mankind, so why not take two...

                      Working with web production, graphic design/workflow, photo and education - but are trying to get a life in between!
                      • 21800
                      • 174 Posts
                      fine, Henrik, that did the trick, I’ve pointed the snippet to an exising "../phptmp" dir. So now it works, thanx so much.