Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Automatically create a group when a member subscribes (based on a profile field)


r-a-y
Keymaster

@r-a-y

The create group function is groups_create_group(); it can be found in /bp-groups.php.

You can add checks for profile fields when a user activates their account with the “bp_core_activated_user” action, available in the bp_core_activate_signup() function (this can be found in /bp-core/bp-core-signup.php).

Hope that gives you a few pointers.

Skip to toolbar