Osclass forums

Support forums => Tips, tricks, and tutorials => Topic started by: texthiller on October 14, 2012, 09:12:11 pm

Title: [Tutorial]Add reload button on recaptcha
Post by: texthiller on October 14, 2012, 09:12:11 pm
In the recaptcha when you contact the publisher there isn't reload recaptcha for change it.
Add this line:
Code: [Select]
<a href="javascript:Recaptcha.reload()">Refresh</a>
around this line:
Code: [Select]
<a href="javascript:Recaptcha.showhelp()"><?php _e('Aiuto''italia'); ?></a>
Title: Re: [Tutorial]Add reload button on recaptcha
Post by: nootkan on October 29, 2012, 08:21:07 am
Here is what I put in my item.php and user-public-profile.php:
Line: 133- user-public-profile.php
Line: 231- item.php

Quote
<div id="recaptcha_widget">
                                <div id="recaptcha_image"><img /></div>
                                <span class="recaptcha_only_if_image"><?php _e('<br />Enter the words above or click a link below for another captcha if unreadable','modern'); ?>:</span>
                                <input type="text" id="recaptcha_response_field" name="recaptcha_response_field" />
                                <div><a href="javascript:Recaptcha.reload()">Get another CAPTCHA</a></div>   <div class="recaptcha_only_if_image"><a href="javascript:Recaptcha.switch_type('audio')">Get an audio CAPTCHA</a></div>   <div class="recaptcha_only_if_audio"><a href="javascript:Recaptcha.switch_type('image')">Get an image CAPTCHA</a></div>   <div><a href="javascript:Recaptcha.showhelp()">Help</a></div>
Title: Re: [Tutorial]Add reload button on recaptcha
Post by: mrreference on November 17, 2012, 12:48:47 am
Which code above is correct to use? do I use just one or both?
cheers
Title: Re: [Tutorial]Add reload button on recaptcha
Post by: nootkan on November 30, 2012, 09:12:19 am
Either example will work just depends on what you prefer.
Title: Re: [Tutorial]Add reload button on recaptcha
Post by: csetube on December 31, 2012, 11:59:04 am
Where to use the code?
which file ?
Title: Re: [Tutorial]Add reload button on recaptcha
Post by: Legion on January 21, 2013, 05:13:32 pm
in which file to edit?
Title: Re: [Tutorial]Add reload button on recaptcha
Post by: nootkan on February 17, 2013, 07:05:13 am
Here is what I put in my item.php and user-public-profile.php:
Line: 133- user-public-profile.php
Line: 231- item.php
Title: Re: [Tutorial]Add reload button on recaptcha
Post by: slumdog10 on March 23, 2013, 03:02:20 pm
This worked great for me, although I did have to turn the text links into buttons and space them out but its a big help having  the ability to change the capture image as it is just too hard to see sometimes.

Thanks
Title: Re: [Tutorial]Add reload button on recaptcha
Post by: rafiki on June 29, 2013, 07:56:19 pm
great snippets!

some captchas are just too painful for the eyes...

_____________________________________
Free hosting (http://hostinghood.com)
Title: Re: [Tutorial]Add reload button on recaptcha
Post by: eLead.in on July 22, 2013, 11:10:03 am
Thanks, nootkan!  :)
Title: Search page
Post by: shailendra on July 23, 2013, 05:55:43 pm
how to Edit on search page
Title: Re: [Tutorial]Add reload button on recaptcha
Post by: bitxp on January 27, 2014, 07:01:06 pm
For bender_red, you must edit this file: "item-sidebar.php"