Bien que MemberPress et le Réservation d'Amelia 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
- Configuring Amelia Events & Shortcodes
- Restricting Access (MemberPress Rules)
- Adding Amelia Front-end Panels to MemberPress Account Page
Configuring MemberPress Memberships
MemberPress adhésions 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:
- Naviguez jusqu'à Tableau de bord > MemberPress > Adhésions.
- Cliquez sur le bouton Ajouter une nouvelle adhésion bouton.
- Créer une nouvelle adhésion (e.g., “Premium Member”).
- While creating the membership, scroll down to Options d'adhésion > Avancées et vérifiez l'onglet User Roles for this Membership option.

- Sélectionnez l'option Amelia Customer role for customers or the Amelia Employee role for staff.
- Cliquez sur le bouton Publier 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
- Naviguez jusqu'à Dashboard > Amelia > Events.

- Cliquez sur le bouton + New Event button to create event(s).
- Enter the event details, such as Nom, Dateet Time.

- These options are enabled by default. You can disable them to select custom dates:
- Booking opens immediately;
- Booking closes when event starts.
- Add pricing and the maximum number of allowed members for the event.

- Cliquez sur le bouton Économiser bouton.
Adding Event Shortcode to a Page
- Navigate to an existing page or create a new page.
- In the page editor, click the Amelia icon button (if using the Éditeur classique) or add an Amelia – Event List block (if using the Block Editor).

- The shortcode will be automatically inserted into the page.
- For manual insertion, copy and paste the Amelia event list booking shortcode in the page editor:
[ameliaeventslistbooking]
- Cliquez sur Publier to make the page live.
The following section explains how you can protect this page using MemberPress Règles.
Restricting Access To Booking Pages Using MemberPress Rules
MemberPress Règles control which content members can see. Use Rules to protect pages with Amelia booking forms.
Create a Protection Rule
- Naviguez jusqu'à Tableau de bord > MemberPress > Règles.
- Cliquez sur le bouton Ajouter un nouveau bouton.
- Dans le cadre de la Contenu protégé dropdown, select the Une seule page option.

- Type the page name in the Begin Typing Title field and choose the page from the dropdown menu.
- Dans le cadre de la Conditions d'accès section :
- Choisir L'adhésion from the first dropdown and Amelia Customer from the second dropdown;
- Select the membership that should have access to the booking page.

- Faites défiler vers le bas jusqu'à la rubrique Accès non autorisé section.
- Dans le cadre de la Message non autorisé dropdown, select the Sur mesure option.

- Enter your custom message for unauthorized users who access this page.
- Cliquez sur le bouton Sauvegarder la règle button on the top right.
Signing up for the Membership and Booking the Event
- Aller à Tableau de bord > MemberPress > Adhésions.
- Open the membership in your browser’s Incognito (private) Window.
- Enter the required details to sign up as a test user, then select either Offline Payment Method ou Rayure. Vous pouvez utiliser Stripe Test Card Numbers to sign up.
- Visit the event booking page with the shortcode.

- Cliquez sur le bouton Read more button to review the event.
- Cliquez sur le bouton Book event bouton.

- Enter all required information, then click the Continuer bouton.
- Cliquez sur le bouton Book event bouton.

- Cliquez sur le bouton Finish button or the Customer Panel bouton.
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.
- Open your site in a browser’s Incognito (private) Window.
- Log in with a test account that has the necessary membership.
- Go to the booking page and check that the Amelia booking form is visible and works.
- Log out and log in with a test account that doesn't have the membership.
- 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 Règles 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.
Furthermore, ensure that you have the premium version of the Amelia plugin to access the Amelia Front-end Panel caractéristiques.
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 s'affichera appointments only:
[ameliacustomerpanel appointments=1]
- Removing appointments=1 s'affichera events only:
[ameliacustomerpanel events=1]
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 s'affichera appointments only:
[ameliaemployeepanel appointments=1]
- Removing appointments=1 s'affichera events only:
[ameliaemployeepanel events=1]
Adding Amelia Panels as Account Page Tabs
Follow these steps to add Amelia panels to the MemberPress account page:
- Naviguez jusqu'à Dashboard > MemberPress > Account.
- Enable Account Nav Tabs and add a new Nav Tab.

- Coller le Amelia Front-end Customer Panel shortcode for events.
[ameliacustomerpanel events=1]
- Cliquez sur le bouton Options de mise à jour bouton.
- Create another tab for the Employee Panel, following steps 1-4 above.
The new tabs will appear on the MemberPress Page du compte.
Enabling the Employee and Customer Panels
Follow these steps to enable Amelia's Employee panel and Customer panel.
Enable the Employee Panel
- Aller à la page MemberPress Page du compte.
- Cliquez sur le bouton Employee Panel tab created in the previous section from the left sidebar.
- Copier le URL from the browser's URL bar.
- Naviguez jusqu'à la page Dashboard > Amelia > Settings.

- Dans le cadre de la Roles Settings Cliquez sur la section View Roles Settings bouton.
- A partir de la Employee tab, toggle the Enable Employee Panel option ON. Les Employee Panel Page URL field will appear.

- Dans le cadre de la Employee Panel Page URL field, paste the URL for the Employee Panel tabulation.

- Cliquez sur le bouton Économiser bouton.
Enable the Customer Panel
- Aller à la page MemberPress Page du compte.
- Cliquez sur le bouton Customer Panel tab created in the previous section from the left sidebar.
- Copier le URL from the browser's URL bar.
- Naviguez jusqu'à la page Dashboard > Amelia > Settings.

- Dans le cadre de la Roles Settings Cliquez sur la section View Roles Settings bouton.
- A partir de la Clients tab, toggle the Enable Customer Panel option ON. Les Customer Panel Page URL field will appear.

- Dans le cadre de la Customer Panel Page URL field, paste the URL for the Customer Panel tabulation.

- Cliquez sur le bouton Économiser bouton.
Testing the Amelia Front-end Panel
After adding Amelia panels to the account page, verify the integration by following these steps:
- Open your site in a browser’s Incognito (private) Window.
- Log in with a test account that has the necessary membership and event/appointment booking.
- Naviguez jusqu'à la page Page du compte on the front end.
- Cliquez sur le bouton Customer Panel tab from the left sidebar.

- 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.