Support » Plugin: Downloadable Product from Amazon S3 for WooCommerce » File browsing is difficult / useless for large list of files.

  • This plugin works fine, HOWEVER…

    Because I have to navigate several S3 buckets and nested folders, with thousands of files, this plug-in MUST be updated with the following in order to be useful beyond the occasional use (I’m willing to pay a REASONABLE upgrade price for these features – $15 would be appropriate for a “pro version”):

    1. Option to remember (and return to) last bucket/folder location.
    2. Paged browsing for files within buckets, with option to change number of files to list per page (and remember settings).
    3. Search / Filter function. Again, I have thousands of files I have to look through. If I could call up a filtered search, that would help immensely!

    Thanks and I hope to see this updated soon.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Emran Ahmed

    (@emranahmed)

    Hello @cheepnis

    I have a plan to integrate a file manager to improve ux. I will start working soon.

    Thank you for your feedback.

    Thread Starter cheepnis

    (@cheepnis)

    That’s great, Emran! I look forward to the update!

    Michael

    Plugin Author Emran Ahmed

    (@emranahmed)

    Thank you Michael πŸ™‚

    Thread Starter cheepnis

    (@cheepnis)

    Hi Emran,
    Any update on your progress adding a file manager?

    Plugin Author Emran Ahmed

    (@emranahmed)

    I am working on v4 signature issue, then will add a file manager πŸ™‚

    Thank you

    Thread Starter cheepnis

    (@cheepnis)

    Thank you Emran! Your continued involvement, development, and prompt communication is very refreshing. I’ll definitely compensate you a bit for your hard work. πŸ™‚

    I will also donate to the cause. I like this idea much better than the expensive WooCommerce S3 plugin

    I just installed and set up the plugin and I can see cheepnis’s point. I don’t have a lot of files yet, but my files will also be organized into sub-folders, so browsing by the traditional hierarchy of folders is a good idea to have.

    Thread Starter cheepnis

    (@cheepnis)

    I edited the source code to show 3000 files per page, as opposed to the default 30. It’s not ideal, but it’s a work-around that will help me (or anyone else with huge file lists) immensely right away. For what it’s worth (at least for me), loading hundreds of files in the list is no slower than loading a new page with only 30 items listed, so this shouldn’t be a performance issue for anyone.

    In the file:
    woo-product-download-from-amazon-s3/woo-product-download-from-amazon-s3.php

    Look for this, starting at line 197:

    public function buckets_iframe_content( $type = 'file', $errors = NULL, $id = NULL ) {
    
    				wp_enqueue_style( 'media' );
    
    				$page     = isset( $_GET[ 'p' ] ) ? $_GET[ 'p' ] : 1;
    				$per_page = 30;
    				$offset   = $per_page * ( $page - 1 );
    				$offset   = $offset < 1 ? 30 : $offset;
    				$start    = isset( $_GET[ 'start' ] ) ? rawurldecode( $_GET[ 'start' ] ) : '';
    				$bucket   = isset( $_GET[ 'bucket' ] ) ? rawurldecode( $_GET[ 'bucket' ] ) : FALSE;

    ——————-
    Replace (line 202):

    $per_page = 30;

    with:

    $per_page = 3000;

    and then replace (line 204):

    $offset = $offset < 1 ? 30 : $offset;

    with:

    $offset = $offset < 1 ? 3000 : $offset;

    • This reply was modified 4 years ago by cheepnis.
    • This reply was modified 4 years ago by cheepnis.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘File browsing is difficult / useless for large list of files.’ is closed to new replies.