-
Author
-
November 22, 2017 at 19:14 #180659
flavianodelgado
ParticipantHello,
I was doing a test today to release the site and I noticed that if someone tries to sign in with an account that has not yet been activated it appears to him to resend the confirmation email (pic 1). By clicking on the link provided, it takes you to a wordpress login page (pic 2). Do you know where I can change this targeting?
Note: I found something in the PHP code, but even changing wp-login.php it was not possible to change the redirection (pic 3)
November 23, 2017 at 03:52 #180715Laura
ModeratorHello, 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 solutionNovember 23, 2017 at 17:18 #180779Radu
ModeratorHi,
You want to change the link under the text “click aqui para reenviar” ?
Cheer
sR.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 24, 2017 at 00:22 #180843flavianodelgado
ParticipantYes. This link redirects the user to the login page in wordpress. I want to change this redirect
November 24, 2017 at 18:29 #180918Radu
ModeratorHi,
Can you please provide to me the html of that page with that message generated ?
Or give a account to me while try to login you receive that error, i need to see that to can find from where you can edit that.Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 24, 2017 at 20:26 #180934flavianodelgado
ParticipantWe’ve already put the site up, there’s no more page blocker. Log in to the site and register for an account. When registering does not confirm the account with the link received in the email, try to log in with the registered credentials. When you try to login without confirming, it will appear the message asking you to resend the confirmation link. By clicking on “resend confirmation” you are directed to wp-login.php
November 24, 2017 at 20:30 #180938flavianodelgado
Participant(File – login-form.php)
—————————————//—————————————-
<?php
if ( ! isset( $style ) ) {
$style = ‘light’;
}
$style = $style . ‘-login’;if ( ! isset( $before_input ) ) {
$before_input = ”;
}
?>“> <!–add .dark-login for the dark version–><?php do_action( ‘kleo_before_login_form’ );?><h3 class=”kleo-pop-title”><?php esc_html_e( “Log in with your credentials”, “buddyapp” ); ?></h3><?php if ( $before_input != ” ) { ?>
<p><?php echo wp_kses_post($before_input); ?></p><?php } ?>
<form action=”<?php echo wp_login_url( apply_filters( ‘kleo_modal_login_redirect’, home_url(‘wp-login.php’) ) ); ?>” name=”login_form” method=”post” class=”sq-login-form kleo-form-signin”>
<?php wp_nonce_field( ‘kleo-ajax-login-nonce’, ‘security-login’ ); ?><span class=”login-input-wrapper”>
<input type=”text” class=”form-control login-field username” required name=”log” value=””>
<label class=”login-label”>
<span class=”login-label-content”><?php esc_html_e( “Username”, ‘buddyapp’ );?></span>
</label>
</span><span class=”login-input-wrapper”>
<input type=”password” class=”form-control login-field” required name=”pwd” value=””>
<label class=”login-label”>
<span class=”login-label-content”><?php esc_html_e( “Password”, ‘buddyapp’ );?></span>
</label>
</span><?php
/* Small tweak to make sure we don’t render the FB button twice */
remove_action( ‘login_form’, ‘kleo_fb_button’, 10 );do_action( ‘login_form’ );
add_action( ‘login_form’, ‘kleo_fb_button’, 10 );
?><button class=”btn btn-lg btn-default btn-block login-button” type=”submit”><?php esc_html_e( “Sign in”, “buddyapp” ); ?></button>
<input name=”rememberme” type=”checkbox” value=”forever”>
<label></label>
<span><?php esc_html_e( “Remember me”, “buddyapp” ); ?></span>
<?php esc_html_e( ‘Lost your password?’, ‘buddyapp’ );?><span class=”clearfix”></span>
<?php do_action(‘kleo_after_login_form’);?>
</form>
<?php if( get_option( ‘users_can_register’ ) ) : ?>
<?php esc_html_e( “Don’t have an account yet?”, “buddyapp”); ?>
” class=”new-account”>
<?php esc_html_e( “Create an account”, “buddyapp” ); ?>
<?php endif; ?>
—————————————-//—————————————
Problem found in line 29November 24, 2017 at 20:44 #180941flavianodelgado
ParticipantI sent wrong, the other
Now it’s right!————————————-//——————————————–
<?php
if ( ! isset( $style ) ) {
$style = ‘light’;
}
$style = $style . ‘-login’;if ( ! isset( $before_input ) ) {
$before_input = ”;
}
?>“> <!–add .dark-login for the dark version–><?php do_action( ‘kleo_before_login_form’ );?><h3 class=”kleo-pop-title”><?php esc_html_e( “Log in with your credentials”, “buddyapp” ); ?></h3><?php if ( $before_input != ” ) { ?>
<p><?php echo wp_kses_post($before_input); ?></p><?php } ?>
<form action=”<?php echo wp_login_url( apply_filters( ‘kleo_modal_login_redirect’, home_url(‘wp-login.php’) ) ); ?>” name=”login_form” method=”post” class=”sq-login-form kleo-form-signin”>
<?php wp_nonce_field( ‘kleo-ajax-login-nonce’, ‘security-login’ ); ?><span class=”login-input-wrapper”>
<input type=”text” class=”form-control login-field username” required name=”log” value=””>
<label class=”login-label”>
<span class=”login-label-content”><?php esc_html_e( “Username”, ‘buddyapp’ );?></span>
</label>
</span><span class=”login-input-wrapper”>
<input type=”password” class=”form-control login-field” required name=”pwd” value=””>
<label class=”login-label”>
<span class=”login-label-content”><?php esc_html_e( “Password”, ‘buddyapp’ );?></span>
</label>
</span><?php
/* Small tweak to make sure we don’t render the FB button twice */
remove_action( ‘login_form’, ‘kleo_fb_button’, 10 );do_action( ‘login_form’ );
add_action( ‘login_form’, ‘kleo_fb_button’, 10 );
?><button class=”btn btn-lg btn-default btn-block login-button” type=”submit”><?php esc_html_e( “Sign in”, “buddyapp” ); ?></button>
<input name=”rememberme” type=”checkbox” value=”forever”>
<label></label>
<span><?php esc_html_e( “Remember me”, “buddyapp” ); ?></span>
<?php esc_html_e( ‘Lost your password?’, ‘buddyapp’ );?><span class=”clearfix”></span>
<?php do_action(‘kleo_after_login_form’);?>
</form>
<?php if( get_option( ‘users_can_register’ ) ) : ?>
<?php esc_html_e( “Don’t have an account yet?”, “buddyapp”); ?>
” class=”new-account”>
<?php esc_html_e( “Create an account”, “buddyapp” ); ?>
<?php endif; ?>
November 24, 2017 at 20:55 #180946flavianodelgado
ParticipantIgnore all that I have sent you. Both were wrong.
Follow the link to download the .php from the page in question:
https://mega.nz/#!g4kVUS6A!F9pjfd6YiSy4IsKhRdmEqNNGT1qqRJMeKQiAo8dNIMo
November 27, 2017 at 15:39 #181201Radu
ModeratorHi,
I just need the HTML generated not the file itself, see the example below to see what i mean

Let me know
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 28, 2017 at 19:13 #181359flavianodelgado
ParticipantYes,sorry.
I didn’t understand.See below!
November 29, 2017 at 17:24 #181455Radu
ModeratorHi,
Cannot find auick solution for this it seems the message with that text comes directly from the wordpress core please ask this on wordpress support forums.
Also you can try the next (i don’t know if will works i haven’t tested it’s just an idea that could work ) you can search in loco translate for that works and to change what you need there
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.