BuddyDev

Search

Replies

  • Participant
    Level: Enlightened
    Posts: 36
    Mike on in reply to: Additional Global shared gallery question #35883
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 36
    Mike on in reply to: Additional Global shared gallery question #35880

    is it safe to put admin password on this page? How do you want it sent?

  • Participant
    Level: Enlightened
    Posts: 36
    Mike on in reply to: Additional Global shared gallery question #35874
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 36
    Mike on in reply to: Additional Global shared gallery question #35873

    If I gave you credentials to go in site.
    There is an issue because users are already on site…identity security?

    When I uploaded plugin and added code.

    Photos work users can’t upload video.

    Sorry!! Don’t mean to be a pain about this!!!

  • Participant
    Level: Enlightened
    Posts: 36
    Mike on in reply to: Additional Global shared gallery question #35830

    Please resend the plugin link to me

    and also maybe I’m inserting code in the wrong file…which file should I be inserting it to?

    /**
    * Modify gallery activity.
    *
    * @param bool $can Can publish or not.
    * @param MPP_Gallery $gallery MediaPress gallery object.
    * @param int $user_id User id permission need to check.
    *
    * @return bool
    */
    function buddydev_modify_user_can_publish( $can, $gallery, $user_id ) {

    if ( ! is_user_logged_in() ) {
    return $can;
    }

    // If gallery is shared allow user to publish.
    if ( get_post_meta( $gallery->id, ‘_mpp_is_all_upload_allowed’, true ) ) {
    $can = true;
    }

    return $can;
    }
    add_filter( ‘mpp_user_can_publish_gallery_activity’, ‘buddydev_modify_user_can_publish’, 10, 3 );

  • Participant
    Level: Enlightened
    Posts: 36
    Mike on in reply to: Additional Global shared gallery question #35829

    can you resend me the plugin link and I will try reinstalling it first..
    Thanks

  • Participant
    Level: Enlightened
    Posts: 36
    Mike on in reply to: Additional Global shared gallery question #35792

    Any update? I have alot of subscribers going on my site asking!

    Thanks so much for all your hard work! Greatly appreciated!!

  • Participant
    Level: Enlightened
    Posts: 36
    Mike on in reply to: Additional Global shared gallery question #35725

    Any update? Thanks so much!

  • Participant
    Level: Enlightened
    Posts: 36
    Mike on in reply to: Additional Global shared gallery question #35698

    I tried it again to try in snippets…

    Went to video page to upload a video as a subscriber..
    still gives error message insufficient privileges to upload

    Please help…alot of users are asking me if it is fixed.

    I thank you for your asssistance, very much!!!

  • Participant
    Level: Enlightened
    Posts: 36
    Mike on in reply to: Additional Global shared gallery question #35694

    I still a newbie at this..
    I add this code to snippets correct?

    I added to snippets and it gave me an error
    won’t work.

    Let me know what next.