BuddyDev

Search

Ajax Registration with Social Login

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #739
  • Participant
    Level: Enlightened
    Posts: 51
    Milo on #740

    Excellent Brajesh thanks. I am going to try it out in a few minutes here. I will report back. 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #741

    Thank you Milo. I am looking forward to your feedback.

  • Participant
    Level: Enlightened
    Posts: 51
    Milo on #747

    I have confirmed that I am using 1.1.9. I have cleared the cache (a few times) but this is still not working for me. Would you like to try again yourself? http://relativeu.com/

    I have tried making both… just a user…. also a multisite. Each time I am just directed back to the main page after registration

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #748

    Hi Milo,
    Did you put the code I posted here in your bp-custom.php?

  • Participant
    Level: Enlightened
    Posts: 51
    Milo on #749

    yeah I was just reading that (you read my mind 😉 where is that file I am having trouble locating it.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #750

    Hi Milo,
    No problem 🙂
    Here is the code

    https://buddydev.com/support/forums/topic/ajax-registration-with-social-login/page/2/#post-738

    and bp-custom.php should be in your wp-content/plugins directory.
    Hope that helps.

  • Participant
    Level: Enlightened
    Posts: 51
    Milo on #751

    ok but I dont seem to have this file

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #752

    In that case, please create one
    Here is a link to understand it.

    https://buddydev.com/docs/guides/guides/buddypress-guides/what-is-bp-custom-php/

  • Participant
    Level: Enlightened
    Posts: 51
    Milo on #753

    Yikes does something other than that code go in this file. ERRORS…….

    add_filter( ‘bpajaxr_redirect_url’, ‘buddydev_redirect_to_profile_on_ajax_registration’, 10, 2 ); function buddydev_redirect_to_profile_on_ajax_registration( $url = ”, $user_id = 0 ) { if( ! $user_id ) { return $url ; } $url = bp_core_get_user_domain( $user_id ); return $url; }
    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-content/plugins/wordpress-social-login/wp-social-login.php on line 64

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-content/plugins/wp-super-cache/wp-cache-phase2.php on line 60

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-login.php on line 431

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-login.php on line 444

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 957

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 958

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 959

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 960

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 961

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 962

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 965

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 966

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 967

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 968

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 971

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 972

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 973

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 974

    Warning: Cannot modify header information – headers already sent by (output started at /home/relativeu/public_html/wp-content/plugins/bp-custom.php:15) in /home/relativeu/public_html/wp-includes/pluggable.php on line 1207

You must be logged in to reply to this topic.

This topic is: not resolved