BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on in reply to: Ajax Registration plugin #1036

    Hi Brajesh.
    Ok, no worries, I will have to work around this. Please help with another issue: When a new user registers and misses out a required field, the form doesnt reload, so the error message “user name requires 4 digits” (for example) remains and the captcha code dissapears. Any ideas please?
    John.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on in reply to: Ajax Registration plugin #1014

    Hi Brajesh.
    I discovered it is a theme issue. The link on the home page to the registration page works well with the class bp-ajaxr, when assigned to the href tag. However my Sweetdate theme has a sign up button on every page on the top right, which opens another pop up modal page to create an account. You type a username, password etc, then click The “create my account” button, which goes to the registration page (remembering the user name and password I just created). This button is not surrounded by an href tag, but is part of a php loop that calls the registration page from the wp-log in file, I think – I couldnt find an href tag anywhere for this. for now I did a work around by putting the href tag around the “create my account” button to force open the registration page with the class=”bp-ajaxr” tag inside it. This opens the new ajax form well, but doesnt remember the user name/ password I just typed. Is there a simple solution to this? Or is this not possible please?

    John Hollingsworth

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on in reply to: Ajax Registration plugin #1006

    Thank you Brajesh for the prompt reply. Forgive my ignorance, I am only classed as a beginner in this whole area of coding, as I am a CSS/ HTML designer. i am afraid i need things to be spelt out at this stage. Please can you tell me where and what is the anchor element?
    Thanks you again.
    John.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on in reply to: Ajax Registration plugin #1003

    Hi again.
    This was sorted by adding the bp-ajaxr from the main register button on my home page, many thanks. Now to enable the default sign up button (which goes to a create my account pop up page) to go to the ajax form, I added “bp-signup” class to the parent link, but didnt work. I dont know if I added it correctly in the code below (forgive my lack of experience):

    <form id=”register_form” action=”<?php if (function_exists(‘bp_is_active’)) bp_signup_page(); else echo get_bloginfo(‘url’).”/wp-login.php?action=register”; ?>” name=”register_form” method=”post” class=”bp-signup”>
    <div class=”six columns”>
    <input type=”text” id=”reg-username” name=”signup_username” class=”inputbox” required placeholder=”<?php _e(“Username”, ‘kleo_framework’);?>”>
    </div>

    Please advise. Thank you
    John.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on in reply to: Ajax Registration plugin #1002

    Yep. Perfect. Worked like a dream. Thank you again for your great help! Awesome.
    John.

  • Participant
    Level: Initiated
    Posts: 16
    John Hollingsworth on in reply to: Ajax Registration plugin #992

    Thank you Brajesh. You are truly a awesome developer, it loads now and the capcha is there again. Two problems solved. Regarding the cool registration form. It is a pop-up, not a page, so how do I direct people to this pop on my “join us today” button please? Currently it is set to open the registration page.
    Thankyou.

    John.