Group Mods

  • Profile picture of @mercime
  • Profile picture of r-a-y
  • Profile picture of Hugo

Stop wp-login.php?action=register redirecting to /register. I want to use normal wp register…. (4 posts)

Started 3 months, 3 weeks ago by: Craiglovelock

  • Profile picture of Craiglovelock Craiglovelock said 3 months, 3 weeks ago:

    Hello, i am trying to make my registration very simple and to allow better variety of usernames i wish to use the wp register system NOT the buddypress.

    If i go to domain.com/wp-login.php?action=register

    it redirects to domain.com/register… which is very annoying.

    Any help?

  • Profile picture of @ChrisClayton @ChrisClayton said 3 months, 3 weeks ago:

    This should work.
    Add it to your bp-custom.php file.

    http://pastebucket.com/1415

  • Profile picture of Craiglovelock Craiglovelock said 3 months, 3 weeks ago:

    Right… i have that working, my final ‘issue’ is the way it doesnt like spaces.

    If you register with bp deactivated, you can use spaces in your name. If you then reactivate buddypress you can log in with the name (using spaces) and it just puts the -’s in the mention part, which is fine.

    However if i register with buddypress installed, the confirmation email is sent with my username and spaces filled with -’s. So i register with 1 2 3, then my username becomes 1-2-3…

    Any ideas on that one?

  • Profile picture of @ChrisClayton @ChrisClayton said 3 months, 3 weeks ago:

    @Craiglovelock – you will have to figure out how to insert a custom textfield into the wordpress registration page and then insert a “name” field (sorry, cant help more since i have never touched the wordpress registration form)

    Since you have disabled the buddypress registration form and you have given wordpress back control over it, you may get better answers on the wordpress.org forums.