Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Creating different types of users


Boone Gorges
Keymaster

@boonebgorges

At the moment, I don’t know a plugin that can do it. A plugin *could* do it, though, by following something like the following setup:
– Modify the registration templates to include Player/Team/Sponsor dropdown
– Hook a function to `bp_core_signup_user` that gets that information out of the $_POST global and saves it with update_user_meta()
– Hook into some of the profile display load_template functions (such as `xprofile_template_display_profile`) to swap out the templates based on the usermeta, which you’d load with get_user_meta()

Such a plugin would take some time to build well, but would be really useful to a lot of people. Good luck!

Skip to toolbar