Replies
Login error message is still not showing I can’t still to get Login Error messages on the new custom page template
I was able to edit the login.php template in my child theme but I still don’t know how to enable the remember me to be checked by default
Thanks
Hello,
This code below worked for the redirect but the login errors still do not show
/** * Redirect failed login attempts to custom login page */ add_action( 'wp_login_failed', 'pippin_login_fail' ); // hook failed login function pippin_login_fail( $username ) { $referrer = $_SERVER['HTTP_REFERER']; // where did the post submission come from? // if there's a valid referrer, and it's not the default log-in screen if ( !empty($referrer) && !strstr($referrer,'wp-login') && !strstr($referrer,'wp-admin') ) { wp_redirect(get_permalink( 28880 ) . '?login=failed' ); // let's append some information (login=failed) to the URL for the theme to use exit; } }
I was wondering if there is a code I can add directly to the login.php file to display its own login error message. e.g code to display (login failed: Invalid email or password)
- Tosin on May 10, 2019 at 10:20 am in reply to: [Resolved] Buddycommerce missing tabs for membership and subscription #22929
Awesome work!
I have updated the plugin and it works perfectly
Thank you very much
- Tosin on May 8, 2019 at 11:53 am in reply to: [Resolved] Buddycommerce missing tabs for membership and subscription #22884
Please don’t forget about the email synchronization
Thanks
- Tosin on May 8, 2019 at 11:41 am in reply to: [Resolved] Buddycommerce missing tabs for membership and subscription #22883This reply has been marked as private.
- Tosin on May 7, 2019 at 3:29 pm in reply to: [Resolved] Buddycommerce missing tabs for membership and subscription #22866
Awesome will be expecting your update
Thanks
I tried this but did not work in bp-custom.php
add_filter( 'bp_email_set_reply_to', function( $retval ) { return new BP_Email_Recipient( 'noreply@nigerpress.com' ); } );
- Tosin on April 24, 2019 at 11:07 am in reply to: [Resolved] Activity confirm action support for confirm bp action plugin #22557
Hello,
It is working now I tried to re-save the bp-confirm-actions settings page twice and now it’s working perfectly, also i’m not so sure but I think caching was part of the problem.
Thank you so much for your patience and assistance, i’m very grateful
- Tosin on April 24, 2019 at 10:57 am in reply to: [Resolved] Activity confirm action support for confirm bp action plugin #22553
This is the code im my bp-custom.php file
function bpdelete_remove_activity_delete_text(){ $url = bp_get_activity_delete_url(); $class = 'delete-activity'; $link = '<a href="' . esc_url( $url ) . '" class="button item-button bp-secondary-action delete-activity confirm no-ajaxy fas fa-trash-alt" rel="nofollow">' . __( '', 'buddypress' ) . '</a>'; return $link; } add_filter('bp_get_activity_delete_link', 'bpdelete_remove_activity_delete_text', 9 );