Okay
  Public Ticket #2910471
WP user sync
Closed

Comments

  •  5
    bengolfrates started the conversation

    Hi,
    I have Buddy Boss, Woocommerce and Amelia.
    I am very familiar with both plugins and am experienced WP web designer.

    I understand your new Buddyboss integration.

    We love Amelia, but hate the WP user configuration that you have adopted. Your plugin only works well if there are no other plugins that call on user information, like woocommerce or Buddyboss or any membership type plugin.

    I can't figure out why you have made user data so difficult to integrate with other plugins by using a different data table to store: first name, last name, email, phone.

    Is there anyway to sync Amelia customer data with WP user data?

    I think that after a Amelia customer is attached to a WP user, then Amelia first name, last name, email should be in sync with WP user.
    Otherwise user has to change details in multiple locations. (This confuses the customer)

    If using Buddyboss or woocommerce - user updates profile, but no change is made to their Amelia profile. Customer also has to look for Ameila profile page and to change their details in Ameila profile too.

    Do you think you will ever resolve this issue? 
    I know all your customers that use Amelia with any other user plugin will be having this frustration.

    Please help or show snippet that we can use in functions file.

    Or add select box in settings 

    • Keep WP User and Amelia Customer in Sync?
  •  5
    bengolfrates replied

    I have found a bug in the Buddy Boss Integration.

    [   ] Every user with the role of subscriber will have the role of Amelia Customer added.

    [Checked] 

    • IF user signs up to website and then user books appointment-
    • THEN Amelia Customer is created BUT user IS NOT linked to Amelia Customer.

    Your code is checking IF current user role IS NOT "Amelia Customer" ? before linking together.

    PROBLEM

    • IF user is granted "Amelia Customer" role via integration-
    • THEN user can't view Amelia profile or view appointments

    ---------------------------------------------------------------------------------------------------------

    [Un-Checked]

    • IF user signs up to website and then user books appointment-.
    • THEN Amelia Customer is created AND user IS linked to Amelia Customer.

    Great!  Therefor above setting must be unchecked.

    PROBLEM (If un-checked)

    • IF user signs up to website and DOES NOT booked an appointment online-
    • THEN user DOES NOT have role "Amelia Customer"
    • AND "Admin" CAN NOT add new customer to "Word press user"

    Your code is only listing users that have role = "Amelia Customer" AND not already in Customer List.

    There is no way for Admin to create a new appointment and link it to an existing Word Press user because the drop down list will always be empty.

     [ BUTTON ] Create Customers from WP Users with Amelia Customer Role.

    This button only creates new customers if existing email does not exist in customers table. It doesn't link them together. 
    So this button would have to be pressed every morning so that customer could be found when Admin makes a new appointment.

    ----------------------------------------------------------------------------------------------

    SOLUTION

    Replace logic for checkbox.

    New logic:

    [   ] Automatically Create New Amelia customer when Word Press user is created.


  • [deleted] replied

    Hi there

    Thank you for the insight. It is a quite basic integration at the time being, we are collecting all useful information and insight on how to make it better in the future.

    This has been forwarded to our developers and they will work on it in the future.