Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • happymunkee
    Participant

    @happymunkee

    This thread may have the solution to your answer. I used information here to display all Groups to my registration page and have them populate my DB.

    https://buddypress.org/support/topic/how-to-show-multiple-profile-field-groups-on-register-php/


    happymunkee
    Participant

    @happymunkee

    Thank you, Henry. If you don’t mind that I add an additional question, how do I retrieve registration data from the hook? I would like to grab the username, email, display name, and meta data. I know it follows this form:
    function test_hook($user_id)

    will get me the user’s ID to use. However, does every BP default registration value have its own hook variable? IE. is there a variable for username, email, password, and meta data (custom fields)? Or do I access them some other way?


    happymunkee
    Participant

    @happymunkee

    Thanks for your responses. Plugging in the same code into functions.php inside the theme itself seems to resolve the problem. I put the snippet in wp-content/themes/klein/functions.php. Can someone confirm if this code will ever be overwritten by an update to WordPress or BuddyPress? I know updating BP will overwrite the register.php page.


    happymunkee
    Participant

    @happymunkee

    Does anyone have any additional insight on why I’m not getting anything printed? Thank you in advance.


    happymunkee
    Participant

    @happymunkee

    Yeah I get the message “You have successfully created your account! To begin using this site you will need to activate your account via the email we have just sent to your address.” but nothing gets printed…weird. I’ve tried sticking in an exit; too and nothing.

Viewing 5 replies - 1 through 5 (of 5 total)
Skip to toolbar