This topic has 1 reply, 2 voices, and was last updated 11 years by SQadmin.

  • Author
  • #4479
     LKr
    Participant

    I understand that the line below in bp_custom.php sets up the default opening tab (right under the avatar) when users look at their profiles:

    define(‘BP_DEFAULT_COMPONENT’,’activity’)

    I was wondering if I could have different default tabs depending on whether the user is looking at his own profile or someone else’s? I’d like “activity” be the default tab for users looking at their own profile, and “profile” be the default tab for users looking at someone else’s profile.

    How to set it up?

    Thanks!

    #4519
     SQadmin
    Keymaster

    Hi,
    That is a global settings and it is set before knowing who you are in the site.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?