Add a videos tab next to profile photo on other users’ profiles
-
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 ofclass 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.
- You must be logged in to reply to this topic.