Hey guys,
I got a working fix to the bug.
Here's a patch you can try:
--- wp-content/plugins/gravityformsuserregistration/userregistration.php (revision )
+++ wp-content/plugins/gravityformsuserregistration/userregistration.php (revision )
@@ -1424,7 +1424,9 @@
// get GF and BP fields
$gform_field = RGFormsModel::get_field($form, $meta_item['meta_value']);
$bp_field = new BP_XProfile_Field();
- $bp_field->bp_xprofile_field($meta_item['meta_name']);
+ //$bp_field->bp_xprofile_field($meta_item['meta_name']);
+ $bp_field->populate($meta_item['meta_name'], $user_id, false);
// if bp field is a checkbox AND gf field is a checkbox, get array of input values
if($bp_field->type == 'checkbox' && $gform_field['type'] == 'checkbox') {
Hope this helps anyone else facing the issue.
Posted 12 years ago on Saturday September 8, 2012 |
Permalink