Default Tab depending on Friendship
-
I’ve started reading threads about the BP_DEFAULT_COMPONENT & define( ‘BP_DEFAULT_COMPONENT’, ‘profile’ ); which I get and it works but I was wondering if anyone knows of a plugin or of a way to add a check to see if the member is a friend or follower.
I’m thinking of doing something like;
if the user is a friend
show Activity as default tab
if not
show Profile as default tabthe more I think about it, the more it sounds like a privacy plugin but I haven’t seen anything like that as a feature of current privacy plugins.
I guess this is similar to FB behavior when looking at profile pages. I guess the privacy element would require to hide all but profile tab if not a friend and I don’t know that I need that right now. just switching between tabs I think is enough for what I’m thinking.
- The topic ‘Default Tab depending on Friendship’ is closed to new replies.