16 comments on “Upload to dropbox plugin

  1. hi, we are insterested in using your dropbox plug in as it is easy to integrate. it would be used for a print company so clients can upload files, however, is it possible to upload/select more than one file to upload at once or include multiple input boxes?

    if this is something simple which i can drop a few lines of code in i can manage that, however i cannot code so anything more and i will struggle.

    many thanks

      1. thanks alot! a couple of other things i stumbled across:
        line 55 dbuploader.php
        if( !in_array($_FILES[“file”][“type”],$supported_types) or $_FILES[“file”][“size”] > $size_limit)
        throw new Exception(‘File size is too large or file type is not supported.’);

        where the outputted text is: File size is too large or file type is not supported. is there anyway to format this in html so i can make it bold, different colour and add a hyperlink?

        also, your suggestion 1 on wptuts doesnt match the file in the plugin. i would like anyone to add a file, i cannot seem to find the if (is_user_logged_in()) add_shortcode(‘dbouploader’, ‘shortcoder’); to remove.

        thanks again

        1. Welcome.
          1.Of course you can print that message however you want. All those exceptions are printed in 78th line with this command:

          return '<span style="color: red;font-weight:bold;margin-left:0px;">Error: ' . htmlspecialchars($e->getMessage()) . '</span>';
          

          So if you edit these line, you will see the result immeditially.
          2. is_user_logged_in is in 29th line of main file.
          The latest version of plugin is here: http://wordpress.org/extend/plugins/upload-to-dropbox

          1. thanks alot elvin! i will give that a go this evening.

            how easy will it be to implement more than one upload field/ or allow multiple file selections to be uploaded.

            sorry to be a pain, i have thought of another idea. if this is custom work please let me know what your charges are to make this happen. as i said i work in a print company and customers upload artwork themselves, however all these files will be placed in 1 dropbox folder which will leave us confused as to which file belongs to which person. is it possible to allow the customer to state a folder name to which the files will be uploaded to? i.e Jane has 2 files to be uploaded to dropbox – can she state a folder to be created and so her files will go in there and then i.e john has 2 files to be uploaded – can he create his own file. if this is possible that would be a good feature to have.

        2. I can build such plugin for you as freelancer. About charges and other details please write to my email: elvinhaci at hotmail_com. We will continue our discussion there

  2. I am also a printer looking for a plugin that will allow customers to fill out a form, and submit a file for a job or a request for quote. Will your plugin provide this kind of functionality? Are their limits to the size of the files that can be sent this way?

    What is the difference between drop box and ftp? I assume an email is sent when the file is uploaded.

    Thanks,

    Mike

    1. Hey Mike.
      My plugin offers just file uploading. But we can easily integrate it with any form.
      Dropbox is free file storage service, works very fast, free and has very very good integrations with a lot of platforms such as Linux,Windows,Android,Mac, Blackberry and so on. So of course it is better than simple ftp solution.
      Email notification is also possible, we can add it with just one line.
      But all these code changes need php knowledge 🙂 So if you know php, you can do it yourself. If not, i can do for you, but not right now, because of my long todo list. It is possible after some time.

  3. Hi,
    Every time I attempt to upload a file I receive the following error, “Error: Cannot execute request: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed.” Do you have any idea what the problem might be and how to fix it? Thanks!

  4. Hello. Can you tell me if there are file size limitations with the plug-in? I need clients to be able to upload fairly large files.

Leave a Reply to olivierCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.