Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Avatar Upload on Registration redirects to registration page

  • Avatar of Judah
    Judah
    Participant

    @musickjl

    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)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @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?

    Avatar of Judah
    Judah
    Participant

    @musickjl

    @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,

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

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

    Avatar of Henry
    Henry
    Participant

    @henrywright-1

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

    Avatar of Judah
    Judah
    Participant

    @musickjl

    Avatar of Henry
    Henry
    Participant

    @henrywright-1

    @musickjl thanks!

    Avatar of Martin
    Martin
    Participant

    @rastarr

    How did you redirect them to change avatar though?

    Avatar of Henry
    Henry
    Participant

    @henrywright-1

    @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.

    Avatar of Martin
    Martin
    Participant

    @rastarr

    I actually own Mingle hence my interest :)

    Avatar of Henry
    Henry
    Participant

    @henrywright-1

    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)

You must be logged in to reply to this topic.