Replies
- Brajesh Singh on November 19, 2015 at 8:02 pm in reply to: [Resolved] Cannot upload a JPEG file larger than 2 MB #1705
Hi Leo,
Thank you for your patience.That -1 means the request was not handled at all.
Can you please disable RT Media and and enable WP_DEBUG to let us see if there are any error?Also, if feasible, please PM me the site url/login details( any temporary normal user) and I can check it quickly.
Thank you
BrajeshPS: Except for Add from Web( which we haven’t added yet), MediaPress can do everything more efficiently than other media plugin. You can check that by doing memory/query analysis. So, if you don’t need Add From web for now, You can disable RT Media.
- Brajesh Singh on November 19, 2015 at 7:15 pm in reply to: [Resolved] Does MediaPress support activity scopes ['scope'] = ''; #1702
Hi Andy,
Thank you.
That code looks fine to me 🙂
Glad that it is resolved.Regards
Brajesh Thank you.
1. Everything is coming from this function bp_gallery_list_medias
I am sorry about the code quality there. It looks bad( not clean and not upto the current standards )
It starts from line 108 on shortcode.phpYou can change everything there.
2. For large images, you will see this code in that function
bp_get_gallery_media_thumb_html()
replace that with
bp_get_gallery_media_full_html()
Hope that helps. Please ignore the code quality for now. It is too old and not clean. That’s why we dropped BP Gallery in favor of MediaPress with modern architecture and better codebase.
Thank you
BrajeshHi,
No, These plugin can not be used with BP Gallery. BP Gallery does not use custom post type( Custom post type was not available when we initially released BP Gallery).MediaPress does use custom post type and all these plugin can be used with MediaPress not with BP Gallery. If we need to add any such functionality to Bp Gallery, It will need custom creating loop and using javascript.
- Brajesh Singh on November 19, 2015 at 5:57 pm in reply to: [Resolved] Cannot upload a JPEG file larger than 2 MB #1697
Hi Leo,
Thank you.1. Your settings are fine and plugin should allow you uploading upto 8 MB( a little less than that) due to your post max size.
The error you mentioned is not generated server side, It is show when the response from server is not valid JSON.
So, I am believing that some code is throwing notice causing this. Can you please open your browser console and check for the ajax response. It would have been very simple if you were using firefox/firebug but here is how to Do that on chrome.
Open the page where upload is. Now click ctrl+shift+I that will open the developer tools. Click on Network panel and keep that open.
Now please try uploading. As soon as you get the error, click on “XHR” tab and then on the link in Name panel. In right panel, you can see the response by clicking on 3rd tab “Response”. Please post me that message.Thank you.
PS: I see you have RT media enabled, is there any specific reason to use both these plugins together?
Hi,
There was no need to edit.Just changing the shortcode might have made it work.
[bp-gallery show="media" owner_type="user" orderby="date" type="photo" max="18" per_page="18" ]
The per_page controls how many per page.
If you have a preferred javascript library and you know php, I can guide on creating such page. All you need to do is write a custom media/gallery loop to be used with the javascript plugin.
- Brajesh Singh on November 19, 2015 at 5:29 pm in reply to: [Resolved] Cannot upload a JPEG file larger than 2 MB #1694
Hi Leo,
Welcome to BuddyDev forums.Did you see any error message? By directly, you mean using WordPress Media Uploader?
Also, can you please visit Dashboard->MediaPress->tools and post me the debug message?
Thank you
Brajesh - Brajesh Singh on November 19, 2015 at 8:25 am in reply to: Trying to improve the Group home page #1687
Hi George,
did you find some solution? The only way I see it is using Group Extension API and create one. Hi,
Please try this shortcode[bp-gallery show="media" owner_type="user" orderby="date" type=”photo” max="10" ]
Hi,
I am sorry. I should have checked that.Here is BP Gallery shortcode & usage
https://buddydev.com/docs/guides/plugins/buddypress-plugins/bp-gallery/bp-gallery-shortcodes/Hope that helps.
Bp Gallery to MediaPress migration will available there after 15th December. Sorry about the wait.