Replies
- 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 - Brajesh Singh on September 2, 2015 at 11:56 pm in reply to: [Resolved] Profile Privacy causing Theme crash WordPress 4.2.4 #330
Hi Leigh,
How did you upload the new updates? Can you please tell me what you saw in your error log( or enable WP_DEBUG) and please post the error.I am running it on 4.2.4 and I don’t see any issue.
PS: Did you delete the old plugin before uploading the new update?
Hi Milo,
Welcome to the BuddyDev forum.The activity listing is not handled by MediaPress but the BuddyPress activity. BuddyPress activity allows us to list comments below the parent activity or list as individual items.
A theme can decide which way they want to list it.
In the function bp_has_activities() you can use the parameter ‘display_comments’ with the value ‘threaded’ to make the comments listed below the activity item.
You can look into your theme and check the ‘activity/activity-loop.php’
and change
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
to
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) .'&display_comments=threaded' ) ) : ?>
and that will make all comments list under activity.
Hope that helps.
- Brajesh Singh on September 2, 2015 at 9:29 pm in reply to: [Resolved] Profile Privacy causing Theme crash WordPress 4.2.4 #327
Hi Leigh,
Please upgrade to 1.2.5
You ca download it from here
https://buddydev.com/plugins/bp-profile-visibility-manager/Let me know if that works for you or not?
Thanks
Brajesh - Brajesh Singh on September 1, 2015 at 11:19 pm in reply to: Problems following Extending BuddyPress profile field visibility #322
Hi Matthew,
I have looked at it in detail now.1. Please do note that the profile visibility levels hides the fields for other user(displayed fields) but do not hide the fields on the edit screen as the user needs to update the data(which ma or may not be visible to a subset of users)
I tested with the group privacy and it worked fine for me. I tried marking field as required and updated, then I marked the field as non required and updated, both went well.
So, I have come to the conclusion that the privacy level is not the issue here.
Are you using any other plugin that validates the field or something like that? That might be causing the issue.
- Brajesh Singh on September 1, 2015 at 10:18 pm in reply to: Problems following Extending BuddyPress profile field visibility #321
Hi Matthew,
Thank you.
i am looking at it now. Sorry about yesterday. Got stuck in something else.