Gravity Forms User Registration Add-On v1.5 Released
By Carl Hancock Published April 1, 2013Gravity Forms User Registration Add-On v1.5 is now available via automatic update, the Add-On manager and the Add-On Downloads page. This is a major feature enhancement release that introduces new features and functionality. This release introduces the ability to update existing users as well as automated and manual user activation.
The functionality introduced in this release has been in extended beta testing for quite sometime. It has undergone extensive testing and refinement over the last few months and better integrates with WordPress Multi-Site and BuddyPress, which are both constantly evolving.
Update Existing Users
The Gravity Forms User Registration Add-On can now Update users as well as Create new users. When creating a User Registration feed you will select what type of action you would like to perform: Create User or Update User. When you configure a User Registration feed to Update User it will automatically handle pre-populating user related fields based on the field mappings you configure in the feed. It will automatically detect if a user is logged in when viewing the form and pre-populate the fields accordingly.
User Activation
One of the most regularly requested features we’ve received for the User Registration Add-On is user activation. Requiring a user (or admin) to take some sort of action before the user is created and activated. A user is activated either by clicking on an activation link in an activation email they receive, or by an administrator manually activating the user within the “Pending Activations” admin depending on how you choose to configure the functionality.
It is true that WordPress has built in user activation functionality. What most people don’t know is this functionality is only enabled and the necessary database tables created in WordPress core when configured as a Multi-Site install. It is not present when configured as a standard standalone WordPress site. Because we try to leverage core WordPress functionality whenever possible, this posed a consistency issue. We solved this by triggering the creation of the WordPress core user activation related database tables if you implement user activation on a non-Multi-Site install.
Pending Activations
When you enable User Activation on a User Registration feed you will be able to view all Pending Activations in the User Registration admin. Simply hover over the feed you’d like and click on the Pending Activations link. From Pending Activations you can manually activate or delete a Pending Activation request.
Multi-Feed Support
The User Registration Add-On now supports configured multiple User Registration feeds per form. When combined with registration conditional logic this will allow you to configure a form that performs different user related actions based on selections made by the user.
Conditional Logic Enhancements
User Registration feed conditional logic was enhanced to support greater than, less than, contains, starts with, and ends with operators along with the existing conditionals.
What’s New
- Added support for updating users with “Update” feed type.
- Added support for user activation in both Multi-Site and non-Multi-Site installs.
- Added support for manual user activation.
- Added Pending Activations area to User Registration feed admin.
- Added support for custom registration page for multi-site installs.
- Added pending activation link to entry detail page.
- Added support for multiple feeds per form.
- Added new conditional logic options (greater than, less than, contains, starts with, ends with) and support for other conditional fields.
- Added support for specifying user activation type (manual, by email).
- Added support for saving processed config in entry meta and retrieving this from get_active_config() function.
- Added support for list fields for update feeds.
- Added “gform_disable_registration” hook to allow add-ons to prevent User Registration from registering/updating a user.
- Added support for displaying all user meta keys in feed meta key drop downs.
- Updated roles drop down on feed page to order by a custom sort (subscriber first).
- Refactored form population for update feeds.
- Fixed link location for drop down on Pending Activations page which takes user to view All pending or form-specific pending.
- Fixed issue where All pending activations was returning no records.
- Fixed issue where usernames with spaces were not displaying in pending activation table.
- Fixed issue where update_user() function was not correctly saving the user’s email.
- Fixed errors when populating an update fields with values containing single quotes.
- Fixed issue when updating user’s website meta on an update feed.
- Fixed issue with mapping category fields to BuddyPress.
- Fixed error on update feed form when Buddy Press is uninstalled.
- Fixed issue with checkboxes not being saved correctly when unchecked from an update feed.
- Fixed issue with date fields not being formatted correctly when populating fields in an update feed.
- Fixed issue with plugin-upgrade.php where failed remote response generated several notices.
- Fixed issue where multiple file upload fields were not be populated correctly (powered by update feed).
- Fixed issue with BP functions bound to gform_user_registered not being bound in the admin as the gform_user_registered hook was not previously fired in the admin (now fires when manually activating a pending activation)..
- Fixed issue where “wp_” prefix was being used instead of “$wpdb->prefix”.
- Fixed issue with date field population for update feeds.
- Fixed issue with hardcoded table prefix.
- Fixed issue with AJAX call when admin is configured to force SSL.
- Fixed issue where Gravity Forms was being required and failing to find plugin.
- Fixed issue where values being populated back into form for update feeds were not escaping single quotes which caused errors.
- Fixed issue where unescaped single quotes were causing issues on feed editor.
- Fixed issue where custom meta fields with 0 as a value weren’t saving to the database.
- Fixed notices when form inputs array doesn’t exist which caused AJAX spinner to remain and no form fields were displayed.
- Fixed compatability issue with BP 1.6 where BP profile function is no longer available.
- Fixed issue where using wp_get_current_user() function was failing to update users when wait for payment option was checked.
- Fixed issue where “Pending Activations” link displayed in feed actions for Update feeds.
- Fixed issue where “Send Email?” option was displaying for Update feeds.
- Fixed issue where “Preserve current role” option was not preserving user’s role for new feeds.
- Fixed issue were active status was not taken into account when retrieving update feed.
- Fixed issue where new feed options were not displaying immediately.
- Fixed UI to read “Action” instead of “Feed Type”.
- Fixed WordPress debug notices.
System Requirements
The Gravity Forms User Registration Add-On requires Gravity Forms v1.6.12+ and WordPress v3.5+.
How To Get It
You may download the User Registration Add-On via the Add-On manager in Gravity Forms or via the Add-On downloads page, and read the documentation here.