WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Charge $ to upload files (6 posts)

  1. rshambaugh
    Member
    Posted 1 year ago #

    I'm building a photo gallery website where people are going to be paying a fee to list their photos on the website. NextenGallery looks like the best way to manage the photos, but I'm not sure what the best way to handle the submission process would be. The fee to upload files will vary based on how many photos they're submitting. It looks like nggallery has the ability to tie in paypal for selling photos, but how about uploading? Another forum topic suggested Gravity Forms, but $200 is kinda high.

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. mcrib
    Member
    Posted 1 year ago #

    Hi rshambaugh. I'm looking for the same thing. Did you find a solution? Thanks!

  3. rshambaugh
    Member
    Posted 1 year ago #

    mcrib, I ended up using Gravity Forms, which I didn't really want to do because the price is pretty high, but it seemed to be the easiest solution.

    I use gravity forms to upload the files to the server. We don't have a need to upload more than 10 photos, so I was able to make the form conditional and only show the correct amount of file upload fields and charge the user based on how many files they were uploading.

    Gravity forms has a PayPal add-on which made it pretty easy.

    I'm also using nextgen gallery to manage the photos, separately from gravity forms, but I modified the gravity forms upload destination so nextgen can recognize new uploads. I hope that makes sense.

  4. jrod1980
    Member
    Posted 11 months ago #

    rshambaugh:

    How specifically did you change the directory path? I am in need of doing this very quickly. I am going to go ahead and buy the GravityForms plugin.

    Much thanks in advance!

  5. rshambaugh
    Member
    Posted 11 months ago #

    I added the following to my functions.php file

    /* Change the Gravity Forms upload path for the Exhibition Entry Form (Form 1) */
    add_filter("gform_upload_path_1", "change_upload_path", 10, 2);
    function change_upload_path($path_info, $form_id){
       $path_info["path"] = "/path-to-wordpress-install/wp-content/gallery/entries/";
       $path_info["url"] = "http://mywebsite.com/wp-content/gallery/entries/";
       return $path_info;
    }

    I hope that helps

  6. jrod1980
    Member
    Posted 11 months ago #

    Ah! Thanks so much; I am a recent convert from Drupal development to WordPress. The community here seems to be so much more helpful. :)

    I very much appreciate the help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic