Tagged: buddypress, groups, profile
How can i automatically add users to a group based on their profile field input?
For example, i am running a social networking website for students and i want to automatically add a user who inputs ‘Mechanical Engineering’ in his course field to a group named ‘Mechanical Engineering’.
Is this possible? I would be so glad if i could get a solution to this. Thanks in advance.
Hi,
You can most probably do it bu hooking to the activation action ‘bp_core_activated_user’.Yes, it is doable but you will need to handle the checks and assisgn user to group using ‘groups_join_group()’ on that action.
Regards
BrajeshHi,
It will need some time. I plan to write a blog post and will share the link here in next couple of days.Regards
Brajesh
You must be logged in to reply to this topic.