Replies
Hi Simon,
Any plugin that supports CDN upload for WordPress should work out of the box with MediaPress. Please try any of these that works for normal media and let me know if that works for you or not?Thank you
Brajesh- Brajesh Singh on April 14, 2016 at 8:06 am in reply to: Removing drop down select gallery function and the user uploads to one gallery #3510
Hi Jemma,
Are you sure that you are using the code above for generating the uploader?I tried it and for me, It is not listing the galleries. It works if the $gallery_id is a valid gallery.
- Brajesh Singh on April 14, 2016 at 6:49 am in reply to: Removing drop down select gallery function and the user uploads to one gallery #3505
You may upload it somewhere and link here or you may send me it via mail at brajesh@buddydev.com
Thank you
Brajesh - Brajesh Singh on April 14, 2016 at 6:48 am in reply to: Removing drop down select gallery function and the user uploads to one gallery #3503
Please do.
- Brajesh Singh on April 14, 2016 at 6:44 am in reply to: [Resolved] Blog Categories For Groups and Custom Taxonomies #3501
Hi Ada,
Thank you. Finally, I understood it.I will be posting code a little late today.
Thank you
Brajesh - Brajesh Singh on April 14, 2016 at 6:43 am in reply to: Removing drop down select gallery function and the user uploads to one gallery #3499
Please use this code where you want the uploader to appear
$user_id = get_current_user_id(); //or bp_displayed_user_id(); $gallery_id = mpp_get_wall_gallery_id( array( 'component' => 'members',//can be 'groups', 'sitewide' 'component_id' => $user_id, //user_id, group id etc based on the component 'media_type' => 'photo'//can be 'video', 'audio', 'photo' etc ) ); //run the shortcode echo do_shortcode( "[mpp-uploader gallery_id={$gallery_id} ]" );Hope that helps.
- This reply was modified 9 years, 9 months ago by
Brajesh Singh.
- This reply was modified 9 years, 9 months ago by
- Brajesh Singh on April 13, 2016 at 5:42 pm in reply to: [Resolved] Blog Categories For Groups and Custom Taxonomies #3492
Hi Ada,
I am sorry, i was away.I am sorry but I am still not very clear about the goal.
1. Are you using category and taxonomy both? Are you assigning category automatically and want me to help in listing terms to the user for the ‘level’ taxonomy.
Or if possible, can you please explain what needs to be done here. I am very sorry for not understanding it.
- Brajesh Singh on April 13, 2016 at 5:29 pm in reply to: Removing drop down select gallery function and the user uploads to one gallery #3490
Hi Jemma,
Since you are calling the shortcode in php code( If I remember correctly from the previous posts), It will be easy to find the gallery id for each user.you can use
$gallery_id = mpp_get_wall_gallery_id( array( 'component' => 'members',//can be 'groups', 'sitewide' 'component_id' => get_current_user_id(), //user_id, group id etc based on the component 'media_type' => 'photo'//can be 'video', 'audio', 'photo' etc ) );That will give you the gallery id. Hope you can use it. Please do let me know if you need any further help.
Thank you
Brajesh - Brajesh Singh on April 13, 2016 at 5:25 pm in reply to: Gallery Details Page Description Field Doesn't Save Shortcodes #3489
Hi Horton,
I looked into it. The shortcode is saving to the database. The problem is with the output.
There are two issues here.1. In the Edit textarea, shortcodes are getting escaped by a call to esc_textarea( It is not the shortcode but the generated value by the shotcode).
To change this behavior, we will need to modify the way mpp_get_gallery works and will need to allow it fetching data without calling filters on the_content. Please give me a day and I will update the plugin.
Thank you
Brajesh - Brajesh Singh on April 13, 2016 at 5:07 pm in reply to: [Resolved] Vbulletin albums to mediapress #3488
Hi Simon,
Thank you for the update. It’s good to know.MediaPress stores the media as WordPress attachment(with some extra meta data and term assignment).
You can use mpp_add_media to add a media to the gallery. Please see the example here for the syntax
https://buddydev.com/support/forums/topic/custom-gallery-from-buddypress-fields/#post-2841
Also, you can add new gallery using mpp_create gallery. Here is an example to show , how to add gallery automatically.
Please do check and let me know if you need any help.
Thank you
Brajesh