BuddyDev

Search

[Resolved] Group list media

  • Participant
    Level: Initiated
    Posts: 9
    Francoise on #9180

    Hello
    Me again…difficult to stay a long time without this plugin ๐Ÿ˜‰
    So my question, is it possible to have a list of all media in a gallery group ?
    So i have try to add this :
    <?php echo do_shortcode(“[mpp-list-media]”); ?>
    in the template /groups/home.php
    But it doesn’t work.
    I would like to list all the media and not the gallery.
    Thanks for your help
    Franรงoise

    • This topic was modified 7 years, 6 months ago by Brajesh Singh. Reason: moved to MediaPress community suport forum
  • Participant
    Level: Initiated
    Posts: 9
    Francoise on #9181

    Sorry i see i have used the wrong forum !
    How can i move to the mediapress support Forum ?
    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #9185

    Hi Francoise,
    Welcome back ๐Ÿ™‚

    The code should be like this

    
    
    <?php echo do_shortcode("[mpp-list-media component='groups' component_id='" . bp_get_current_group_id() ."']"); ?>
    
    

    Please try that and let me know if that works for you or not?

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 9
    Francoise on #9201

    Hello Brajesh,

    This doesn’t works.
    This group is public, in the mediapres settings i have enable only the groups option, i dont want member or sitewide media.
    Thanks if you can help again !
    Francoise

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #9220

    Hi Francoise.
    Can you please try running the same in the sidear and see if that works for the group.

    In the above code, we are explicitly asking to list all media types for current group.

  • Participant
    Level: Initiated
    Posts: 9
    Francoise on #9228

    Ok you are awesome ๐Ÿ™‚ then it works

    Thanks
    Francoise

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #9355

    Hi Francoise,
    I am sorry I missed to follow up after your last post.

    Do you need further assistance on this?

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 9
    Francoise on #9357

    Ho sorry i forget to mark this topic as resolved.
    All is great and all works very well.
    Thanks again for your help
    Francoise

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #9392

    No Problem. Thank you for the reply.

The topic ‘ [Resolved] Group list media’ is closed to new replies.

This topic is: resolved