Needs review
Project:
Drupal for Facebook
Version:
7.x-3.x-dev
Component:
Facebook Connect
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2012 at 05:11 UTC
Updated:
2 Oct 2012 at 12:28 UTC
Jump to comment: Most recent file
Comments
Comment #1
Dave Cohen commentedNot every form element is supported by fb_registration.module. Most users enable that module without understanding what it does. Most users don't really want it enabled for their site.
If you can get captcha to work in the fb_registration form, by all means please submit a patch.
Comment #2
ckngI meant the captcha in Drupal form, that is disabled by the fb_registration.
Attached is the patch to have Drupal captcha remain, does not interfere with FB registration from my tests.
On a side note, you are right that can't get the fb_registration captcha (FB form) to work.
Comment #3
ckngComment #4
Dave Cohen commentedThere's already a couple places in that file where it tries to deal with captchas, and if I recall correctly it was working at least somewhat in D6. In D7 I haven't set it up.
So my question is, is that other code attempting to deal with captcha broken? I feel like hardcoding the 'captcha' key there is not the best. If it's broken, I'd rather see a fix in _fb_registration_form_alter_fields(), where there's already some code for captcha.
Comment #5
ckngUpdated the patch as suggestion in #4 to do it in _fb_registration_form_alter_fields(), by introducing '#fb_registration_retain', if a field should be kept and not removed from Drupal form.
This allows facebook captcha and Drupal captcha to appear on both forms.
If you would like to provide an option for user to say 'Enable captcha on Drupal form', default to disable to maintain previous way of how the module works, I could redo the patch.
Comment #6
ckngComment #7
fluffy commentedThe patch in #5 worked for me, I can now have both signups with Facebook and regular Drupal accounts and no bot signups.