BuddyDev

Search

[Resolved] Not Able to Add More than One Uploader Shortcode to Page

Tagged: 

  • Participant
    Level: Enlightened
    Posts: 31
    Brian on #5773

    Correct me if I’m wrong, but I believe this may be a bug?

    I’m not able to add more than one [mpp-uploader gallery_id=0000] shortcode to my page.

    Well, I can, but only one uploader actually functions.

    I’m creating my own custom front-end profile page which incorporates MediaPress. I have it so that a user can

    -UPLOAD TO PHOTO GALLERY
    and also on the same page
    -UPLOAD TO AUDIO GALLERY

    My Gallery ID’s are all proper, and in my testing it seems whichever one is fired first on the page is the only one that is functional.

    For example, if I have my page set up in this order

    //this one works
    echo do_shortcode(‘[mpp-uploader type=photo gallery_id=3795]’)
    //this one doesn’t work
    echo do_shortcode(‘[mpp-uploader type=audio gallery_id=3796]’)

    If I have it set up in this order
    //this one works
    echo do_shortcode(‘[mpp-uploader type=audio gallery_id=3796]’)
    //this one doesn’t work
    echo do_shortcode(‘[mpp-uploader type=photo gallery_id=3795]’)

    Any ideas? I can share the development link in a private reply if it that will help, but this should be easy to reproduce.

    Thank you!

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #5780

    Hi Brian,
    I am sorry but at the moment only once uploader on a page is supported. Multiple instance are not supported.

  • Participant
    Level: Enlightened
    Posts: 31
    Brian on #5793

    Okay. Maybe I’ll see about loading the uploader in an iframe or other such method (currently uploader is embedded in bootstrap modal, not directly on page). Thanks for the support.

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #5798

    Sure. All the best. I am sorry for the limitation and may be in future we can have a better implementation for it. Marking it as resolved.

You must be logged in to reply to this topic.

This topic is: resolved