BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on #4231

    Yes! That’s PERFECT!! Thank you !!

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on #4112

    Hi Brajesh any news on this? So for the shortcode Lightbox currently the image clicks to the users gallery but I am not using the static galleries so would like the image to not link anywhere on the Lightbox pop up is this possible?

    You can see an example of what I mean here: http://mycoparenting.org/members/gemspeht/

    Thanks for any help!

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on #3509

    I could just hide the drop down in the CSS however it is not loading photos automatically to a default gallery it is still asking the user to select a gallery see:

    http://coparenting.org.uk/wp-content/uploads/2016/04/Screen-Shot-2016-04-14-at-08.02.25.png

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on #3508

    Hi Brajesh, I managed to get the code to have no errors, as you can see in screenshot here:

    http://coparenting.org.uk/wp-content/uploads/2016/04/Screen-Shot-2016-04-14-at-07.59.06.png

    But it is not working on the profile page here:

    http://coparenting.org.uk/wp-content/uploads/2016/04/Screen-Shot-2016-04-14-at-07.58.59.png

    It is still showing the drop down and asking to select the gallery instead of automatically adding to the default gallery without showing the drop down..

    Thanks for all your help!

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on #3507

    Oh on a link, I see erm, OK give me some time

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on #3506

    There is no option here to upload a photo?

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on #3504

    How?

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on #3502

    It is just showing me an error on two lines.. can i send a screenshot?

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on #3498

    Hi Brajesh,

    I think I’ve realised do you mean to add that code in the profile loop with the php shortcode?

    Where in the code do I put it? Sorry for my lack of knowledge!

    <?php
    $displayed_user_id = bp_displayed_user_id();
    //run the shortcode
    echo do_shortcode( “[mpp-media type=’photo’ max=’10’ lightbox=1 gallery_id=” component=’members’ component_id={$displayed_user_id}]” );

    ?>

  • Participant
    Level: Initiated
    Posts: 18
    Jemma Tates on #3497

    Hi Brajesh,

    Thanks for your help, I tried putting that code in the bp-custom.php file and the shortcode gallery id but there seems to be some errors with the code, can I please send you a screenshot of my code and the error?

    Thanks Gemma