Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do you disable/change BuddyPress redirect after login?

  • Profile photo of henryjay
    henryjay
    Participant

    @henryjay

    Hi
    I am having problems redirecting users to a custom page or redirect page after a user has logged into my site. BuddyPress was redirecting users to the Profile page. I then disassociated pages on BP and now BP redirects to one of my posts (not sure why redirects to that post in particular).

    I tried using BP Login Redirect plugin but made no difference i.e still redirects to a post. I have also tried adding redirect and remove BP redirect filters in my theme’s functions.php but BP seems to always overide and redirect to profile or post page.

    I use a redirect url for when the user clicks on login link but again BP overrides and redirects to profile or post page.

    http://www.nowstreetdance.com/login/?redirect_to=/add-street-dance-class

    My login redirect used to work before I installed BP.

    I even tried to disable BP plugin but I get the following error
    Fatal error: Call to undefined function bp_core_get_user_displayname() in /home/hbntechn/public_html/nowstreetdance.com/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 843

    I have searched online for solutions but to no avail. Any pointers appreciated.

    Site Details
    Buddy press version – 2.02
    Word press version – 3.9.2

    Thanks
    henry

Viewing 2 replies - 1 through 2 (of 2 total)
  • Profile photo of danbp
    danbp
    Moderator

    @danbp

    @henryjay,

    please read here.
    And here.

    Profile photo of henryjay
    henryjay
    Participant

    @henryjay

    Thanks!

    I changed the theme to Twenty Fourteen and redirect works correctly after login. I changed the theme back and disabled plugins but problem still occurs. I have contacted theme authour to investigate.

    I will post resolution if issue gets resolved.

    Many thanks!
    henry

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do you disable/change BuddyPress redirect after login?’ is closed to new replies.