We only want to allow a member to invite another member to their hidden group if they know their email address.
So we want the group invitation feature to only search on email field and return the corresponding user so that they can be invited.
Any thought son who to achieve this would be appreciated.
Hi,
Welcome to Buddydev.If you are using Nouveau, It is doable.
Please take a look at the function
bp_nouveau_ajax_get_users_to_invite
You need to hook to ‘wp_ajax_groups_get_group_potential_invites’ and make sure to handle the requests at higher priority than ‘bp_nouveau_ajax_get_users_to_invite’
Regards
Brajesh
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
This topic is: not resolved