Replies
- Brajesh Singh on February 29, 2016 at 10:19 pm in reply to: [Resolved] GETTING "AN ERROR OCCURRED IN THE UPLOAD. PLEASE TRY AGAIN LATER." #2812
Hi Jay,
I logged in. Since I am superadmin, I can not see the error. Both uploader Works for me.Can you please make my account admin of a sub site and I will be able to test better.
PS: Please remove my super admin privilege and just make it admin of one of the site.
Thank you
Brajesh - Brajesh Singh on February 29, 2016 at 9:54 pm in reply to: [Resolved] GETTING "AN ERROR OCCURRED IN THE UPLOAD. PLEASE TRY AGAIN LATER." #2808
Hi Jay,
My mistake. I thought It was MediaPress issue.1. It seems there are some notices being generated when you are uploading from post/page screen that is causing the json response to be corrupted. That’s why Media is being uploaded bu response is not correct.
Can you please check in console if that is the case?
- Brajesh Singh on February 29, 2016 at 9:19 pm in reply to: BuddyBlog – Custom Post Type, Custom Taxonomies, and Permalinks #2806
Hi Devin,
Please give this plugin a try
https://wordpress.org/plugins/custom-post-type-permalinks/It allows editing permalinks for custom post type. That will fix the issue.
- Brajesh Singh on February 29, 2016 at 9:16 pm in reply to: [Resolved] Custom Gallery From BuddyPress Fields #2805
Hi Paul,
Thank you for the deails.Here is an example how we add the media
$media_data = array( 'title' => $title, 'description' => $content, 'gallery_id' => $gallery_id, 'user_id' => get_current_user_id(), 'is_remote' => false, 'type' => $media_type, 'mime_type' => $type, 'src' => $file, 'url' => $url, 'status' => $status, 'comment_status' => 'open', 'storage_method' => mpp_get_storage_method(), 'component_id' => $component_id, 'component' => $component, //'context' => $context, 'is_orphan' => 0, ); $id = mpp_add_media( $media_data );where
– type can be ‘photo’, ‘audio’, ‘video’ etc
– component can be ‘members’, ‘groups’ etc
-context csn be ignored-component_id – is user id or group id
-src is the absolute path of the file on the file system
-url – is absolute url of the file
-mime_type is the mime type
-status – can be ‘public’, ‘private’ etcPlease do not call the mpp_add_media on mpp_loaded. Post types are only registered after mpp_init
So, It will be better to call at ‘mpp_actions’ or anything after mpp_init’ or WordPress init hook.Hope that helps.
- Brajesh Singh on February 29, 2016 at 9:08 pm in reply to: [Resolved] GETTING "AN ERROR OCCURRED IN THE UPLOAD. PLEASE TRY AGAIN LATER." #2804
Hi Jay,
I am sorry for the inconvenience.1. Which version of MediaPress are you using? Is it 1.0.3?
2. Is MediaPress network active or only enabled on the main site?
Please let me know these details and I will have some idea.
Thank you
Brajesh - Brajesh Singh on February 29, 2016 at 3:05 pm in reply to: BuddyBlog – Custom Post Type, Custom Taxonomies, and Permalinks #2800
Hi Devin,
No That is not the case. BuddyBlog completely supports custom post type and their permalink and that is what is happening on your site.There is a difference between default WordPress permalinks and the permalinks for custom post type. For custom post type, you specify it using the rewrite slug at the time of registration.
I guess you are assuming that the custom post type should use similar schema as the default posts but that is not the case. Whether you use BuddyBlog or not, that will have no effect on it.
Can you please tell me the structure you want to use for your custom post type permalink, May be I can find some option for rewrite slug.
Thank you
Brajesh - Brajesh Singh on February 29, 2016 at 10:31 am in reply to: Show recent visitors only to me + images are not changing size #2798
Thank you for the screenshots.
That makes it clear. I was thinking the issue is with the Header actions but I see you meant the problem with the tabs.
I am looking at at and It is most probably a bug. A solution will be coming a little late today.
Thank you
Brajesh - Brajesh Singh on February 29, 2016 at 10:30 am in reply to: [Resolved] member type on registration #2797
Hi Blade,
Thank you for the kind words.Can you please check this with twenty sixteen theme? I just checked and the Member types were listed on View profile /edit profile page.
If you can help me find out the issue, I may be able to help.
Thank you
Brajesh - Brajesh Singh on February 29, 2016 at 10:28 am in reply to: [Resolved] Custom Gallery From BuddyPress Fields #2796
Hi Paul,
Welcome to BuddyDev.I am sorry but I don’t understand the question completely.
MPP_Media_Query is used to list the media.
To add a media you will use mpp_add_media() and to add a gallery you will use mpp_create_gallery()
If you can explain a little more what you are trying to accomplish, I am be able to help better.
Thank you
Brajesh Hi Michael,
I have added the filters support. Once you enable the filters, It will list 4 sub tabs(or depending on which types are active) under MediaPress to list “Photos”, “Videos” etc. Please visit your MediaPress settings to enable the type filters.About po/mo file, what is the name you are assigning them?