I have an educational institution, and I use the Amelia plugin for class scheduling on my website. I'm encountering a problem as follows:
Let's say student "A" logs into my website and books a class, which works fine without any issues in the booking panel ([ameliacatalog] or [ameliacatalogbooking], it doesn't matter).
Also, suppose the same student "A" enters their email in the scheduling panel [ameliacustomerpanel] to request a link to check their past and future appointments.
It seems like Amelia 'bugs' this user at this point because when they log out only from my website through the WooCommerce 'logout,' through the standard 'login/?action=logout,' or any other method (i.e. without logging out from the scheduling panel [ameliacustomerpanel]), the scheduling panel [ameliacustomerpanel] still identifies student "A" later. In other words:
3. Student "A" logs out of the website without clicking 'log out' on [ameliacustomerpanel].
4. Student "B" logs into the website from the same computer (I tried clearing the cache with no results). [Ameliacustomerpanel] still has the credentials of student "A" with their entire schedule.
5. When student "B" tries to schedule a class in [ameliacatalog] or [ameliacatalogbooking], student "A's" data is pre-filled in the 'name,' 'last name,' and 'email' fields. Consequently, when the class is scheduled, it's student "A" (not "B") who receives the booking confirmation email.
What I've tried to do (without success) is to find a way to include the 'log out' action from Amelia (from [ameliacustomerpanel]) in another parts of my website to ensure that when a student logs out of the website, they also log out of the panel and from Amelia.
Is there a way to insert this 'log out' action from [ameliacustomerpanel] somewhere else on my website to ensure that logging out of the website also logs the student out of the panel?"
In order to allow existing WordPress users to log both into WordPress (or WooCommerce, or some membership plugin) and Amelia using the same credentials, customers and employees in Amelia need to have "Amelia Customer" or "Amelia Employee" user role assigned to them.
If there's a created WordPress user, but they don't yet have anything purchased through Amelia, you need to enable "Automatically create Amelia Customer user" in Amelia Settings/Roles/Customer, and then - after they log into their WordPress user, once they land on Amelia's booking page, their details will already be populated, and once they purchase the appointment, they'll be added to Amelia/Customers; linked to the WordPress user, and they will be able to visit the Amelia Customer Panel without logging in (since they're already logged in as a WordPress user).
If you already created a user with "Amelia Customer" but they haven't purchased anything with Amelia yet, that user won't be linked to any customers you have in Amelia, so before they are able to log into Amelia's Customer Panel, they either need to book an appointment while they're logged into WordPress, WooCommerce, or a membership plugin, or you need to create a customer by going into Amelia/Customers/Add Customer. When you create a customer, link that customer to the WordPress user, and that's it. After that, they will be able to log in with the same password that's used for logging into WordPress.
Please note: If you change the password of the employee, or the customer through WordPress, the same password will apply to Amelia's Panels, but if you change the password through the Customer or the Employee Panel in Amelia, that password will not be applied to the WordPress user role. This is because Amelia doesn't require a WordPress user to be created in order to grant access to the panels - that is optional, and Amelia can't modify the password for WordPress users.
I have an educational institution, and I use the Amelia plugin for class scheduling on my website. I'm encountering a problem as follows:
It seems like Amelia 'bugs' this user at this point because when they log out only from my website through the WooCommerce 'logout,' through the standard 'login/?action=logout,' or any other method (i.e. without logging out from the scheduling panel [ameliacustomerpanel]), the scheduling panel [ameliacustomerpanel] still identifies student "A" later. In other words:
3. Student "A" logs out of the website without clicking 'log out' on [ameliacustomerpanel].
4. Student "B" logs into the website from the same computer (I tried clearing the cache with no results). [Ameliacustomerpanel] still has the credentials of student "A" with their entire schedule.
5. When student "B" tries to schedule a class in [ameliacatalog] or [ameliacatalogbooking], student "A's" data is pre-filled in the 'name,' 'last name,' and 'email' fields. Consequently, when the class is scheduled, it's student "A" (not "B") who receives the booking confirmation email.
What I've tried to do (without success) is to find a way to include the 'log out' action from Amelia (from [ameliacustomerpanel]) in another parts of my website to ensure that when a student logs out of the website, they also log out of the panel and from Amelia.
Is there a way to insert this 'log out' action from [ameliacustomerpanel] somewhere else on my website to ensure that logging out of the website also logs the student out of the panel?"
Thanks in advance.
Hello Francis,
Thank you for reaching out to us.
In order to allow existing WordPress users to log both into WordPress (or WooCommerce, or some membership plugin) and Amelia using the same credentials, customers and employees in Amelia need to have "Amelia Customer" or "Amelia Employee" user role assigned to them.
If there's a created WordPress user, but they don't yet have anything purchased through Amelia, you need to enable "Automatically create Amelia Customer user" in Amelia Settings/Roles/Customer, and then - after they log into their WordPress user, once they land on Amelia's booking page, their details will already be populated, and once they purchase the appointment, they'll be added to Amelia/Customers; linked to the WordPress user, and they will be able to visit the Amelia Customer Panel without logging in (since they're already logged in as a WordPress user).
If you already created a user with "Amelia Customer" but they haven't purchased anything with Amelia yet, that user won't be linked to any customers you have in Amelia, so before they are able to log into Amelia's Customer Panel, they either need to book an appointment while they're logged into WordPress, WooCommerce, or a membership plugin, or you need to create a customer by going into Amelia/Customers/Add Customer. When you create a customer, link that customer to the WordPress user, and that's it. After that, they will be able to log in with the same password that's used for logging into WordPress.
Please take a look at our video about this: https://youtu.be/nm7f7RDSYow
Please note: If you change the password of the employee, or the customer through WordPress, the same password will apply to Amelia's Panels, but if you change the password through the Customer or the Employee Panel in Amelia, that password will not be applied to the WordPress user role. This is because Amelia doesn't require a WordPress user to be created in order to grant access to the panels - that is optional, and Amelia can't modify the password for WordPress users.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables