Inserting txt in lightbox popout


#1

hello, I want to insert some short texts under the comment area when lightbox popout occurs, and if lightbox is disable...Could you please let me know which file is the right file to insert the text please..thanks


#2

Hi,

Sorry for the late reply.

As of now this cannot be done directly using hooks. You will have to edit the core files. For that you would need to insert your code after line no. 286 in the BPMediaScreen.php ( https://github.com/rtCamp/buddypress-media/blob/master/app/main/profile/BPMediaScreen.php#L286 ) on the latest BuddyPress Media 2.13.2

Keep in mind that these modifications would not stay when you update BuddyPress Media. We are in the process of refactoring BuddyPress Media and these modifications would be easier to make once that is done.

You can checkout the roadmap to get an idea of the upcoming releases.


#3