This topic has 9 replies, 3 voices, and was last updated 8 years by Radu.

  • Author
  • #129398
     bit2bit
    Participant

    Hi,

    I have imported and customized the Home Register Template. Everything worked fine, but the registration form on this page does not trigger any registrations, it only reloads the page, but nothing else happens.

    Could you please support me resolving this isseu.

    Thank you, kind regards,

    Martin

    #129464
     Laura
    Moderator

    Please update the theme to latest version and the afferent plugins, you can check the plugin update status from wp-admin -> appearance -> install plugins.

    If this is useless please follow these steps to enable wp debug:

    •  Connect to your server by FTP
    • Look in root directory of your WordPress install and open wp-config.php
    • Search for define( ‘WP_DEBUG’, false ); and change FALSE value to TRUE
    COPY CODE
    define( 'WP_DEBUG', true );
    
    •   After this line add this:
    COPY CODE
    define( 'WP_DEBUG_LOG', true );
    

    WP_DEBUG_LOG is a companion to WP_DEBUG that causes all errors to also be saved to a debug.log log file inside the /wp-content/ directory. This is useful if you want to review all notices later or need to view notices generated off-screen (e.g. during an AJAX request or wp-cron run).

    Repeat the described actions and then check the debug.log file and let me know what error appears.

    If this is useless please try to deactivate additional plugins except Visual Composer, K-elements, BuddyPress, Paid memberships pro and revolution slider.

    After you have disabled the plugins try to see if the error persists.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #129954
     bit2bit
    Participant
    This reply has been set as private.
    #129955
     bit2bit
    Participant
    This reply has been set as private.
    #130168
     Laura
    Moderator

    Hello, can you share admin credentials so i can check it out 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #130200
     bit2bit
    Participant

    Hi Laura,

    thank you for your help. After further investigation, I have found out, that the conflicting plugin is Yoast SEO Premium v3.4. After deactivating this plugin, the registration works again with the home-register template.

    I have informed Yoast about the problem, but did not get any answer yet. I will update this thread, as soon I get an answer from them.

    There is one another problem with home-register I have discovered by adding a CAPTCHA. Since the form on this page is unprotected from spammers, I was getting increasing amount of spammer-registration. To prevent that, I have installed the Buddypress Security Plugin v2.1.1, which works just great with the default BP registration page, but does not show up on home-register.

    Is there any way to add CAPTCHA protection there?

    Thank you!
    Kind Regards,

    Martin

    #130309
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #130385
     Radu
    Moderator

    Hi,

    Go to your page that uses the kleo_register shortcode and edit it and make sure you have Allow BuddyPress plugin hook before submit -> YES

    Install this plugin to use captcha http://wordpress.org/plugins/buddypress-recaptcha/

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #130431
     bit2bit
    Participant

    Hi Radu,

    thanks for the advice.

    I have checked – the “Allow BP plugin hook before submit” was set to YES all the time.

    I am not comfortable with using a plugin that haven’t been updated for over 5 years and does not even have a simple admin-page.

    Is there any other way to plug-in the “Buddypress signup form hook” into BP, something like this one … https://code.hyperspatial.com/all-code/buddypress-code/buddypress-signup-form-hook/ ?

    Thx, kind regards,
    Martin

    #130494
     Radu
    Moderator

    Ok, in this case you can try to use this : https://wordpress.org/plugins/wp-recaptcha-bp/

    You can try to copy that code and to paste it into wp-content/themes/kleo-child/functions.php

    COPY CODE
    
    function bph_field_value() {
    echo get_bph_field_value();
    }
    function get_bph_field_value() {
    return apply_filters( 'get_bph_field_value', $_POST['bph_field'] );
    }
    
    function bph_check_validation(){
    global $bp;
    $bph_field_txt = $_POST['bph_field'];
    
    if (empty($bph_field_txt) || $bph_field_txt == '') {
    $bp->signup->errors['bph_field'] = __('This is a required field','buddypress');
    }
    return;
    }
    
    function bph_show_input_field(){?>
    <div style="float:right;width:268px;margin-right:4px;" class="bph_field_container">
    <label>Input Field Name</label>
    <?php do_action( 'bp_bph_field_errors' ) ?>
    <input type="text" name="bph_field" id="bph_field" value="<?php bph_field_value() ?>" /><br />
    
    </div><?php
    }
    
    add_action('bp_signup_validate', 'bph_check_validation');
    add_action('bp_before_registration_submit_buttons', 'bph_show_input_field');
    

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?