Replies
- Brajesh Singh on September 3, 2015 at 6:12 pm in reply to: [Resolved] mpp_register_media_size – image orientation #355
Before assisting further, May I ask a question:-
1. do you want to fix the wrong orientation problem on iOS devices? or do you want to do the rotate & crop thing.First is a generic issue and I can put a fix in the core, for second, I will need to share the code here.
Please let me know.
Hi Milo,
Now I get the idea. You are referring to the top level comments made on the media from single media page right? They are infact individual items and not related(Only for the top level comments), any child comment on that will be threaded.The best option I see here is when listing top level comment, we should include that media in the content of the activity. Will that approach be good?
By Privacy, you mean activity privacy and not the gallery privacy right?
That is not feasible at the moment. We don’t supply any such widget with the plugin and planning to add one will take significant time.
We may get this in our next update if we see enough interest, otherwise It does not seem proper to invest time here.
PS: If you are a developer, I can provide you some code to get started with this. Please do let me know if you are a developer.
- Brajesh Singh on September 3, 2015 at 5:43 pm in reply to: [Resolved] Profile Privacy causing Theme crash WordPress 4.2.4 #352
@Hans,
The auto updater will not report it will 1.3, We have yet to sort this for the a few plugins and this is one of those plugins.The problem is the difference between the file name vs the plugin slug. We will be renaming the download to the slugname.zip in 1.3, till then, this plugin will not support automatic upgrade.
My apologies for the inconvenience. - Brajesh Singh on September 3, 2015 at 11:17 am in reply to: Mediapress – upload image from mobile device #344
Hi,
I am sorry for the inconvenience. It does not seem to be a MediaPress issue rather a browser permission to access the photos. Please visit your phone settings and check if browser can access photos.I am not using anything specific, It is the browser that is responsible for browsing/selecting images and depending on your device privacy, It may or may not access that.
PS: We are using exact same setup as WordPress dashboard media upload. If one is working, the other will work too.
- Brajesh Singh on September 3, 2015 at 10:16 am in reply to: [Resolved] mpp_register_media_size – image orientation #342
Hi Aleksandar,
Thank you for asking.1. You have registered the size correctly. Good find there 🙂
2. We are using WP_Image_Editor and it’s multi resize method for resizing, so I don’t see a direct way to change the crop. There is still a way to do it though.
a). Please look at the documentation of WP_Image_Editor class here( and the first example is enough for us)
https://codex.wordpress.org/Class_Reference/WP_Image_EditorPlease do note, If you don’t pass any file name to save method, It saves to the original image.
You can filter on
mpp_generate_metadata
filter in core/storage/loca-storage.php
https://github.com/buddydev/mediapress/blob/master/core/storage/local-storage.php#L466and filter for the specific size and regenerate that( all the sized images are stored under $metadata[‘sizes’] )
Hope that helps.
- Brajesh Singh on September 3, 2015 at 10:05 am in reply to: [Resolved] Profile Privacy causing Theme crash WordPress 4.2.4 #341
Hi Leigh,
Thank you for the reply. Glad that fatal error is fixed.Please visit Settings->Profile Visibility and make sure that you haven’t enabled the hide last active time there.
If you enable that the plugin assumes that you don’t want to show the last active time and shows not recently active( that may be a bad label here and suggestion is welcome 🙂 )
It is just to hide the last active time when enabled by the admin or individual user. Please do let me know your suggestions. If I return empty string there, BuddyPress does not hide the last active time, also deleting a user’s last active time makes him/her invisible in directory. That’s why we need some sort of string here.
I am happy to change that label, please do let me know if you have suggestions.
Thank you
Brajesh - Brajesh Singh on September 3, 2015 at 9:58 am in reply to: [Resolved] Having problems with showing BuddyBlog posts in activity feeds #340
Hi Rojo,
I am sorry I could not put much time into it. Will be doing today for sure and will get back to you. - Brajesh Singh on September 3, 2015 at 9:58 am in reply to: [Resolved] Make Buddypress Community Private #339
Hi Jay,
Thank you. I will post the code in an hour. - Brajesh Singh on September 3, 2015 at 12:44 am in reply to: [Resolved] Make Buddypress Community Private #332
Hi Jay,
Thank you for asking.
Just asking, are you comfortable with code? It can be done with a few lines of code, It has nothing to do with BP Magic theme but BuddyPress pages are not the actual pages(It resets data early), so most plugin fail at detecting that.If you are comfortable wit code, I will post a snippet quickly.
Thank you
Brajesh