ant-tar / modMailchimp

modMailchimp lets you easily place a subscribe form anywhere on your website for any list you want.
7 stars 4 forks source link

recaptcha on custom unsubscribe form #5

Closed BigBlockStudios closed 12 years ago

BigBlockStudios commented 12 years ago

how should this be implemented? trying to pass a form without a recaptcha throws 2 errors:

Notice: Undefined index: recaptcha_challenge_field in /var/www/vhosts/onetofortyeight.com/httpdocs/core/components/modmailchimp/elements/snippets/snippet.modMailchimp.php on line 150

Notice: Undefined index: recaptcha_response_field in /var/www/vhosts/onetofortyeight.com/httpdocs/core/components/modmailchimp/elements/snippets/snippet.modMailchimp.php on line 151

darkhouse commented 12 years ago

I added {{{ [[+recaptcha_field]] }}}, but you still have to specify &recaptcha=1 for it to process on subscribe forms. On unsubscribe forms, as long as you don't have &recaptcha=0 it will process.