• Resolved vinceger

    (@vinceger)


    Sorry to bother you again Dani but I have two more questions.

    – Where can I change the Mandatory because when I try to use the option in the menu it will go back blank after save one of these options. is this also done in the Backup/Restore function, if so – where exactly ?

    – Is it possible to change the text “Incorrect-captcha-sol”, that pops up in red, in something else ?

    Thank’s again !

    http://wordpress.org/extend/plugins/dmsguestbook/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author danielschurter

    (@danielschurter)

    Hi, check dmsguestbook.php for $error5. That’s including “incorrect-captcha-sol” message when a captcha went wrong.

    Greetings,
    Dani

    Thread Starter vinceger

    (@vinceger)

    Dani,

    Tried this already but does not work, if I change the text it will pop up immediately wen accessing the page, then when I type the wrong code “incorrect-captcha-sol” pops up again. When I change the tex in the recaptchalib.php it doesn’t work either.

    Did you find a solution for changing the Mandatory and Backup/Restore function ?

    Plugin Author danielschurter

    (@danielschurter)

    Hi vinceger,

    Did you installed an external reCAPTCHA WordPress plugin? DMSGuestbook is looking for an installed “recaptchalib.php”, otherwise it will using the DMSGuestbook reCAPTCHA library.

    Did you find a solution for changing the Mandatory and Backup/Restore function ?

    Maybe your ISP has installed PHP-Suhosin patch on server where you WordPress runs. Suhosin patch allows to define how many POST/GET calls are allowed. Maybe that could be a problem…

    You can create me a WordPress admin account and I will check your environment asap. Please send the credentials to DMSGuestbook [ at ] DanielSchurter {dot} Net.

    Greetings,
    Dani

    Hi DanielSchurter!
    I like your plugin, love the level of customisation there.

    But I got the same issue as the topicstarter, “incorrect-captcha-sol” displayed instead of “language_error_anispam”. I’ve looked briefly through your code, but couldn’t make it display the right error message.

    Also, just not to start a new topic, in the Russian translation there’s a few mistakes.
    Here’re fixed versions of fields with mistakes with comments:

    <antispam><b>Защита от спама</b>
    Введите пожалуйста комбинации букв или цифр в текстовое поле перед отправкой записи в гостевую книгу</antispam>
    —In the original there’s “Вводите” instead of “Введите”, grammatical mistake

    <submit>Отправить</submit>
    —“Записать” isn’t quite a right word, it’s more like “write” than “send” or “submit” which is “Отправить”

    <admin_review>Администратор сайта проверяет эту запись!
    Спасибо за терпение!</admin_review>
    —“терпения”, a grammatically incorrect plural form used instead of “терпение”.

    Plugin Author danielschurter

    (@danielschurter)

    Hi vokabre

    “incorrect-captcha-sol” is the error message from the external reCAPTCHA plugin. You can find this message in recaptchalib.php (line 168) on “../plugins/dmsguestbook/recaptcha/” if you want to change it.

    I’m not the writer of the russian translation. Please send your feedback to author directly, you will find his contact on the language file.

    Dani

    Thanks for the fast reply!

    I’ve tried changing the line 168, but it didn’t work.
    Please excuse my nobbless in the land of code, but I played with the plugin a little bit more, and managed to make it display the text provided by changing line 189 instead.
    from
    $recaptcha_response->error = $answers [1];
    to something like
    $recaptcha_response->error = 'here be dragons';

    Still, I couldn’t make the plugin to display lang_ antispam_error, and also there’s no error message (or success message, fortunately) for an empty recaptcha sent. Not a big issues, but still, those are there.

    I directed my thoughts to the author of the translation, thanks for recommending me to contact him directly.

    Hi again! I got in touch with an author of the original Russian translation. He said that he’s no longer using the plugin and he’s fine with me fixing the translation. As I’m not sure how to push the new translation into the plugin, here’s a link to that russian.txt with fixes: http://vokabre.com/share/russian2.txt Feel free to add this one to new revisions.

    Plugin Author danielschurter

    (@danielschurter)

    Hi vokabre

    Thanks a lot, I will distribute it with the next version of DMSGuestbook.

    Greetings,
    Dani

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Mandatory and Incorrect-captcha-sol’ is closed to new replies.