These forums are your way of communicating with the community of people developing and using tools provided by the OneAll platform. The forums are run by the community and moderated by the OneAll team during office hours.
Please stick to technical issues - and remember, no confidential information - these are public forums!

Social login bypassing buddypress registration fix!

edited November 2015 in Questions
Hi,

So we send welcome message to new registered users using the Buddypress hook bp_core_activated_user and function messages_new_message, now oneall bypasses the Buddypress registration process so users registering by login with social media do not get this welcome message. What is the suggested work around to get this working with the social login?

Thanks
Miro

Best Answer

  • edited November 2015 Answer ✓
    Hi Frederic,

    Thanks for the action call! Worked nicely, but I also had to add do_action('bp_init'); to get it working with your action so to initialize in Buddypress tables

    All the best,
    Miro

Answers

  • Yes please, Miro here is our developer and we are on a Business Account. We really need this to work for Oneall to remain a viable system for us.
  • Hi,
    Indeed, we do not call this action.
    However, we call
    do_action ('user_register', $user_id);, and our custom action, right after: do_action ('oa_social_login_action_after_user_insert', $user_data, $identity);
    So, you could a add_action('oa_social_login_action_after_user_insert' ...) where you send the private message?

    Another way would be for our plugin to hook into the Buddypress registration process. We're not familiar with this, however, if you have some action to call, we can find out where to place it in the plugin.

    Hope this helps.
  • Ah, good, thanks for the information!
Sign In or Register to comment.