Replies
- Venutius on January 9, 2018 at 6:06 am in reply to: [Resolved] Adding a gallery automatically on post creation #12766
Hi Brajesh,
Could you confirm the code I need to use to set it back to private uploads?
I thought the following would work, but it does not:
mpp_update_gallery_meta( $gallery_id, '_mpp_is_all_upload_allowed', 0);
- Venutius on January 8, 2018 at 11:15 pm in reply to: [Resolved] Adding a gallery automatically on post creation #12764
Thanks Brajesh, I’ve been a bit busy today so I’ll test it tomorrow.
How difficult would it be to enhance Global Shared Gallery so that it supported “friends only” as an option?
- Venutius on January 7, 2018 at 1:57 am in reply to: [Resolved] Adding a gallery automatically on post creation #12737
Hi Brajesh, I’m going to be using Global Shared Gallery with this plugin. Would you have a code I could add to set each gallery created as shared?
Thanks!
- Venutius on January 6, 2018 at 10:56 pm in reply to: [Resolved] Adding a gallery automatically on post creation #12736
Well that took me longer than expected, but that works – thanks!
Next I want to wrap the code in a check to see if MediaPress is active to prevent errors, what would you suggest as a check?
- Venutius on January 6, 2018 at 8:45 pm in reply to: [Resolved] Adding a gallery automatically on post creation #12732
Thaks, I’ll work on that and let you know how it goes
- Venutius on January 6, 2018 at 8:25 pm in reply to: [Resolved] Adding a gallery automatically on post creation #12729This reply has been marked as private.
- Venutius on January 6, 2018 at 8:20 pm in reply to: [Resolved] Adding a gallery automatically on post creation #12728
Yep that works great!
Now I have more to ask of you I’m afraid. I will need to set the privacy options from public to private after the post has been created, to you have a function for that?
I’m going to include a drop down in the post where the author can change the privacy of the gallery from public to private. I think I can handle most of the code for that, I just need to know te function to use for editing the gallery details.
Thanks
- Venutius on January 6, 2018 at 8:11 pm in reply to: [Resolved] Adding a gallery automatically on post creation #12726
Working on it now, I’ve got it half working, it’s creating the gallery, I just need to work on adding the gallery ID to my shortcode fields
- Venutius on January 6, 2018 at 11:33 am in reply to: [Resolved] Adding a gallery automatically on post creation #12720
Thanks Brajesh, you are a star! I’ll get onto this later today
- Venutius on January 5, 2018 at 7:23 am in reply to: [Resolved] Adding a gallery automatically on post creation #12708
Hi Brajesh, just checking in to see if you have had a chance to look at this? While I’ve been waiting I’ve just about completed forking another plugin – I’ve created a version of duplicate title validate that supports MediaPress and any other custom post type with options on exactly how it validates post titles. a simple plugin but none the less a steep learning curve for me. I’m getting keen to get to work on my MediaPress project now.
All the best!
George