User Registration Add-On v3.0 Beta 1 Released
By Carl Hancock Published October 13, 2015Gravity Forms User Registration Add-On v3.0 Beta 1 is now available via the Download Add-Ons page. This is a major overhaul of the User Registration Add-On. It has been updated to take advantage of the Gravity Forms Add-On Framework. New features will be built on top of this new foundation.
We highly recommend developers who have customized the behavior of the User Registration Add-On to suit their needs, or have implemented custom integrations should begin testing with this new version as soon as possible.
This update includes major changes that include restructuring feed meta and deprecating many public methods for their new add-on framework counterparts.
In previous versions of the User Registration Add-On the feed meta was split into related groups of data (ex. multi-site related meta in multisite_options, etc.). The feed meta is now completely flat. All options are listed directly in the top level meta for the feed.
The feed meta keys have also been updated to utilize camel case (with a few exceptions). For example: ‘feed_type’ is now ‘feedType’, ‘set_post_author’ is now ‘setPostAuthor’ and so on. In some cases the meta keys have been completely renamed. For example: ‘notification’ has been updated to ‘sendEmail’. For a full list of changes see the GF_User_Registration::upgrade_from_pre_addon_framework() method which handles converting old feeds to the new feed format.
Many public methods have been deprecated in favor of their new add-on framework counterparts. Here is a list of those changes:
- GFUser::get_active_config() is now gf_user_registration()->get_config()
- GFUser::get_config() is now gf_user_registration()->get_feeds()
- GFUser::add_validation_failure() is now gf_user_registration()->add_validation_error()
- GFUser::create_new_multisite() is now gf_user_registration()->create_site()
- GFUser::get_feed_by_form() is now gf_user_registration()->get_feeds()
- GFUser::get_feeds_by_form() is now gf_user_registration()->get_feeds()
- GFUser::gf_create_user() is now gf_user_registration()->maybe_process_feed()
- GFUser::get_pending_activation_forms() has been deprecated completely.
Here is a list of additional changes in this release:
- Added “gform_user_registration_check_email_pre_signup_activation” filter for allowing the user to disable the check for an email being already used by a registered user.
- Added ‘gform_userregistration_delete_signup’ hook to allow custom actions to be performed when pending activations are deleted.
- Updated Spanish (es_ES) translation.
- Updated registration page setting labels.
- Fixed issue where password wasn’t getting sent via email.
- Fixed an issue with the pending activations page including blank rows for signups which do not have an associated GF entry.
- Fixed issue where “setPostAuthor” setting was visible when no post creation fields were available on form.
- Removed unused files from pre-Add-On Framework build.
You may download the User Registration Add-On v3.0 Beta 1 release via the Download Add-Ons page. It is located at the bottom of the list of available add-ons.