Closed (fixed)
Project:
Mailchimp
Version:
6.x-2.0-rc4
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2009 at 12:02 UTC
Updated:
28 Mar 2012 at 19:52 UTC
Hi
I have been able to create a Captcha on the newsletter subscription page for an authenticated user newsletter but the Captcha will not appear on the newsletter subscription page for an anonymous user newsletter.
The form id being used by Captcha is mailchimp_subscribe_form
Is there anyway to make the Captcha visible for anonymous users?
Thanks for any assistance you can give.
Comments
Comment #1
levelos commentedThe form_id actually changed in the last request, mailchimp_anon_subscribe_form and mailchimp_auth_subscribe_form
Comment #3
benakiva commentedI registered these two form_id mailchimp_anon_subscribe_form and mailchimp_auth_subscribe_form in captcha admin page, but the captcha does not appear in the subscription form, neither for authenticated user nor for anonymous user. Is there a regression in version rc4?
Comment #4
steveray commentedTry: mailchimp_subscribe_anon_form and mailchimp_subscribe_auth_form
Note the "anon" and "auth" moved to the right of "mailchimp_subscribe_".
Also, make sure that the roles you are testing with do not have the Skip Captcha box checked in the Captcha permissions section.
Steve
PS: I'm using Mailchimp 6.x-2.0-rc4 and Captcha 6.x-2.1
Comment #5
levelos commentedComment #7
tanzeel commentedMailchimp - 6.x-2.5
Captcha - 6.x-2.4
Captcha doesn't work properly with mailchimp subscription form. As per my findings Captcha module doesn't get form values in a way mailchimp posts. To get captcha properly work with mailchimp subscription form in captcha module file in captcha_validate() function you have to modify the code to get captcha_response from posted data in right way which is not handled by captcha module yet. Find the line
$form_state['values']['captcha_response']somewhere in start of function and replace withto get $captcha_response variable set in case of mailchimp subscription form.
Also need to modify same kinda lines in _captcha_get_posted_captcha_info() function.
Find
and replace with
to work captcha properly with mailchimp subscription form.
Hope this helps.