Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • Evolution
  • In Development
  •  
  • <
  • 1
  • 2
  • 3
  • >
  • Dropbox Snippet - upload files to you synced machines#

  • 4385
    298
    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.

    bwente Reply #1, 2 years, 9 months ago

    Reply
    • Link to this post#1
    I started a Dropbox upload snippet. Someone else created the class. I just copied and pasted into a snippet.
    (Dropbox is an online file sync and sharing service. You can get a free account, by using the referral link below.)

    It is a little rough around the edges. Can someone check it out and make it more user friendly?
    I do not have a demo online, but have tested it on my local machine and it seems to work well.

    [!DropboxUploader? &tpl=`dbu_upload` &username=`example@gmail.com` &password=`sd344FG21` !]

    I have to sample chunks that allow you to upload file to a Dropbox account.
    It probably needs a way to check or filter file types and sizes.
    The free accounts are limited to 2GB.

    If you find the snippet helpful, please use the referral link.
    https://www.getdropbox.com/referrals/NTk0OTc5Mzk


  • 33337
    3,899
    - MODX Special Forces
    Share and explore websites made in MODx by Zaigham's Web | Tweet @zaigham | Resource Center


    MODx Current | MODx on Git! | BUGS! | RTFM (Read the Fully awesome Manuals)

    Zaigham (aka zi) Reply #2, 2 years, 9 months ago

    Reply
    • Link to this post#2
    Where is the snippet?


  • 4385
    298
    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.

    bwente Reply #3, 2 years, 9 months ago

    Reply
    • Link to this post#3
    I had to pull it off and re-attach a new zip file. I had left my password in one of the files while I was testing.


  • 4385
    298
    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.

    bwente Reply #4, 2 years, 9 months ago

    Reply
    • Link to this post#4
    I just found out if you sign up using a referral link you get an extra 250MB added to your 2GB!

    *Disclaimer: I am not affiliated with Dropbox, other than a user of their free service. In fact I just joined this week.

    I thought it might be helpful to get files uploaded directly to the client.


  • 4310
    2,246
    Snippets : eForm 1.4.4.7 with SMTP & PMS's security fixes | PHC Results | EasyNewsletter from CSV

    Wiki Articles : Custom DB table to placeholders | Manager Locked Out?

    Websites : Work - U.K. based MODx development  |  Hobby - Free interactive education resources for teaching 4 - 11 year olds

    Hosting : One Smart Host - Professional MODx hosting 

    bunk58 Reply #5, 2 years, 9 months ago

    Reply
    • Link to this post#5
    Thanks for the snippet & signup link.
    I got the extra 250 MB when I signed up I'm going to install and test shortly.
    A couple of ideas for new features, I have some specific requirements for a site I'm about to start on.
    1. Allowed file type array e.g. .pdf, .jpg etc.
    2. Retrieve web user info from session variables and then ...
    3. Email confirmation to account holder when new file uploaded with details of which web user uploaded it
    Let me know what you think, and if you want any help developing it further.


  • 4310
    2,246
    Snippets : eForm 1.4.4.7 with SMTP & PMS's security fixes | PHC Results | EasyNewsletter from CSV

    Wiki Articles : Custom DB table to placeholders | Manager Locked Out?

    Websites : Work - U.K. based MODx development  |  Hobby - Free interactive education resources for teaching 4 - 11 year olds

    Hosting : One Smart Host - Professional MODx hosting 

    bunk58 Reply #6, 2 years, 9 months ago

    Reply
    • Link to this post#6
    Installed and worked perfectly.
    Thanks Brian


  • 4385
    298
    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.

    bwente Reply #7, 2 years, 9 months ago

    Reply
    • Link to this post#7
    I am glad it worked for you David. BTW it does have an RSS feed for the account so can get notices of system activity.

    Whenever I see a bit of php code I want to try adding it to MODx to give us all more tools to use in our sites.

    I really don't have a particular use for the snippet yet. I have been reading up on what people are using Dropbox. I read a small office is using it to keep shared pdf's up-to-date. Or a poor man's subversion.

    I have one idea for one of my non-computer savvy clients. Have MODx generate a text file and upload it their Dropbox account, and on their computer have their local Dropbox folder be "watched" and print every file in the folder then move it to the trash. Kinda like a MODx to FAX gateway.


  • 4310
    2,246
    Snippets : eForm 1.4.4.7 with SMTP & PMS's security fixes | PHC Results | EasyNewsletter from CSV

    Wiki Articles : Custom DB table to placeholders | Manager Locked Out?

    Websites : Work - U.K. based MODx development  |  Hobby - Free interactive education resources for teaching 4 - 11 year olds

    Hosting : One Smart Host - Professional MODx hosting 

    bunk58 Reply #8, 2 years, 9 months ago

    Reply
    • Link to this post#8
    Using it on a Mac with growl means I get instant notification. For a non Mac client, with multiple PC's I'm thinking an email to tell them a customer has uploaded a pdf will work.
    I should be starting on that next week so I'll post any modifications I make.


  • 6726
    7,075
    - Former MODx evangelist
    .: COO - Commerce Guys - Community Driven Innovation :.


    MODx est l'outil id

    davidm Reply #9, 2 years, 9 months ago

    Reply
    • Link to this post#9
    Hey kudos bwente, I am a dropbox user and will definitely have a use for this at some point


  • 4310
    2,246
    Snippets : eForm 1.4.4.7 with SMTP & PMS's security fixes | PHC Results | EasyNewsletter from CSV

    Wiki Articles : Custom DB table to placeholders | Manager Locked Out?

    Websites : Work - U.K. based MODx development  |  Hobby - Free interactive education resources for teaching 4 - 11 year olds

    Hosting : One Smart Host - Professional MODx hosting 

    bunk58 Reply #10, 2 years, 7 months ago

    Reply
    • Link to this post#10
    Hey Brian, just to let you know I have it working successfully on a clients site. Had to upgrade the core code as Dropbox seem to have changed something! >


  • <
  • 1
  • 2
  • 3
  • >



Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
0ad, Pipemma, bretbouchard, bunk58, bwente, davidm, fourroses666, heyjones, mrhaw, nos, zaigham

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Work at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy