Advertisement:

Author Topic: [Tutorial]Add reload button on recaptcha  (Read 7714 times)

texthiller

  • Full Member
  • ***
  • Posts: 207
[Tutorial]Add reload button on recaptcha
« 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>

nootkan

  • Sr. Member
  • ****
  • Posts: 259
Re: [Tutorial]Add reload button on recaptcha
« Reply #1 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>

mrreference

  • Jr. Member
  • **
  • Posts: 74
Re: [Tutorial]Add reload button on recaptcha
« Reply #2 on: November 17, 2012, 12:48:47 am »
Which code above is correct to use? do I use just one or both?
cheers

nootkan

  • Sr. Member
  • ****
  • Posts: 259
Re: [Tutorial]Add reload button on recaptcha
« Reply #3 on: November 30, 2012, 09:12:19 am »
Either example will work just depends on what you prefer.

csetube

  • Newbie
  • *
  • Posts: 9
Re: [Tutorial]Add reload button on recaptcha
« Reply #4 on: December 31, 2012, 11:59:04 am »
Where to use the code?
which file ?

Legion

  • Hero Member
  • *****
  • Posts: 622
  • I am founder of top20remedies.com buyeradvise.com
Re: [Tutorial]Add reload button on recaptcha
« Reply #5 on: January 21, 2013, 05:13:32 pm »
in which file to edit?

nootkan

  • Sr. Member
  • ****
  • Posts: 259
Re: [Tutorial]Add reload button on recaptcha
« Reply #6 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

slumdog10

  • Jr. Member
  • **
  • Posts: 71
Re: [Tutorial]Add reload button on recaptcha
« Reply #7 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

rafiki

  • Newbie
  • *
  • Posts: 1
Re: [Tutorial]Add reload button on recaptcha
« Reply #8 on: June 29, 2013, 07:56:19 pm »
great snippets!

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

_____________________________________
Free hosting
« Last Edit: September 16, 2013, 10:29:10 pm by rafiki »

eLead.in

  • Newbie
  • *
  • Posts: 5
  • If you can, you can. If you can't, you are right..
Re: [Tutorial]Add reload button on recaptcha
« Reply #9 on: July 22, 2013, 11:10:03 am »
Thanks, nootkan!  :)

shailendra

  • Newbie
  • *
  • Posts: 2
Search page
« Reply #10 on: July 23, 2013, 05:55:43 pm »
how to Edit on search page

bitxp

  • Newbie
  • *
  • Posts: 10
Re: [Tutorial]Add reload button on recaptcha
« Reply #11 on: January 27, 2014, 07:01:06 pm »
For bender_red, you must edit this file: "item-sidebar.php"