Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Avatar Upload on Registration redirects to registration page

  • @musickjl

    Participant

    Hey guys,

    Im running WP 3.5.2 and BP 1.7.2 and in my registration process after the user has successfully registered they are taken to a page to upload their avatar. The problem is that when the user clicks upload, they are automatically redirected back to a blank registration page which creates an endless loop. They can still login if they get that far but most of my users aren’t getting past the registration page because of this avatar upload issue. Any ideas on a fix?

    Thanks,

    Judah

Viewing 10 replies - 1 through 10 (of 10 total)
  • @mercime

    Participant

    @musickjl WP/BP versions? Deactivate BuddyPress, can you upload images in regular Posts or Pages? Have you gone through basic troubleshooting like deactivating plugins batch by batch to check which is interfering with avatar uploads? What theme are you using?

    @musickjl

    Participant

    @mercime thanks for your help. I got it figured out. I did not have the most recent version of my theme installed and the newer version disabled avatar uploads in the registration process which of course solves the problem. Thanks,

    @mercime

    Participant

    @musickjl Glad you resolved the issue. Thanks for posting back. Marking this topic as resolved 🙂

    @henrywright-1

    Member

    @musickjl which theme are you using? i’d be interested to see how to redirect users to the change-avatar page directly after registration

    @musickjl

    Participant

    @henrywright-1

    Member

    @musickjl thanks!

    @rastarr

    Participant

    How did you redirect them to change avatar though?

    @henrywright-1

    Member

    @rastarr

    The theme is a premium theme so i didn’t download (couldn’t justify spending $60 just for a peek at the redirect) – so i’m not sure how that theme does it.

    @rastarr

    Participant

    I actually own Mingle hence my interest 🙂

    @henrywright-1

    Member

    I’m not sure of the exact one but a filter hook will be used to redirect the user after successful activation. Perhaps someone can suggest the best hook to use?

    You then just write your function and add it to functions.php

    function bp_redirect_after_activation() {
    	global $bp;
    		wp_redirect( bp_core_get_user_domain( $bp->loggedin_user->id ) . 'profile/change-avatar' );
    		exit();
    }

    If I had to guess, i’d say that’s how the theme does it :}

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Resolved] Avatar Upload on Registration redirects to registration page’ is closed to new replies.
Skip to toolbar