Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom Registration Components

  • Avatar of Tmort
    Tmort
    Participant

    @tmort

    I’d like to add custom components to my user registration page. It is nice to allow them to upload an avatar, but I would also like to display a “what’s next” component that explains what they can do now that they have an account. Any way of doing this without hacking the core?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Yes, you can!

    If you have a child theme, move /plugins/buddypress/bp-themes/bp-default/registration/register.php and /plugins/buddypress/bp-themes/bp-default/registration/activate.php to your child theme and modify to your liking.

    If you don’t have a child theme, read this guide:

    http://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/

    Avatar of Travel-Junkie
    Boris
    Participant

    @travel-junkie

    You might not even have to do that. There’s probably loads of hooks around, so all you need to do is add some functions to your child themes functions.php file, that add stuff to the appropriate hook. Keeping your theme up-to-date will be even easier that way, if a tiny bit more complicated…

    Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    You’re right as well, Travel Junkie, but there’s no hook for the “completed-confirmation” screen specifically.

    However, there appears to be a hook called “bp_custom_signup_steps” in register.php, which you could hook into after the “completed-confirmation” screen.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.