shpr
Sophomore
Just Getting Started
Member Likes (0)
We are using Wordpress Buddypress & have a custom signup which requires additional fields. Some of these fields are not included in Facebook so we cannot "map" them, however we still need them to be required for registration.
Is there a method of doing this?
eg Ultimate Facebook maps all possible fields & then requests the user completes the additional fields and checkboxes (eg accept Terms & Conditions, join mailing list etc)?
Thanks

Responses (2)
Support Kangaroo (joined March 2011) Likes (0)
Greetings shpr,
This is indeed a great question.
Not that I am aware of, but I certainly do not know everything.
I will see if I can get the lead developer in here with his invaluable insight into the Ultimate Facebook plugin and any advice he may have to help here.
Though this may take a bit longer then a normal ticket, I hope to get him in here asap.
Cheers, Joe
Developer (joined April 2011) Likes (0)
Hi,
The default Facebook registration form can be extended relatively easily with some simple custom code. This would be a two-step process (first adding the extra fields to the form, and then processing them (e.g. storing them in the database) upon successful user registration), and the plugin exposes two hooks which you can use to achieve this.
You can add the new fields you want by hooking up to "wdfb-registration_fields_array" filter and adding your fields to the array argument. To process the fields upon user registration, you can use the "wdfb-user_registered" hook. There's a simplistic example of the process in this post: http://premium.wpmudev.org/forums/topic/custom-user-profile-and-added-registration-fields#post-147030 - hopefully, it can get you started.
Become a member