ReCAPTCHA library - ignited |
[eluser]csablotron[/eluser]
![]() finally i embed [removed] var RecaptchaOptions = { theme:"<?= $theme ?>", lang:"<?= $lang ?>" }; [removed] [removed][removed] <noscript> <iframe src="<?= $server ?>/noscript?lang=<?= $lang ?>&k=<?= $key.$errorpart ?>" height="300" width="500" frameborder="0"></iframe><br/> <textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea> <input type="hidden" name="recaptcha_response_field" value="manual_challenge"/> </noscript> <?php // echo $recaptcha; ?> <br /> on my view... and recaptcha working hehehe... great Thanks JayTee for your library...
[eluser]fran-quero[/eluser]
Hello. JayTee, thank you very much for your work. It´s great to come to CI for first time and find it filled with usefull libraries. I´ve installed reCaptcha, but I can´t make it work. My problem is the last step. The captcha form loads well, it´s validated when is blank, but when it´s filled it never validates, even if the 2 words are correct I always have the Incorrect Security Image Response. A very important detail that I am embarrased for, is that the demo works perfect ![]() But I have compare every line, I have read all the post from this thread, I have spent about 3 hours, and as the great Homer Simpson said: 'It´s my first day'. Please, give me a light. Here´s my code: Controller Code: function create_user() Thanks in advance for your help.
[eluser]JayTee[/eluser]
I'll take a look this evening and let you know what I find.
[eluser]inverse.chi[/eluser]
I am getting exactly the same problem. Dragged the files into a fresh CI 2.0 installation and am not able to validate even when the correct text is entered. Any luck? [quote author="fran-quero" date="1298090051"]Hello. JayTee, thank you very much for your work. It´s great to come to CI for first time and find it filled with usefull libraries. I´ve installed reCaptcha, but I can´t make it work. My problem is the last step. The captcha form loads well, it´s validated when is blank, but when it´s filled it never validates, even if the 2 words are correct I always have the Incorrect Security Image Response. A very important detail that I am embarrased for, is that the demo works perfect ![]() But I have compare every line, I have read all the post from this thread, I have spent about 3 hours, and as the great Homer Simpson said: 'It´s my first day'. Please, give me a light. Here´s my code: Controller Code: function create_user() Thanks in advance for your help.[/quote]
[eluser]SteRiley[/eluser]
[quote author="ahmad karim" date="1296439136"]the class is not working any more for CI 2.0 please help? error msg: An Error Was Encountered Unable to load the requested file: recaptcha.php[/quote] I have attempted to implement the recaptcha code also into CI2.0 and I am also getting the same error as Ahmad. Anyone have a fix for this yet? I am currently using the old implementation used here: http://ellislab.com/forums/viewthread/94299/ this is working fine for me at the moment, but would like to switch to this new version.
[eluser]Lit_Tiger[/eluser]
Hi, I have created reCAPTCHA library for CI, converted from original plugin. It's work for mail hide too. Should I post it here?
[eluser]inverse.chi[/eluser]
You could do ![]() [quote author="Lit_Tiger" date="1299242377"]Hi, I have created reCAPTCHA library for CI, converted from original plugin. It's work for mail hide too. Should I post it here?[/quote]
[eluser]Lit_Tiger[/eluser]
Ok, here it's my one. You can download under following link. http://www.thetechspace.com/?download=re...ci-library Firstly, you have to move Recaptcha.php file into CI file structure system/application/libraries/ Load that library - Code: $this->load->library('recaptcha'); Set the keys - Code: // Get a key from https://www.google.com/recaptcha/admin/create To set the keys To Show reCAPTCHA image and from. You just simply need to call recaptcha_get_html () function. In that function you can define theme and language of reCAPTCHA (Customization). The function builded like - Code: recaptcha_get_html ( $error = null, $use_ssl = false, $options = array ('theme' => 'red', 'lang' => 'en') ) So,You just simply need to call like - Code: $options = array ('theme' => 'clean', 'lang' => 'fr') ; To check the answer from client Code: $resp = $this->recaptcha->recaptcha_check_answer ( For mail hide To use mail hide function, set mail hide api keys - Code: // Get a key from https://www.google.com/recaptcha/admin/create The Mailhide version of [email protected] is Code: echo $this->recaptcha->recaptcha_mailhide_html ("[email protected]"); The url for the email is: Code: echo $this->recaptcha->recaptcha_mailhide_url ("[email protected]"); That it's! I hope it's help for somebody.
[eluser]inverse.chi[/eluser]
Thank you ![]() ![]() [quote author="Lit_Tiger" date="1299257508"]Ok, here it's my one. You can download under following link. http://www.thetechspace.com/?download=re...ci-library Firstly, you have to move Recaptcha.php file into CI file structure system/application/libraries/ Load that library - Code: $this->load->library('recaptcha'); Set the keys - Code: // Get a key from https://www.google.com/recaptcha/admin/create To set the keys To Show reCAPTCHA image and from. You just simply need to call recaptcha_get_html () function. In that function you can define theme and language of reCAPTCHA (Customization). The function builded like - Code: recaptcha_get_html ( $error = null, $use_ssl = false, $options = array ('theme' => 'red', 'lang' => 'en') ) So,You just simply need to call like - Code: $options = array ('theme' => 'clean', 'lang' => 'fr') ; To check the answer from client Code: $resp = $this->recaptcha->recaptcha_check_answer ( $this->input->ip_address(), $this->input->post('recaptcha_challenge_field',true), $this->input->post('recaptcha_challenge_field',true)); For mail hide To use mail hide function, set mail hide api keys - Code: // Get a key from https://www.google.com/recaptcha/admin/create The Mailhide version of [email protected] is Code: echo $this->recaptcha->recaptcha_mailhide_html ("[email protected]"); The url for the email is: Code: echo $this->recaptcha->recaptcha_mailhide_url ("[email protected]"); That it's! I hope it's help for somebody.[/quote]
[eluser]Unknown[/eluser]
So what were the official responses to http://ellislab.com/forums/viewthread/67250/P70/#859472 and http://ellislab.com/forums/viewthread/67250/P70/#862835 Likewise, I installed everything but always get 'Incorrect Security Image Response' even when I know I entered the words correctly. Please Help |
Welcome Guest, Not a member yet? Register Sign In |