Despite what this thread seems to suggest, I don't think this has been added so far, but it would be definitely useful to be able to refresh the captcha image without having to submit the form. I just upgraded to 1.9 assuming there would be some admin option to enable this, but there's no such thing.

Files: 
CommentFileSizeAuthor
#18 mollom.refresh.d6.18.patch9.09 KBeshta
PASSED: [[SimpleTest]]: [MySQL] 6,413 pass(es).
[ View ]
#15 mollom.refresh.15.patch9.35 KBeshta
PASSED: [[SimpleTest]]: [MySQL] 7,096 pass(es).
[ View ]
#13 mollom.refresh.13.patch8.26 KBeshta
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch mollom.refresh.13.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]
#8 502390-6-refresh-support.patch3.55 KBalexkb
PASSED: [[SimpleTest]]: [MySQL] 4,885 pass(es).
[ View ]
#6 502390-6-refresh-support.patch3.55 KBalexkb
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 502390-6-refresh-support.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]
#5 mollom-added_refresh_button-502390-4.patch3.64 KBramsunvtech
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch mollom-added_refresh_button-502390-4.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]
#1 502390-refresh-captcha-D6.patch6.24 KBDave Reid
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 502390-refresh-captcha-D6.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]
#1 502390-mollom-after.png27.12 KBDave Reid

Comments

Dave Reid’s picture

Status:Active» Needs work
StatusFileSize
new27.12 KB
new6.24 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 502390-refresh-captcha-D6.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Here's a start to add a 'Refresh CAPTCHA' link to the Mollom CAPTCHA. I still need to figure out how to actually get it to change the mollom session_id to give it a new captcha. Also attached a proposed screenshot since the links have been moved to below the captcha element instead of to the right of it.

Leaving as needs work for now.

Dave Reid’s picture

Version:6.x-1.9» 6.x-1.x-dev

Merging #331070: usability fix, refresh captcha into this issue.

OnkelTem’s picture

Hi,

So? I've just installed 1.12 and still no Refresh on user registration form:

http://www.onlinedisk.ru/view/392969

sun’s picture

Title:Refresh captcha button without submitting the form» Add Refresh button for CAPTCHA
Version:6.x-1.x-dev» 7.x-1.x-dev
Component:User interface» Code
ramsunvtech’s picture

Title:Add Refresh button for CAPTCHA» Added Refresh Captcha Option in Mollom module
Assigned:Unassigned» ramsunvtech
Priority:Normal» Critical
StatusFileSize
new3.64 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch mollom-added_refresh_button-502390-4.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Guys,

Here i have attached the patch and mentioned the following changes with description below

1). Created the event "mollomRefreshCaptcha" attached to the link "a.mollom-refresh-captcha" and calling "getNewMollomCaptcha" in mollom.js
2). Created a new function called "getNewMollomCaptcha" to get a new Captcha in mollom.js
3). Updated the output variable in "mollom_get_captcha" function to refresh audio and image captcha in mollom.module

Kindly let me know, if any one have better patch than this.

Regards,
Venkatraman

alexkb’s picture

Status:Needs work» Needs review
StatusFileSize
new3.55 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 502390-6-refresh-support.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

ramsunvtech, I had trouble with your patch on the more recent version of Mollom. It was only a small change, but you can't the function that returns the mollom image must use post instead of get.

The refresh link should probably be after the image too, and perhaps, it should be changed to an icon anyway.. will let others decide on that.

Anyway, attached is an updated patch for anyone else wanted refresh support with the most recent version of Mollom.

Status:Needs review» Needs work

The last submitted patch, 502390-6-refresh-support.patch, failed testing.

alexkb’s picture

Version:7.x-1.x-dev» 7.x-2.x-dev
StatusFileSize
new3.55 KB
PASSED: [[SimpleTest]]: [MySQL] 4,885 pass(es).
[ View ]

Retest on correct branch.

alexkb’s picture

Status:Needs work» Needs review
sun’s picture

Note that #504336-33: Audio captcha does not work in Chrome/Firefox, OK in IE 8 contained some initial design prototypes.

sandergo90’s picture

Hi All,

I was trying to use the patch for the refresh button. The button first of all does not appear correctly and secondly when I hit the refresh button and then enter the new captcha, it gives me a message that the word verification is not correct.

namratadas’s picture

Issue summary:View changes
eshta’s picture

StatusFileSize
new8.26 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch mollom.refresh.13.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

So the way the Mollom captchas are presented has changed a lot since the last patch on this. I've created a new patch that works with the new image/audio templates. In the process, I also cleaned up the javascript a little bit to namespace the Mollom captcha retrieval function.

Status:Needs review» Needs work

The last submitted patch, 13: mollom.refresh.13.patch, failed testing.

eshta’s picture

Status:Needs work» Needs review
StatusFileSize
new9.35 KB
PASSED: [[SimpleTest]]: [MySQL] 7,096 pass(es).
[ View ]

D'oh - forgot the binary flag.

eshta’s picture

Assigned:ramsunvtech» Unassigned

  • Commit 49a43aa on 7.x-2.x by eshta:
    Issue #502390 by eshta: Added refresh capability to captcha.
    
eshta’s picture

Version:7.x-2.x-dev» 6.x-2.x-dev
StatusFileSize
new9.09 KB
PASSED: [[SimpleTest]]: [MySQL] 6,413 pass(es).
[ View ]

Committed the D7 patch.
Now adding a D6 backport.

eshta’s picture

Status:Needs review» Fixed

Patches committed :-)

  • Commit 38024d8 on 6.x-2.x by eshta:
    Issue #502390 by eshta: Add refresh captcha option.
    

  • Commit 49a43aa on 7.x-2.x, fbajs by eshta:
    Issue #502390 by eshta: Added refresh capability to captcha.
    

Status:Fixed» Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

sumithb’s picture

Hi,

I installed the latest MOLLOM module and the refresh CAPTCHA is not working in my firefox. It is working fine in the chrome.

Please fix this.

Thanks
Sumith