BuddyDev

Search

BuddyPress Ajax Registration – keep loading after hitting register

  • Participant
    Level: Enlightened
    Posts: 39
    Brandon Tay on #5084

    Hi Support,

    the BuddyPress Ajax Registration keeps loading after hitting register.

    Please help.

    Thanks and regards

  • Participant
    Level: Enlightened
    Posts: 39
    Brandon Tay on #5085
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 39
    Brandon Tay on #5086
    This reply has been marked as private.
  • Participant
    Level: Enlightened
    Posts: 39
    Brandon Tay on #5087
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 22218
    Brajesh Singh on #5092

    Hi Brandon,
    There is a bug in wplms theme. No, It is not related to the magnific popup. It is related to a login redirect they have seup in their theme code. I have helped others fix the issue earlier. I will fix i in 5 minutes and update you .

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 22218
    Brajesh Singh on #5094

    Hi Brian,
    It is fixed now. Please make sure to clear browser cache before testing.

    And here is the problem detail:-

    WPLMS has a code attached to BuddyPress account activation that redirects user. The problem is they do not check if the account is activated during the normal request or ajax request.

    Since they redirect on activation, The ajax registration plugin does not receive expected result and hangs. I had to put this two line in function vibe_redirect_after_registration in wplms/include/actions.php (line 460)

    
    
    		//do not redirect if doing ajax
    		if ( defined('DOING_AJAX') ) {
    			return ;
    		}
    
    

    That fixed it. Please do let me know if it works for you or not?

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 39
    Brandon Tay on #5097
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 22218
    Brajesh Singh on #5101

    Hi Brandon,
    Thank you.

    1. Please point WPLMS theme developer to my above comment. It is a bug in their implementation and they should fix it.

    2. This is by design. Can you please let me know what process do you want the user to follow. The Ajax registration instantly activates the account and that’s why the password email is not sent.

    3. Please add the class ‘bp-ajaxr’ to that link and It wll work.

    4. Please copy the ‘ajax-register-form.php’ file from the plugin to your theme/child theme and update it.

    Hope that helps.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 39
    Brandon Tay on #5126

    Hi Brajesh,

    Due to WPLMS update, the ajax is not working again.

    Please help on this.

    Thanks and Regards

  • Keymaster
    (BuddyDev Team)
    Posts: 22218
    Brajesh Singh on #5127

    Hi Brandon,
    Did you ask WPLMS guys to fix the bug in their theme? I will help you but need to know their response.

You must be logged in to reply to this topic.

This topic is: not resolved