BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 18

    Hi Brajesh,

    Thanks for your help, I am a little confused though, if I put in a gallery ID to the shortcode all the images for every different member will be loaded into that users gallery?

    So for example, this gallery id=8850 is from my gallery which sits here:

    http://coparenting.org.uk/members/jemma-tates/mediapress/profile-photos-2

    But I don’t want every user to load their images into my gallery I want them on their own links.. do you know what I mean? Thanks

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on in reply to: [Resolved] Delete image redirect #2893

    That’s fantastic thanks for letting me know 🙂

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on in reply to: [Resolved] Delete image redirect #2887

    Hi Brajesh,

    Any luck with finishing this code?

    Thanks Jem

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on in reply to: [Resolved] Delete image redirect #2760

    Oh yes! Fantastic this works a treat 🙂

    I updated the plugin.. the lightbox on the image gallery from the shortcode still doesn’t work, will this be updated any time soon?

    Thanks so much – brilliant plugin & amazing support!

    Jem

  • Participant
    Level: Initiated
    Posts: 18

    Hi thanks, this code didn’t work but I changed:

    bp_is_myprofile

    to:

    bp_is_my_profile

    and now it works:

    <?php if(bp_is_my_profile()):?>

    <?php echo do_shortcode( “[mpp-uploader]”); ?>

    <?php endif;?>

    Thanks again great help! 🙂

  • Participant
    Level: Initiated
    Posts: 18

    Oh! I worked it out! Yay ! Ha sorry for being php thick – I used your code and did this:

    <?php
    $displayed_user_id = bp_displayed_user_id();
    //run the shortcode
    echo do_shortcode( “[mpp-uploader]”);

    ?>

    And it works fine now and then I have hidden it on other profiles using the CSS. 🙂

  • Participant
    Level: Initiated
    Posts: 18

    Hi, I was just thinking, a better solution would be to have the upload function after the gallery for the logged in user on their profile.

    I know how to show a div using the CSS for a user in their account and hide it in the other profiles, but the problem is when I use this shortcode:

    [mpp-uploader]

    The uploader is inserted in the top of the page and I can’t edit it in the CSS to hide it etc to get it to do what I want. I have wrapped it in a div to try control it but it doesn’t work.

    Can you help at all?

    Thanks Jem

  • Participant
    Level: Initiated
    Posts: 18

    Omg that’s amazing thank you for your quick response!

    Yes it works perfectly! 🙂

    Can you help me with one last thing?

    Underneath this gallery I would like to add a link that shows only on the logged in users profile that goes to their mediapress gallery / upload page, is that possible?

    Thanks Jem