Posted by Ashraf Sufian on June 24, 2008 at 9:33am
Is there a way to add a refresh button for the captcha image? so that i can regenerate the image without the need to refresh the whole page.
Is there a way to add a refresh button for the captcha image? so that i can regenerate the image without the need to refresh the whole page.
Comments
interesting. Anybody got any
interesting. Anybody got any advise?
I have it but for version 4.7
Hi,
I you wish I can send you the source code. Mayby you will be able to put the part of the code in 5.*. It is based on Drupal Ajax.
Greetings,
Krzys
Can you send the source code
Can you send the source code to my email gnosis.kv@gmail.com?
thanks.
Image Captcha with refresh image link
I have also face this problem. I have make some changes in image_captcha module and works fine for me.
You can verify at http://sureshyadav.com/user/register
(register please)
You can download the source code for captcha module from here:
http://sureshyadav.com/content/drupal-image-captcha-with-refresh-link
Have a great day
captcha refresh
Suresh, thanks very much for your excellent modification to the CAPTCHA Image module.
It works like a charm and saved me the effort of doing this myself (as required by my project spec.) You should seriously consider creating and submitting a patch to the project (if you haven't already done so.) You might want to add an admin option to disable it, but I can't think of any reason why someone would want to.
One important thing to note. Be sure to disable AND uninstall the existing module before installing the new one. Disabling a module is already standard practice when upgrading a module, but I had to take the further step of uninstalling before the AJAX functioned properly.
-------------------------------------------------------
"The sting in any rebuke is the truth." - Benjamin Franklin
uninstall not required
Although you are right to disable/uninstall a module before you upgrade. But in this case as there is no changes in database, neither it is dependent on any setting, so it is not really required.
What I suggest is, backup your existing module and replace with new one. It starts working fine and if not try reinstalling.
If you need any help, contact me, I am happy to help you.
www.sureshyadav.com
-----------------------------------
When problem is clear, solution is near.
Document your code
Hi Suresh,
May be you can document your code because it is still not integrated in core drupal and with a new version of captcha it doesn't seems to be working.
zahid