• Resolved jlvalerio

    (@jlvalerio)


    Hi guys!

    I’m building a LMS platform and using your great plugin + S3, going to the point:

    [ssu_upload button=”Upload to S3″] which add [Choose File + UPLOAD button]

    1. Please educate me about how to add this to the frontend user:

    [x] “Show it under Media Library”. (Like admin user do)

    2. My setting is: define(‘SSU_FOLDER’, ‘wp-media’); //Not working

    However, when the frontend user upload the file is was wrote in /root
    Perhaps I do need also:
    Upload to: wp-media/

    Thanks a lot, amazing work.

    -Jo

    • This topic was modified 4 years, 3 months ago by jlvalerio.
    • This topic was modified 4 years, 3 months ago by jlvalerio.
    • This topic was modified 4 years, 3 months ago by jlvalerio.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @jlvalerio,

    Thanks for your compliment & interest in our product.

    Yes, you can achieve it with our custom codes:

    1. To make the files uploaded via shortcode public, use the following filter
    add_filter( 'ssu_shortcode_public_acl', '__return_true' );

    2. To change the upload folder, use the following filter

    add_filter( 'ssu_shortcode_upload_folder', function() {
       return 'wp-media';
    } );

    Please let us know if it works for you.

    • This reply was modified 4 years, 3 months ago by WP Folio.
Viewing 1 replies (of 1 total)
  • The topic ‘Upload + Create link to WP media (Frontend users)’ is closed to new replies.