× Joomla Facebook Connect support forum

Topic-icon Custom Fields

Active Subscriptions:

None
14 years 4 months ago #18796 by fb_683002041
Custom Fields was created by fb_683002041
I would like - just like on normal signup - to have the possibility for the users to subscribe to our newsletters. Is there a plan to create custom fields for something like this when doing a "full joomla profile"?
The topic has been locked.
Support Specialist
14 years 4 months ago #18804 by alzander
Replied by alzander on topic Custom Fields
Morten,
Extra fields (among other things) are one of the primary purposes of the Profile Plugins. We have some documentation, though it's not fully up-to-date, on how to create one. We'd recommend looking at the JomSocial (or one of the others) and see what's done in there. A plugin just to add a field to the form isn't overly difficult, and we can definitely help.

The main functions you'd be interested in are:
jfbcProfilesOnShowRegisterForm - Generate the HTML for the field to show to the user.
saveRegisterFormFields - Save the data submitted however you want (to DB, file, etc)

All in all, it could be a pretty small file. For the current documentation, see:
www.sourcecoast.com/jfbconnect/docs/deve...ing-a-profile-plugin

We're in the process of overhauling some of the plugin stuff as it's gotten a little clunky since we introduced them a year ago. They do give a lot of flexibility over the registration and profile import process though.

Hope that helps,
Alex
The topic has been locked.