Skip to:
Content
Pages
Categories
Search
Top
Bottom

Add a videos tab next to profile photo on other users’ profiles


  • navyspitfire
    Participant

    @navyspitfire

    When I go to another users profile, to the right of their profile picture I see two tabs: 1) profile fields, 2) photos. These buttons are ajax and toggle/display info when pressed. Is there a way to add a third tab, videos, which would display all the users’ uploaded videos?

    I know the code is in class-bp-tabs.php. I tried making a copy of class BpMembersTab_rt_media extends BpMembersTab {...} and changing the database query from photo to video, but I’m not sure how to get the tab generating function to create the 3rd tab that would display all the videos.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar