BuddyDev

Search

MediaPress – Add "Uploaded by" display on media views

  • Participant
    Level: Master
    Posts: 413
    Venutius on #6489

    Hi Brajesh,

    I’ve been thinking about spam prevention and I think it would be very helpful if we could easily see who uploaded media items, especially in groups and site-wide galleries.

    I’d hope that would be reasonably simple to engineer?

  • Participant
    Level: Master
    Posts: 413
    Venutius on #6490

    Ah it’s there in the lightbox view, but what about where the lightbox is not used?

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #6497

    Hi George,
    you can copy and override templates.
    here is the code to display the uploader user name linked

    
    <?php echo bp_core_get_userlink( mpp_get_media_creator_id() ); ?>
    
    

    You should copy and modify this file

    https://github.com/buddydev/mediapress/blob/master/templates/mediapress/default/gallery/views/grid-photo.php

    Hope that helps.

The topic ‘MediaPress – Add "Uploaded by" display on media views’ is closed to new replies.

This topic is: not resolved