Additional menu

Get MemberPress today! Start getting paid for the content you create! Get MemberPress Now
  1. Home
  2. Knowledge Base
  3. Add-ons
  4. Third-Party
  5. How To Use Amelia Booking With MemberPress

How To Use Amelia Booking With MemberPress

Although MemberPress and the Amelia Booking plugin don't officially integrate, they work well together. Linking Amelia to MemberPress lets you manage who can book events and appointments based on user roles and memberships.

This document explains how to connect MemberPress with Amelia, so only authorized members can make bookings. MemberPress can assign an additional role to subscribers of specific memberships. Furthermore, MemberPress rules ensure that only those with the role can access the booking page.

This document contains the following topics:

Configuring MemberPress Memberships

MemberPress memberships can assign an additional user role and access to booking pages. Create membership levels for Amelia.

To create a membership in MemberPress, follow the steps below:

  1. Navigate to Dashboard > MemberPress > Memberships.
  2. Click the Add New Membership button.
  3. Create a new membership (e.g., “Premium Member”).
  4. While creating the membership, scroll down to Membership Options > Advanced tab, and check the User Roles for this Membership option.
  1. Select the Amelia Customer role for customers or the Amelia Employee role for staff.

Note: Installing and activating the Amelia plugin automatically creates the Amelia Customer and Amelia Employee user roles.

  1. Click the Publish button to save the membership.

Repeat these steps to add more membership levels for different user roles.

Configuring Amelia Events

Amelia offers shortcodes that show booking forms on pages or posts. Set up the plugin and add booking features where needed.

Creating an Amelia Event

  1. Navigate to Dashboard > Amelia > Events.
  1. Click the + New Event button to create event(s).
  2. Enter the event details, such as Name, Date, and Time.
  1. These options are enabled by default. You can disable them to select custom dates:
    • Booking opens immediately;
    • Booking closes when event starts
  2. Add pricing and the maximum number of allowed members for the event.
  1. Click the Save button.

Adding Event Shortcode to a Page

  1. Navigate to an existing page or create a new page.
  2. In the page editor, click the Amelia icon button (if using the Classic Editor) or add an Amelia – Event List block (if using the Block Editor).
  1. The shortcode will be automatically inserted into the page. 
  2. For manual insertion, copy and paste the Amelia event list booking shortcode in the page editor:
[ameliaeventslistbooking]
  1. Click Publish to make the page live.

The following section explains how you can protect this page using MemberPress Rules.

Restricting Access To Booking Pages Using MemberPress Rules

MemberPress Rules control which content members can see. Use Rules to protect pages with Amelia booking forms.

Create a Protection Rule

  1. Navigate to Dashboard > MemberPress > Rules.
  2. Click the Add New button.
  3. In the Protected Content dropdown, select the A Single Page option.
  1. Type the page name in the Begin Typing Title field and choose the page from the dropdown menu.
  1. In the Access Conditions section:
    • Choose Membership from the first dropdown and Amelia Customer from the second dropdown;
    • Select the membership that should have access to the booking page.
  1. Scroll down to the Unauthorized Access section. 
  2. In the Unauthorized Message dropdown, select the Custom option.
  1. Enter your custom message for unauthorized users who access this page.

Note: Ensure the option Redirect unauthorized visitors to a specific URL is unchecked in the MemberPress > Settings > Pages > Unauthorized Access section.

  1. Click the Save Rule button on the top right.

Signing up for the Membership and Booking the Event

  1. Go to Dashboard > MemberPress > Memberships.
  2. Open the membership in your browser’s Incognito (private) Window.
  3. Enter the required details to sign up as a test user, then select either Offline Payment Method or Stripe. You can use Stripe Test Card Numbers to sign up.
  4. Visit the event booking page with the shortcode.
  1. Click the Read more button to review the event.
  2. Click the Book event button. 
  1. Enter all required information, then click the Continue button.
  2. Click the Book event button.
  1. Click the Finish button or the Customer Panel button.

Testing the Booking Pages

Testing makes sure that the MemberPress Rules block access to Amelia booking pages.

Create several test accounts with different membership levels.

  1. Open your site in a browser’s Incognito (private) Window.
  2. Log in with a test account that has the necessary membership.
  3. Go to the booking page and check that the Amelia booking form is visible and works.
  4. Log out and log in with a test account that doesn't have the membership.
  5. Go to the booking page and check whether the unauthorized access message appears instead of the booking form.

If access restrictions aren't working, check the MemberPress Rules to ensure the correct membership levels and pages are chosen.

Adding Amelia Front-end Panels to MemberPress Account Page

