• Resolved javied

    (@javied)


    Hello,

    I have enable the login brute force options ,also set the login limit and block username etc setting. For login I have custom Ajax login function with ajax loader in my custom plugin.Which shows the error messages in sticky div. Now my concern is how to show the error generating by AIOWPS plugin like : ERROR: Access from your IP address has been blocked for security reasons. Please contact the administrator. to my login form

    Also ajax Loader not disappearing and not showing the error messages generated by your plugin.

    Kindly help me to resolve this

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi,

    We currently have the following function to customize the IP blocked error message. Perhaps this filter can help you with your issue.

    add_filter('aiowps_ip_blocked_error_msg', 'my_custom_message');
    function my_custom_message($error_msg) { 
    return 'My custom error message!'; 
    }

    Kind regards

    • This reply was modified 3 years, 5 months ago by mbrsolution.
    Thread Starter javied

    (@javied)

    Thank you, But how to check in my ajax login function if use IP is blocked or not.
    Let me know plesae

    Plugin Contributor mbrsolution

    (@mbrsolution)

    Unfortunately that is beyond the scope of this free support forum.

    Regards

    Thread Starter javied

    (@javied)

    Thank you. let me know the function name which should I call in my login function please. it’s urgent

    Plugin Contributor mbrsolution

    (@mbrsolution)

    I have submitted a message to the plugin developers to investigate further your request.

    Thank you

    Thread Starter javied

    (@javied)

    Hello
    Any update?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to Add the error messages to my login ajax response’ is closed to new replies.