Support » Plugin: JP User Registration Blacklist » Math test fails

  • Resolved wayupnorthguy

    (@wayupnorthguy)


    Installed and activated the JP User Registration Blacklist plugin. I now get the additional math test field when attempting to register a new user but the math test always fails. I’ve changed the random seed, math field response and form-field name. I see the response message change when attempting to verify the registration (so the update from the dashboard plugin settings is working) but the math always fails. I have no other plugins active. I am running the tempura theme.

    https://wordpress.org/plugins/jp-user-registration-blacklist/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Justin Parr

    (@5x5m2bswv2)

    What is your website? I’d like to take a look at it running?

    Thanks in advance,

    -JP

    Thread Starter wayupnorthguy

    (@wayupnorthguy)

    Justin,

    I may have got it working but now I need to debug it. The only change I made was to change the “form field name for math problem” from something really obscure that had an @ sign in it to something less so without.

    Here
    http://www.fitzpatricks.us

    Plugin Author Justin Parr

    (@5x5m2bswv2)

    WOW, not sure why it had an @ sign, but YES, that would cause problems!

    Perhaps I should add this to the installation instructions?

    What are your thoughts?

    Thanks in advance,

    -JP

    Thread Starter wayupnorthguy

    (@wayupnorthguy)

    Some detail about the limits/requirements on seeds and form field variables would be helpful. Especially for the non-coder types like me…
    Cheers…!!

    Plugin Author Justin Parr

    (@5x5m2bswv2)

    Thanks for the link to your site – NICE coat of arms!!!

    I validated that the math problem works as expected. Not sure how the @ sign got in to the field name, but YES, that would cause issues. I’ll keep my ear to the ground to see if others have this issue as well.

    Thanks for bringing this to my attention.

    -JP

    Plugin Author Justin Parr

    (@5x5m2bswv2)

    > Some detail about the limits/requirements on seeds and form field variables would be helpful.

    No worries!!

    Seed: Basically, any 4 digit number you want. The seed is used to mask the answer, so it can’t be scraped from the HTML. This allows stateless operation 🙂 E.g. if your seed is 100, and the math problem’s answer is “123”, then it will add the seed value of 100 to the answer, 223. When you submit 123 as your answer, it will subtract the seed value from the hidden answer field, 223, and compare your result.

    Form field variable: Any combination of letters is safe. This is to prevent hackers from looking at the “MathAnswer” field, or similar. Instead, I call it “fred123” or “whatever999” or “some44thing”. Everyone’s website will have a different field name, preventing automated attacks.

    Please let me know if this is helpful, or if you would like any additional information. Happy to help if I can!!

    -JP

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Math test fails’ is closed to new replies.