Skip to:
Content
Pages
Categories
Search
Top
Bottom

Registration confirmation redirecting to wp-login.php

  • @jamieskella

    Member

    In bbPress 2.1 when a user registers they get taken to /wp-login.php?checkemail=registered wich says “Registration complete. Please check your e-mail.”

    I don’t really want people to see that wp-login.php page at all, it should just take them back to index.php or something defined.

    Is there a way to do this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • @jaredatch

    Member

    Are you having them register via a registration form generated from the bbp-register shortcode?

    @jamieskella

    Member

    Yeah, I am using the bbPress register shortcode on a page.

    @jaredatch

    Member

    If memory serves me correct, I don’t know if there is a way to get this working on bbp 2.0 – I had tried it before with no luck.

    I *think* this might be addressed in 2.1 – do you know which you are running?

    @jamieskella

    Member

    It worked fine in 2.0 I believe. I’m now running 2.1 and it keeps redirecting to wp-login.

    @jaredatch

    Member

    You should be able to filter the login form using bbp_wp_login_action.

    Check out bbp-common-template.php starting at line 837. bbp_wp_login_action is what the login/registration forms use.

    @jamieskella

    Member

    Thanks, I assume this is best put in functions.php?

    @jaredatch

    Member

    Yep unless you have a custom plugin that houses your customizations the next best place would be your theme’s functions.php.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar