Thanks,
Zy
With no other plugins installed, this plugin returns an error:
Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.) in /Users/me/Sites/sandbox/wp-includes/functions.php on line 4139
Warning: Cannot modify header information - headers already sent by (output started at /Users/me/Sites/sandbox/wp-includes/functions.php:4139) in /Users/me/Sites/sandbox/wp-includes/pluggable.php on line 1210
Hello I would like to execute jQuery code after successful login.
Is there something I can make use of? For example like so?
jQuery(document).on(‘lwa_login’, function(event, data, form){
if(data.result === true){
//do something
}…
Hello when I open the js file in my text editor (brackets) I get a ton of js problems
”
1 Expected ‘jQuery’ at column 1, not column 5. jQuery(document).ready(function(){
1 ‘jQuery’ was used before it was defined. jQuery(document).ready(function(){
1 Expected exactly one space between ‘function’ and ‘(‘. jQuery(document).ready(function(){
1 Expected exactly one space between ‘)’ and ‘{‘. jQuery(document).ready(function(){
1 Missing space between ‘)’ and ‘{‘. jQuery(document).ready(function(){
2 Missing ‘use strict’ statement. jQuery(‘#Clogin’).submit(function(e){
2 Expected ‘jQuery’ at column 5, not column 9. jQuery(‘#Clogin’).submit(function(e){
2 Expected exactly one space between ‘function’ and ‘(‘. jQuery(‘#Clogin’).submit(function(e){
2 Expected exactly one space between ‘)’ and ‘{‘. jQuery(‘#Clogin’).submit(function(e){
2 Missing space between ‘)’ and ‘{‘. jQuery(‘#Clogin’).submit(function(e){
3 Expected ‘jQuery’ at column 9, not column 13. jQuery(‘#subimg’).hide();
4 Expected ‘jQuery’ at column 9, not column 13. jQuery(‘#loader’).addClass(‘loader’);
5 Expected ‘jQuery’ at column 9, not column 13. jQuery(‘#CLMsg’).html(”);
6 Expected ‘jQuery’ at column 9, not column 13. jQuery(‘#CLMsg’).removeClass();
7 Expected ‘jQuery’ at column 9, not column 13. jQuery(‘#CLMsg’).hide();
8 Expected ‘var’ at column 9, not column 13. var redUrl = jQuery(‘#CRediUrl’).val();
9 Expected ‘var’ at column 9, not column 13. var user = jQuery(‘#Cusername’).val();
9 Combine this with the previous ‘var’ statement. var user = jQuery(‘#Cusername’).val();
10 Expected ‘var’ at column 9, not column 13. var pass = jQuery(‘#Cpassword’).val();
10 Combine this with the previous ‘var’ statement. var pass = jQuery(‘#Cpassword’).val();
11 Expected ‘var’ at column 9, not column 13. var security = jQuery(‘#security’).val();
11 Combine this with the previous ‘var’ statement. var security = jQuery(‘#security’).val();
12 Expected ‘var’ at column 9, not column 13. var rem = jQuery(‘#CRemember’).is(“:checked”);
12 Combine this with the previous ‘var’ statement. var rem = jQuery(‘#CRemember’).is(“:checked”);
13 Expected ‘var’ at column 9, not column 13. var err = ”;
13 Combine this with the previous ‘var’ statement. var err = ”;
14 Expected ‘if’ at column 9, not column 13. if(user == ”)
14 Expected exactly one space between ‘if’ and ‘(‘. if(user == ”)
14 Expected ‘===’ and instead saw ‘==’. if(user == ”)
15 Expected exactly one space between ‘)’ and ‘err’. err += ‘Username field is required.<br>’;
15 Expected ‘{‘ and instead saw ‘err’. err += ‘Username field is required.<br>’;
15 Expected ‘err’ at column 9, not column 17. err += ‘Username field is required.<br>’;
16 Expected ‘if’ at column 9, not column 13. if(pass == ”)
16 Expected exactly one space between ‘if’ and ‘(‘. if(pass == ”)
16 Expected ‘===’ and instead saw ‘==’. if(pass == ”)
17 Expected exactly one space between ‘)’ and ‘err’. err += ‘Password field is required.<br>’;
17 Expected ‘{‘ and instead saw ‘err’. err += ‘Password field is required.<br>’;
17 Expected ‘err’ at column 9, not column 17. err += ‘Password field is required.<br>’;
18 Expected ‘if’ at column 9, not column 13. if(err != ”)
18 Expected exactly one space between ‘if’ and ‘(‘. if(err != ”)
18 Expected ‘!==’ and instead saw ‘!=’. if(err != ”)
19 Expected exactly one space between ‘)’ and ‘{‘. {
21 Unexpected ‘(space)’. jQuery(‘#subimg’).show();
22 Missing space between ‘,’ and ‘CError’. jQuery(‘#CLMsg’).attr(‘class’,’CError’);
23 Missing space between ‘,’ and ‘block’. jQuery(‘#CLMsg’).css(‘display’,’block’);
27 Expected exactly one space between ‘}’ and ‘else’. else
28 Expected exactly one space between ‘else’ and ‘{‘. {
30 ‘wlwa_ajax_login’ was used before it was defined. url: wlwa_ajax_login.ajaxurl,
34 Missing space between ‘:’ and ‘{‘. data:{action : ‘wlwa-ALogin’,Cusername:user,Cpassword:pass,CRemember:rem,redUrl:redUrl,security:security},
34 Missing space between ‘,’ and ‘Cusername’. data:{action : ‘wlwa-ALogin’,Cusername:user,Cpassword:pass,CRemember:rem,redUrl:redUrl,security:security},
34 Too many errors. (51% scanned). data:{action : ‘wlwa-ALogin’,Cusername:user,Cpassword:pass,CRemember:rem,redUrl:redUrl,security:security},”
Hi.
So I use custom login url to prevent brute force so it is something like
https://www.mysite.com/customlogin but when i try to reset password in email is included https://www.mysite.com/wp-login.php and not my real url https://www.mysite.com/customlogin so I got website not found message and Reset password link is useless like that.
When i try default wordpress password reset it work but when i tried through Login with ajax widget not
I have a web site robust integrations with many, many hours of work and today I feel frustrated.
The theme listable recommends using Login with Ajax plugin Wp, I have it installed. but no longer, I have no idea how to solve.
1. if a user requires recover your password – never succeeds.
2. if a user is registered, the user will never receive your password, only to awful wordpress mail is supposed to retrieve the password, but that does not work.
The website is ready to become a good marketplace and can not sell any product that detail.
I have installed many plugins WooCommerce but only for e-commerce, do not interfere with Wp Login with Ajax.
Honestly they no longer do, or how to fix it .. Please some help
]]>