Creating a second page in registration
I’ve been messing around trying to get a custom second page working in the registration and have run into some issues. Basically I used the bp_complete_signup hook to change the registration step ( $bp->signup->step = ‘example-step’ and then added an if statement to the register.php file to detect the step and display a second set of xprofile fields (by changing the xprofile group #) – things work fine and dandy till here, problem is getting submit to work a second time and register the fields in the db and set the step to the final ‘completed-confirmation’.
This should be pretty standard for someone wanting to add additional profile info to registration that isn’t in the “base” profile group.
Right now it refuses to complete the second step. ( I think because the step is not incremented properly)
Also Is it a problem to edit core files directly – sometimes the hooks won’t cut it. How will such edit work with updates?
Thanks for any and all help!
- The topic ‘Creating a second page in registration’ is closed to new replies.