You can add Amelia customer and employee panels to MemberPress Account Navigation Tabs as custom tabs. This enables members to manage appointments and events directly from their MemberPress account page.

Before adding Amelia panels to the account page, ensure the MemberPress Account Navigation Tabs add-on is installed and enabled.

Note: This add-on is available to MemberPress Growth and Scale plan members. If you're subscribed to the Launch plan, you can upgrade to the Growth and Scale plan. To upgrade, click the Change Plan link on your account page.

Furthermore, ensure that you have the premium version of the Amelia plugin to access the Amelia Front-end Panel features.

Understanding Amelia Panel Shortcodes

Amelia provides two front-end panel shortcodes for embedding customer and employee portals.

Amelia Customer Panel Shortcodes

The Customer Panel displays members' appointments and events. Use the following shortcode variations based on content requirements.

This shortcode displays both appointments and events in the Amelia Customer Panel:

[ameliacustomerpanel appointments=1 events=1]

You can show either appointments or events in the customer panel using these options:

  • Removing events=1 will display appointments only:
[ameliacustomerpanel appointments=1]
  • Removing appointments=1 will display events only:
[ameliacustomerpanel events=1]

Note: The panel should appear to users with the Amelia Customer role who have a confirmed booking for an event or appointment.

Amelia Employee Panel Shortcodes

The Employee Panel displays staff members' appointments and events. Use the following shortcode variations based on content requirements:

This shortcode displays both appointments and events in the Amelia Employee Panel:

[ameliaemployeepanel appointments=1 events=1]

You can show either appointments or events in the employee panel using these options:

  • Removing events=1 will display appointments only:
[ameliaemployeepanel appointments=1]
  • Removing appointments=1 will display events only:
[ameliaemployeepanel events=1]

Note: The panel will be shown to users with the Amelia Employee role who have a confirmed booking for an event or appointment.

Adding Amelia Panels as Account Page Tabs

Follow these steps to add Amelia panels to the MemberPress account page:

  1. Navigate to Dashboard > MemberPress > Account.
  2. Enable Account Nav Tabs and add a new Nav Tab.
  1. Paste the Amelia Front-end Customer Panel shortcode for events.
[ameliacustomerpanel events=1]

Note: The events=1 in the shortcode is the event ID. Ensure to replace the “1″ with your event ID. You can find the event’s numeric ID in Dashboard > Amelia > Events > Name column. The ID is shown as “(ID:1)”. 

  1. Click the Update Options button.
  2. Create another tab for the Employee Panel, following steps 1-4 above.

The new tabs will appear on the MemberPress Account page

Enabling the Employee and Customer Panels

Follow these steps to enable Amelia's Employee panel and Customer panel.

Enable the Employee Panel

  1. Go to the MemberPress Account page.
  2. Click the Employee Panel tab created in the previous section from the left sidebar.
  3. Copy the URL from the browser's URL bar.
  4. Navigate to the Dashboard > Amelia > Settings.
  1. Under the Roles Settings section, click the View Roles Settings button.
  2. From the Employee tab, toggle the Enable Employee Panel option ON. The Employee Panel Page URL field will appear.
  1. In the Employee Panel Page URL field, paste the URL for the Employee Panel tab.
  1. Click the Save button.

Enable the Customer Panel

  1. Go to the MemberPress Account page.
  2. Click the Customer Panel tab created in the previous section from the left sidebar.
  3. Copy the URL from the browser's URL bar.
  4. Navigate to the Dashboard > Amelia > Settings.
  1. Under the Roles Settings section, click the View Roles Settings button.
  2. From the Customers tab, toggle the Enable Customer Panel option ON. The Customer Panel Page URL field will appear.
  1. In the Customer Panel Page URL field, paste the URL for the Customer Panel tab.
  1. Click the Save button.

Testing the Amelia Front-end Panel

After adding Amelia panels to the account page, verify the integration by following these steps:

  1. Open your site in a browser’s Incognito (private) Window.
  2. Log in with a test account that has the necessary membership and event/appointment booking.
  3. Navigate to the Account page on the front end.
  4. Click the Customer Panel tab from the left sidebar.
  1. Verify that appointments and events display correctly based on the shortcode configuration.

Restricting the Tab Visibility

You can manage which members see custom tabs with MemberPress rules. For example, you can hide the Employee Panel tab from the users with the Amelia Customer role. To configure visibility settings, create a new MemberPress Rule to protect the tabs.

Was this article helpful?

Related Articles

computer girl

Get MemberPress today!

Start getting paid for the content you create.