New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Axel,
    I will look into this the upcoming week and will assist.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] Profile Visibility Plugin Error #12868

    Hi Axel,
    Thank you.

    I see the issue. It happens when some plugin/code instead of returning array returns string for the button args.

    I will push a version of the visibility plugin today.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: Slow lightbox load with lots of images in gallery #12867

    Hi Richard,
    Thank you.
    Yes, I was expecting this will happen one day with larger galleries and the lightbox.

    You are correct about loading only prev/next in one go. I will look into it and will try to get asap.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi Richard,
    I am sorry for the inconvenience.

    This is strange and should never happen.

    Here is the check we are using

    
    $post = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$wpdb->posts} WHERE post_name = %s and post_type = %s ", $slug, mpp_get_media_post_type() ) );
    
    

    We are not using like, in the above test so I am not sure how this happened for you.

    Can you please point me to the code(It might be related to something else).

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] A Couple of problems #12850

    Hi George,
    1. Please visit Dashboard->MediaPress->settings->Sitewide tab and make sure tha Logged In status is enabled.

    If that is the case, please do let me know.

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] Setting document in new window #12848

    Hi David,
    I can certainly add an option for the same.

    Also, if you keep a file in your themes directory, It will never be overwritten in plugin update.

    Current method is suitable if you want the feature right now.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: [Resolved] Setting document in new window #12846

    Hi David,
    Please copy

    wp-content/plugin/mediapress/templates/mediapress/default/buddypress/activity/views/grid-doc.php to

    YourThem or Child theme/mediapress/default/buddypress/activity/views/grid-doc.php

    and in the line

    
                    <a href="<?php echo esc_url( $url ); ?>" class="mpp-media mpp-activity-media mpp-activity-media-doc <?php echo $class;?>" data-mpp-activity-id="<?php echo $activity_id; ?>" data-mpp-media-id="<?php mpp_media_id(); ?>" >
                        <img src="<?php mpp_media_src( 'thumbnail' ); ?>" class='mpp-attached-media-item' title="<?php echo esc_attr( mpp_get_media_title() ); ?>"/>
                    </a>
    

    add

    
                    <a href="<?php echo esc_url( $url ); ?>" target="_new" class="mpp-media mpp-activity-media mpp-activity-media-doc <?php echo $class;?>" data-mpp-activity-id="<?php echo $activity_id; ?>" data-mpp-media-id="<?php mpp_media_id(); ?>" >
                        <img src="<?php mpp_media_src( 'thumbnail' ); ?>" class='mpp-attached-media-item' title="<?php echo esc_attr( mpp_get_media_title() ); ?>"/>
                    </a>
    

    We are adding the target attribute.

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Hi,
    If you have a developer looking at your site, please ask him to search for codes for adding admin page.

    It was the most common place where people used numbers for capability.

    Here is an example
    https://wordpress.org/support/topic/has_cap-was-called-with-an-argument-that-is-deprecated-since-ve/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509
    Brajesh Singh on in reply to: MediaModerator default Title suggestion #12843

    Thank you Richard.
    That’s a good suggestion and will have it in the next release.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25509

    Thank you for the understanding and the kind words Richard.