Skip to content

This Wordpress plugin handles the onboarding of a user (registration + login)

License

Notifications You must be signed in to change notification settings

Beee4life/b3-onboarding

Repository files navigation

B3 OnBoarding

Contents

Introduction

This plugin was built to 'onboard' (in other words register/add) users to your site in the smoothest way possible.

You can customise every aspect of the onboarding process, such as control the look and feel of (almost) every email sent out by Wordpress.

It even offers features which Wordpress doesn't even have, such as approving (or reject) a user before they're activated. And there are a ton of other things, which you can set through the admin pages or with the help of actions/filters.

What 'problems' does this plugin solve ?

No more default Wordpress forms/emails. You now have full control over them.

This plugin gives you all the freedom to change registration forms/emails. Also you can extend this plugin in A LOT of ways, in terms of styling, output and other things.

Version

3.13.0 - released 30.10.24

Features

  • override the following forms/pages
    • register
    • login
    • log out
    • lost password
    • reset password
    • account
  • easily add custom fields to registration form
  • change various settings on the fly with the use of hooks/filters
  • (mostly) styled using BEM methodology

Installation

  1. Download the latest release.
  2. Copy the b3-onboarding folder into your wp-content/plugins folder.
  3. Activate the B3 OnBoarding plugin via the plugins admin page.
  4. (optional) Change any setting you want.

If you use a composer file to add any plugins/libraries. Add the following repository to your composer.json:

"repositories": [
  {
    "type":    "package",
    "package": {
      "name":    "Beee4life/b3-onboarding",
      "type":    "wordpress-plugin",
      "version": "3.11.0",
      "dist":    {
        "type": "zip",
        "url":  "https://github.com/Beee4life/b3-onboarding/archive/master.zip"
      }
    }
  },
]

Then run composer require beee4life/b3-onboarding

or add this to the require section by hand:

"beee4life/b3-onboarding": "3.11.0",

and run composer update.

Activation

If you activate this plugin the following will be done:

  • the necessary pages are created (if they're not there already)
  • default setting/limits are set
  • 2 new user roles are created: b3_approval, b3_activation
  • access to admin is restricted for subscribers

Shortcodes

  • [account-page] = renders the account page
  • [lostpass-form] = renders the lost password form
  • [login-form] = renders the login form
  • [register-form] = renders the regster form
  • [resetpass-form] = renders the reset password form
  • [user-management] = renders the user management page

Actions

There are a lot of actions which you can use, to hook your code to. There are too many to list here, so find them on the official website.

Filters

There are a lot of filters which you can use. There are too many to list here (50+), so find them on the official website.

If you use hooks, you have more settings available than if you (just) use the admin. Some functions are not (yet) available through the admin pages and some will never be.

Uninstall

  1. All stored options are removed.
  2. The plugin is removed.

Starting with v3.1.0 there's now a setting to prevent deletion of all data/settings.

Disclaimer

  1. Not 100% ready for multisite yet, but almost. Not all emails are 'caught' yet.
  2. Not tested with Gutenberg, not even once, but I have good hopes it will work.

Roadmap

These are the things we have planned to add.

  • add more security stuff
  • clean-up settings pages
  • remove <br> from email templates
  • create option to send a preview email
  • add front-end management to multisite as well
  • multi-page registration forms
  • integration with Woocommerce (emails)
  • integration with Salesforce
  • integration with Mailchimp
  • integration with AWeber

If you have any suggestions/requests, please read this.

3.13.0

  • change version everywhere

3.12.2

  • change composer file

3.12.1

  • change composer version

3.12.0

  • change 'code' argument/var to 'otpcode' to avoid conflicts

3.11.1 - 15.09.24

  • fix forgotten creation of dynamic property in shortcodes file

3.11.0 - 07.09.24

  • add magic link login option (single site only, for now)
  • improved blocking of disallowed usernames/domain names
  • moved logo field to emails tab
  • added indicator for filter verification
  • added new filters
    • b3_magic_link_email()
    • b3_magic_link_time_out()
    • b3_password_special_chars()
    • b3_password_extra_special_chars()
    • b3_disallowed_domains()
    • b3_show_email_widget()
    • b3_message_above_magiclink()
    • b3_email_intro()
    • b3_message_above_request_site()
  • change settings to non-static method

3.10.0 - 02.10.23

  • filter out nav menu items
  • sprintf admin tabs
  • honour redirect_to on logout
  • array refactoring array() to []

For older changelogs, see this link.