BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 24447
    Brajesh Singh on 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.

  • Keymaster
    (BuddyDev Team)
    Posts: 24447

    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_Editor

    Please 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#L466

    and filter for the specific size and regenerate that( all the sized images are stored under $metadata[‘sizes’] )

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 24447

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 24447

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 24447
    Brajesh Singh on in reply to: [Resolved] Make Buddypress Community Private #339

    Hi Jay,
    Thank you. I will post the code in an hour.

  • Keymaster
    (BuddyDev Team)
    Posts: 24447
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 24447

    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?

  • Keymaster
    (BuddyDev Team)
    Posts: 24447
    Brajesh Singh on in reply to: Individual Images #328

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 24447

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 24447

    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.