Skip to:
Content
Pages
Categories
Search
Top
Bottom

Redirect Homepage to Profile Page if Logged in

  • Avatar of luckyrajiv
    luckyrajiv
    Participant

    @luckyrajiv

    I have Breadcrumbs in my Site like
    Home>Forums>Topic

    When a user is logged in, and clicks on HOME in Breadcrumbs , i want it to go to profile page instead of home page ( Only when User is Logged In ).

    Please Help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of Hugo
    Hugo
    Moderator

    @hnla

    Then you will need to hack whatever plugin you’re using for those breadcrumbs. This is similar to your other post asking for same redirect to profile when clicking on home logo, so the same approach to finding the users account domain url is used and for checking if logged in but you need then to work out how or if it’s possible to modify the breadcrumb function.

    Avatar of luckyrajiv
    luckyrajiv
    Participant

    @luckyrajiv

    Okay. Thanks for the info.

    Forget about Breadcrumbs. Is there any function to make homepage redirect to user profile page once the user is logged in?

    Basically, I want to remove the homepage once the user is logged in.

    Because there is no point showing the user, homepage ( with slides and details about the site ), once they are logged in.

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @luckyrajiv
    Try the snippets I provided in the below thread courtesy of @sbrajesh:

    http://buddypress.org/support/topic/redirect-to-profile-page/

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.