Page 1 of 1

Suggestion for RECAPTCHA page

Posted: 01 Mar 2017, 11:31
by webmastergreg
Hi,

thanks a lot for this CSF 10 upgrade, really great new options and ability for the users to unblock themselves.

I've tested it and it works ok, but when the user successfully unblocked, shouldn't he seen a page about "you're now unblocked and could proceed to : "the requested url that blocked him at first" ?

My question/suggestion is to know if we can have a way to propose a translation of index.recaptcha.html ?
And which way is the best to do it ?

My opinion is that we could have a file for each languages :

  • index.recaptcha-en.html
  • index.recaptcha-fr.html
  • etc.
And so the file should be selected regarding the browser's language ?

Best Regards
Greg

Re: Suggestion for RECAPTCHA page

Posted: 01 Mar 2017, 16:05
by ForumAdmin
This would probably be best done using javascript/jquery.

You could construct the page using something like:

Code: Select all

<div id='output'>
[RECAPTCHA_SUCCESS="success"]
[RECAPTCHA_SUCCESS="failure"]
[RECAPTCHA_SUCCESS="error"]
</div>
Then using js/jquery check element id 'output' once the page loads and replace success/failure/error with whatever text you want by your own criteria.

Re: Suggestion for RECAPTCHA page

Posted: 02 Mar 2017, 08:25
by webmastergreg
Ok will try this thanks :)