Replies
- Jemma Tates on April 12, 2016 at 11:33 am in reply to: Removing drop down select gallery function and the user uploads to one gallery #3481
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
That’s fantastic thanks for letting me know 🙂
Hi Brajesh,
Any luck with finishing this code?
Thanks Jem
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
- Jemma Tates on February 26, 2016 at 9:05 pm in reply to: [Resolved] User Gallery in Profile for That Specific Profile and User #2749
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! 🙂
- Jemma Tates on February 26, 2016 at 10:58 am in reply to: [Resolved] User Gallery in Profile for That Specific Profile and User #2745
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. 🙂
- Jemma Tates on February 26, 2016 at 10:53 am in reply to: [Resolved] User Gallery in Profile for That Specific Profile and User #2744
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
- Jemma Tates on February 26, 2016 at 9:23 am in reply to: [Resolved] User Gallery in Profile for That Specific Profile and User #2743
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