• Resolved Kurisutian

    (@kurisutian)


    Hi!

    I really like the guestbook but I don’t like using recaptcha. Is it possible to use the plugin with the “Are you a human” captcha method?
    Somehow when using recaptcha I check the “I am not a robot” field (which only shows up after a false attempt to send the guestbook entry) but whether it is checked or not, it will not allow me to send an entry to the guestbook. How can I fix this? Thank you!

    https://www.ads-software.com/plugins/gwolle-gb/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hi,

    A captcha, or rather ant-spam question like Ninja Forms is planned.

    About the reCAPTCHA, do you have an url that I can look at?

    Thread Starter Kurisutian

    (@kurisutian)

    Sure, the URL is: https://playground.christoph-pfundt.de/therapiebewertungen/

    I also noticed, that the text of the guestbook says that the fields marked with * are required. The eMail address field seems to be required and still missing the * symbol. Also is there a way to check/uncheck which fields are required? I want to use the guestbook in this case more like a way where people can provide feedback anonymously so I’d like to not even show certain fields.

    Thread Starter Kurisutian

    (@kurisutian)

    Plugin Author Marcel Pol

    (@mpol)

    About the mandatory fields, maybe this topic helps:
    https://www.ads-software.com/support/topic/delete-email-and-website-request?replies=5

    I would hope to have someday a better settings page :).

    Not sure why the asterisk at the emailfield doesn’t show, that’s weird.

    Plugin Author Marcel Pol

    (@mpol)

    Ah, the labels in your form have a color white. That makes it interesting :).

    Thread Starter Kurisutian

    (@kurisutian)

    Ah, I can see that the eMail address will not be published. I will just add this information to the text and this will be fine as well.

    But what about the recaptcha issue? Does the white label also cause this?

    Plugin Author Marcel Pol

    (@mpol)

    The white label is just CSS.

    The only thing I can think of right now is that you already have a reCAPTCHA plugin loaded somewhere. But the wp-spamfield isn’t the plugin that has that.

    Which plugins do you have?

    Also, is reCAPTCHA enabled now? I don’t see it.

    And is it an option to install the SVN version? It works around some reCAPTCHA problems, and shows warnings on the settingspage. If it shows a warning that might give a better idea of what’s going on.

    Plugin Author Marcel Pol

    (@mpol)

    Ah, it’s clear now ??

    You have javascript issues.
    You can check your console, like in Firebug, or the Inspector of your browser. It is throwing errors.
    Through the caching I can’t really see where it is happening, it’s all on one line, so it’s unreadable.

    Thread Starter Kurisutian

    (@kurisutian)

    I don’t have any recaptcha plugin loaded on this site. Only the “AIO Security” plugin and the “Are you a human” plugin.
    reCAPTCHA is enabled. First you don’t see it. Just send the entry and it will appear. This is also part of the whole issue with it.

    The caching is done by cachify if that helps.

    Thread Starter Kurisutian

    (@kurisutian)

    Also, how do you store the date in the database. I need to manually adjust it in order to take over old comments from the previous system. And I don’t really know how the number in the table related to the real date. ??

    Plugin Author Marcel Pol

    (@mpol)

    Well, the problem is in javascript. You want to fix that probably, but it doesn’t seem to be in the guestbook plugin.

    About the data storing, you can look in the /admin/page-editor.php file probably.
    Basically you create a new instance of the gwolle_gb_entry class. Then use setter functions, probably with the $entry->set_data function that you can feed an array with data. Then you run $entry->save() to save the data.
    Ehm, there’s not really a well documented way right now, sorry :). But read the source and you might find it out.
    The fields in the array are listed in the /functions/class_gwolle_gb_entry.php file. You can check the set_data function there.

    Other source file that might be of interest is the page-import page where the same thing happens.

    Thread Starter Kurisutian

    (@kurisutian)

    It seems like I managed to show the captcha on the form by disabling cachify for just this site. However the asterisk symbol for required fields still does not show and recaptcha does allow me to answer the “question” but however submitting the entry still won’t work because of recaptcha. Any ideas?

    Plugin Author Marcel Pol

    (@mpol)

    The label is set to white and to #fff in your css. That is realy part of your theme. You have white text on a white background. Check your inspector.

    About the reCAPTCHA. Something goes wrong in the check after submitting. I’m not sure what it is. I will do some testing, and maybe ask you to test a version.

    Plugin Author Marcel Pol

    (@mpol)

    Hi Kurisutian,

    Can you check which messages you get with the version at https://timelord.nl/tmp/ ?
    It should give messages after submitting an entry like:
    – reCAPTCHA is being loaded by the plugin.
    – Classes exist, do the real check against ReCaptcha service.
    – ReCaptchaResponse Object ( [success] => 1 [errorCodes] => )

    Can you try it and tell me what it says?

    Thread Starter Kurisutian

    (@kurisutian)

    Hi,

    it will give you the following:

    – reCAPTCHA is being loaded by the plugin.
    – Classes exist, do the real check against ReCaptcha service.
    – ReCaptchaResponse Object ( [success] => [errorCodes] => )

    Then it tells you that there were errors during the process of storing the GB entry. It you like to check yourself as well, the URL from above is still the same one. Thanks for your help!

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Support for other captcha method’ is closed to new replies.