BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 9
    Tomasz Sztreker on #4675
    This reply has been marked as private.
  • Participant
    Level: Initiated
    Posts: 9
    Tomasz Sztreker on #4615

    I have another questions.
    I try achieve my goal in different way, and instead single photo I add galleryinto profile header ( next tu porfile picture) and all work well.
    But when I click the gallery thumbnail a lightbox don’t open, (open only when I click gallery thumbnail under buddypress profile tab => Gallery) . I admit I don’t know to much about javascript and again I stuck :(.

    I know your are busy, and I thank you for your your time.

  • Participant
    Level: Initiated
    Posts: 9
    Tomasz Sztreker on #4614

    Thank You very much for your answer.
    sorry if i was confused,
    I would like open every single media in lightbox. Now for me lightbox open only when I click gallery. Maybe I did something wrong?

    Tomasz,

  • Participant
    Level: Initiated
    Posts: 9
    Tomasz Sztreker on #4545

    Hi,
    It is possible to open single media in lighbox.
    I displayed last photos of user in profile header.
    I like to open photos in lightbox when user click them, not to redirect them to profile page with containing photos.

    Thank Fork
    Answer.

  • Participant
    Level: Initiated
    Posts: 9
    Tomasz Sztreker on #4080

    Ok it working, I used code below , i hope it is correct solution.

    global $bp;
    $user = $bp->displayed_user->id;
    $args = array(
    ‘user_id’ => $user,
    );

    // The Query
    $the_media_query = new MPP_Media_Query( $args );