Profile Builder

Updated

TheĀ Better Notifications for WordPress Profile Builder Add-on provides notification compatibility with Profile Builder and Profile Builder Hobbyist and Pro. The Profile Builder plugin (Free, Hobbyist, or Pro) is required for this add-on to work.
In additional to the standard features within Better Notifications for WordPress, this add-on currently adds:

Support for Front-end Registration pages in Profile Builder (Free, Hobbyist, and Pro)

This add-on provides full support for sending notifications that are triggered using Profile Builder’s user registration front-end form, created by adding Profile Builder’s [wppb-register] shortcode to a page. Please see below for details.

Support for Custom Password Reset pages in Profile BuilderĀ (Free, Hobbyist, and Pro)

This add-on provides full support for sending notifications that are triggered using Profile Builder’s custom password reset page, created by adding Profile Builder’sĀ [wppb-recover-password] shortcode to a page.

New ‘Profile Builder – Approval Request for Admin’ NotificationĀ (Profile Builder Hobbyist and Pro only)

This notification is sent to the admin when a user registers but needs to be approved before their membership will be activated.

New ‘Profile Builder – Email Confirmation’ Notification (Profile Builder Hobbyist and Pro only)

This is enabled when theĀ “Email Confirmation” Activated checkbox is ticked in Profile Builder > General Settings and is sent when a user registers but is required to confirm their email address before their account is created within WordPress.

You should include the [pb_registration_page_url] shortcode to include the link they need to verify their email address and create their account in this notification.
Once their account is created, the ‘New User Registration – For Admin’,Ā ‘New User Registration – For User’, andĀ ‘New User – Post-registration Email’ notifications will be triggered, where set-up.

If the Email Confirmation feature within Profile Builder is not activated, users will be asked if they wish to ‘Send these credentials via email.’ via a checkbox at the bottom of Profile Builder’s user registration from-end form. If this is not ticked, none of the three notifications listed above will be sent.

New ‘Profile Builder – Admin Approved’ NotificationĀ (Profile Builder Hobbyist and Pro only)

This notification is sent out when an administrator approves a user’s registration via the Users > All Users > Admin Approval screen.

New ‘Profile Builder – Admin Unapproved’ NotificationĀ (Profile Builder Hobbyist and Pro only)

This notification is sent out when an administrator un-approves a user’s registration via the Users > All Users > Admin Approval screen.

New notifications are available when Profile Builder Free/Hobbyist/Pro and the BNFW Profile Builder add-on are installed together.
An example of a Profile Builder notification in Better Notifications for WP – Account Approved is an email that’s sent after a user’s account has been approved.

Quirk in Profile Builder Pro

A quirk in Profile Builder Pro means that in order to override some notifications using BNFW, you’ll need to ensure that the email module in Profile Builder Pro is enabled and that the notification that you wish to override is also enabled. BNFW is set to utilise a higher priority than that of Profile Builder Pro for sending notifications so this ensures that the notification will send out correctly. If the email module or the notification are disabled in Profile Builder Pro, the filter that BNFW uses to send mail is disabled, meaning no notifications will be sent out at all. You don’t need the Profile Builder add-on for BNFW in order to fix this issue – just follow the above instruction.

 

New Shortcodes

This add-on comes with a few new shortcodes. These can only be used in the ‘Profile Builder – Email Confirmation’ notification:

Profile Builder Activation Key: [pb_activation_key]

Profile Builder Registration URL: [pb_registration_page_url]

Please note: Profile Builder doesn’t provide a way to include the front-end login form URL so it is advised that you add this manually into your notifications. It’s also worth noting that using the [login_url] shortcode provided by BNFW will provide the link to the default WordPress login form page which may or may not be desirable.

[password] Shortcode

It’s worth noting that the ‘New User Registration – For User’ notification within BNFW that is triggered when a user registers via a Profile Builder front-end form can send a new user their password in plain text when using the [password] shortcode. This only happens when using theĀ Profile Builder plugin or in versions of WordPress less than 4.3.

 

Roadmap

  • Profile Builder custom field support as created using Profile Builder > Manage Fields.
  • Compatibility with the Conditional Notifications add-on. Currently, only a single ‘New User Registration – For User’ notification will be used. This defaults to the oldest available and so support for user role conditions within this add-on aren’t used. I’m awaiting an update from Profile Builder for this, using code supplied to them for better compatibility.
  • Ensuring that the ‘New User Registration – For Admin’, and ‘New User – Post-registration Email’ notifications are still sent but not the ‘New User Registration – For User’ notification when theĀ ‘Send these credentials via email.’ checkbox is not ticked at the bottom of aĀ Profile Builder user registration front-end form. At present, when this checkbox is unticked, none of these three notifications are sent. I am awaiting Profile Builder to add a hook so that I can utilise this checkbox and send out notifications accordingly.

 

Questions?

Still have a question? Ask me a pre-sales question here and i’ll gladly help.