WordPress.org

Forums

Slider CAPTCHA
[resolved] Dont work my search (3 posts)

  1. OniX777
    Member
    Posted 1 year ago #

    I put a captcha before button "submit" in my search form using:

    if(function_exists('slider_captcha'))
    slider_captcha();

    Button "submit" is locked until a CAPTCHA is not unlocked, that's all good.

    But after I enter a query in my search form, unblock captcha and press submit button, then my query seeks nothing.

    In the query string appear captcha parameters, probably why my search did not give anything.

    How to solve this problem?

    https://wordpress.org/plugins/slider-captcha/

  2. Henrique Mouta
    Member
    Plugin Author

    Posted 1 year ago #

    Hey there,
    We are going to look at your problem and think out of a solution :)

    Thanks for using Slider CAPTCHA,
    Henrique

  3. Henrique Mouta
    Member
    Plugin Author

    Posted 1 year ago #

    Hey!
    We are not going to support the Search field to Slider CAPTCHA. The main reason is that the search is a GET Query param, so it is easy to bypass the captcha.

    Yet, if you really want to use the Slider on the search, use this code (this will disable the high validation method):

    if(function_exists('slider_captcha'))
    	slider_captcha( 'search', 'p', array( 'events' => array( 'validateOnServer' => 0, 'highValidationOnServer' => 0 ) ) );

    Hopefully, this will prevent the search query string to be polluted with useless validation queries.

    Henrique

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Slider CAPTCHA
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.