This topic has 15 replies, 2 voices, and was last updated 5 years by Kieran_SQ.

  • Author
  • #205358
     randrcomputers
    Participant

     

    If i use Kleo login i cannot add logo to the sign-in “pop-up” how can this be done?

    Also how can i add security question to the registration page WITH a correct answer without using plugin? Wanggaurd did this PERFECTLY but dont feel its safe to still use that plugin since its no longer developed

    #205393
     Kieran_SQ
    Moderator

    Hi,

    To add your login to KLEO login / register modal you will need to using the KLEO Child theme. Copy the below file from the parent to the child theme, if the folder structure doesn’t yet exist please create it.

    From
    /themes/kleo/page-parts/general-popups.php

    To
    /themes/kleo-child/page-parts/general-popups.php

    Once you have copied this across you can then edit the general-popups.php file from the child theme.

    Add a new line between the two lines (8-9) shown below and add your custom HTML

    COPY CODE
    <div class="kleo-pop-title-wrap main-color">
                    <h3 class="kleo-pop-title"><?php esc_html_e( "Log in with your credentials", "kleo_framework" ); ?></h3>

    Example

    COPY CODE
    <div class="kleo-pop-title-wrap main-color">
    <img src="path/to/image.png" alt="Acme Inc." height="42" width="142">
                    <h3 class="kleo-pop-title"><?php esc_html_e( "Log in with your credentials", "kleo_framework" ); ?></h3>

    To do this without a plugin will require a large amount of custom code and to be placed in the KLEO Child theme’s functions.php file. Such an amount of specific code would be best hosted in it’s own plugin therefore I would advise finding a simple BuddyPress security question plugin or implement a invisible recaptcha plugin from the WordPress.org plugin repository.

    Thanks,

    Kieran

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

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

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #205414
     randrcomputers
    Participant

    Your code works perfectly for the POPUP but now when i choose the “kleo” login it does work but i get a second full screen login after i sign in with the kleo login! what would be causing that?

    #205415
     Kieran_SQ
    Moderator

    Hi,

    Please post the contents of your edited file here. It’s important to use the code tags before and after the code, you can find them above the reply text area. If you added it exactly as above, from the ticket – and not the email, it’s not possible to change how login works so something else may have changed.

    Thanks,

    Kieran

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

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

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #205417
     randrcomputers
    Participant
    This reply has been set as private.
    #205418
     randrcomputers
    Participant
    This reply has been set as private.
    #205422
     randrcomputers
    Participant

    <!– Modal Login form –>

    <?php do_action( ‘kleo_before_login_form’ ); ?>

    Vpinball.com
    <h3 class=”kleo-pop-title”><?php esc_html_e( “Log in with your credentials”, “kleo_framework” ); ?></h3>

    <?php if ( get_option( ‘users_can_register’ ) ) : ?>

    <p>
    <?php esc_html_e( “or”, ‘kleo_framework’ ); ?>    
    <a href=”<?php if ( function_exists( ‘bp_is_active’ ) ) {
    bp_signup_page();
    } else {
    echo wp_registration_url();
    } ?>” class=”new-account”>
    <?php esc_html_e( “Create an account”, “kleo_framework” ); ?>

    </p>

    <?php endif; ?>

    <?php
    $login_url = site_url( ‘wp-login.php’, ‘login_post’ );
    $redirect = apply_filters( ‘kleo_modal_login_redirect’, ” );

    if ( ! empty( $redirect ) ) {
    $login_url = add_query_arg( ‘redirect_to’, urlencode( $redirect ), $login_url );
    }

    ?>
    <form action=”<?php echo esc_url( $login_url ); ?>” id=”login_form” name=”login_form” method=”post”
    class=”kleo-form-signin”>
    <?php wp_nonce_field( ‘kleo-ajax-login-nonce’, ‘security’ ); ?>
    <input type=”text” id=”username” required name=”log” class=”form-control” value=””
    placeholder=”<?php esc_html_e( “Username”, ‘kleo_framework’ ); ?>”>
    <input type=”password” id=”password” required spellcheck=”false” autocomplete=”off” value=”” name=”pwd” class=”form-control”
    placeholder=”<?php esc_html_e( “Password”, ‘kleo_framework’ ); ?>”>

    <button class=”btn btn-lg btn-default btn-block”
    type=”submit”><?php esc_html_e( “Sign in”, “kleo_framework” ); ?></button>
    <label class=”checkbox pull-left”>
    <input id=”rememberme” name=”rememberme” type=”checkbox”
    value=”forever”> <?php esc_html_e( “Remember me”, “kleo_framework” ); ?>
    </label>
    <a href=”#kleo-lostpass-modal”
    class=”kleo-show-lostpass kleo-other-action pull-right”><?php esc_html_e( ‘Lost your password?’ ); ?>
    <span class=”clearfix”></span>

    <?php
    /* Required by antispam plugins like Google Re-captcha, Invisible Re-Captcha */
    /* Prevent kleo_fb_button to be displayed twice on login pop-up. */
    remove_action( ‘login_form’, ‘kleo_fb_button’, 10 );
    do_action(‘login_form’);
    add_action( ‘login_form’, ‘kleo_fb_button’, 10 );
    ?>
    <?php do_action( ‘kleo_after_login_form’ ); ?>

    </form>

    <!– END Modal Login form –>

    <!– Modal Lost Password form –>

    <h3 class=”kleo-pop-title”><?php esc_html_e( “Forgot your details?”, “kleo_framework” ); ?></h3>

    <?php do_action( ‘kleo_before_lostpass_form’ ); ?>

    <form id=”forgot_form” name=”forgot_form” action=”” method=”post” class=”kleo-form-signin”>
    <?php wp_nonce_field( ‘kleo-ajax-login-nonce’, ‘security-pass’ ); ?>
    <input type=”text” id=”forgot-email” required name=”user_login” class=”form-control”
    placeholder=”<?php esc_html_e( “Username or Email”, ‘kleo_framework’ ); ?>”>

    <button class=”btn btn-lg btn-default btn-block”
    type=”submit”><?php esc_html_e( “Reset Password”, “kleo_framework” ); ?></button>
    <a href=”#kleo-login-modal”
    class=”kleo-show-login kleo-other-action pull-right”><?php esc_html_e( ‘I remember my details’, “kleo_framework” ); ?>
    <span class=”clearfix”></span>
    </form>

    <!– END Modal Lost Password form –>

    <?php if ( get_option( ‘users_can_register’ ) ) : ?>
    <!– Modal Register form –>

    <?php do_action( ‘kleo_before_register_form_modal’ ); ?>

    <h3 class=”kleo-pop-title”><?php esc_html_e( “Create Account”, “kleo_framework” ); ?></h3>

    <form id=”register_form” class=”kleo-form-register”
    action=”<?php if ( function_exists( ‘bp_is_active’ ) ) {
    bp_signup_page();
    } else {
    echo wp_registration_url();
    } ?>” name=”signup_form” method=”post”>

    <?php if ( function_exists( ‘bp_is_active’ ) ) { ?>

    <input type=”text” id=”reg-username” name=”signup_username” class=”form-control”
    required placeholder=”<?php _e( “Username”, ‘kleo_framework’ ); ?>”>
    <input type=”text” id=”fullname” name=”field_1″ class=”form-control” required
    placeholder=”<?php _e( “Your full name”, ‘kleo_framework’ ); ?>”>
    <input type=”text” id=”reg-email” name=”signup_email” class=”form-control” required
    placeholder=”<?php _e( “Your email”, ‘kleo_framework’ ); ?>”>
    <input type=”password” id=”reg-password” name=”signup_password” class=”form-control”
    required placeholder=”<?php _e( “Desired password”, ‘kleo_framework’ ); ?>”>
    <input type=”password” id=”confirm_password” name=”signup_password_confirm”
    class=”form-control” required
    placeholder=”<?php _e( “Confirm password”, ‘kleo_framework’ ); ?>”>

    <input type=”hidden” name=”signup_profile_field_ids” id=”signup_profile_field_ids”
    value=”1″/>
    <?php wp_nonce_field( ‘bp_new_signup’ ); ?>
    <?php } else { ?>

    <input type=”text” id=”reg-username” name=”user_login” class=”form-control” required
    placeholder=”<?php _e( “Username”, ‘kleo_framework’ ); ?>”>
    <input type=”text” id=”reg-email” name=”user_email” class=”form-control” required
    placeholder=”<?php _e( “Your email”, ‘kleo_framework’ ); ?>”>

    <?php } ?>

    <button class=”btn btn-lg btn-default btn-block” name=”signup_submit”
    type=”submit”><?php esc_html_e( “Register”, “kleo_framework” ); ?></button>
    <span class=”clearfix”></span>
    </form>

    <!– END Modal Register form –>
    <?php endif;
    `

    #205423
     Kieran_SQ
    Moderator

    Hi,

    Please can you share access to your site so I can look into this for you. I cannot trigger the login modal from the front-end of your website, it doesn’t look like you’re using the KLEO login/logout menu items in your ‘My Account’ menu.

    Kieran

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

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

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #205425
     randrcomputers
    Participant

    its on dev site:
    wpt.vpinball.com
    the “KLEO” login is far right on top menu
    login i have been use is under “my account” dropdown

    #205426
     Kieran_SQ
    Moderator

    Hi,

    I will still need login credentials to look into this and see the error at hand.

    Kieran

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

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

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #205427
     randrcomputers
    Participant
    This reply has been set as private.
    #205428
     Kieran_SQ
    Moderator

    Hi,

    I can see the issue with being taken to the wp-login.php page, however, I am unable to login using the credentials. Please double check that they are correct. If they are correct then please update the password for the account and share again here.

    Have you installed and plugins in the last 48hrs? If so please try disabling these, purge all caches and see if that resolves the issue.

    Kieran

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

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

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #205429
     randrcomputers
    Participant
    This reply has been set as private.
    #205433
     Kieran_SQ
    Moderator

    Hi,

    I have logged into your site and checked the login process with the KLEO parent theme active. You’re getting the same issue with the parent active therefore it is not the child theme change that is causing the issue.

    I have tested login on the demo, locally and on another live site and it is working as expected therefore I think this is a plugin issue.

    Please disable all plugins except for BuddyPress, K Elements and WP Bakery, purge your website cache, CDN and browser cache (Ctrl+F5) and test is a new Google Chrome Incognito window (or other browser private mode).

    The most likely culprits for issues like this are security plugins.

    Kieran

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

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

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    #205435
     randrcomputers
    Participant

    I run no cache, only security i run is wordfence and wp-spamshield on live site but will try disabling some plugins on dev site for test. thank so much for looking

    #205436
     Kieran_SQ
    Moderator

    Hi,

    You’re welcome. Don’t forget to try disabling them all, either one by one, or all at once – whichever suits. I would recommend starting with WordFence on the dev site to see if this is plugin causing it.

    All the best,

    Kieran

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

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

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

Viewing 16 posts - 1 through 16 (of 16 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?