Okay
  Public Ticket #1811496
Google Calendar
Closed

Comments

  • mdw864 started the conversation

    I do not see the option to add google calendar sync to the employees general settings. Can you help find this?

  •  119
    Isidora replied

    Hi mdw864,

    Thank you for your inquiry.

    First you need to set Google Calendar Settings on the plugin's settings page, more about this you can read here. After that go to the Employees page, open the employee's profile and you will see an option Google Calendar (more about it you can read here). 

    If you want each employee to connect his calendar, they can do this. You can add a WordPress user role to each employee (this option is also on the employee's profile, it is called WordPress user). Once you add it, the employee will get an automatic email with login details so he can log in into the WordPress panel, change his profile information (connect Google Calendar), and track his appointments.

    Please help us make Amelia even better by answering 10 quick questions about your user experience. It will only take 2 minutes for you, but will mean a lot for us to understand our customers better! https://www.surveymonkey.com/r/87ZGC5R

    Kind Regards, 
    Isidora Markovic 
    isidora.markovic@touchmesoft.net

     

  • mdw864 replied

    I am there... and I get all the way to this point in the picture

    What am I supposed to type in the Authorized Javascript Origins box?

    Am I supposed to leave it set at the default Example Domain that is currently www.example.com in the box?

    If I'm supposed to enter a different website, what website am I supposed to enter? Apologies for being difficult, all this is all the way out of my element. I was a farmer for many many years.

    Attached files:  Question.png

  • mdw864 replied

    I left it as www.example.com and got this error message

    400. That’s an error.

    Error: redirect_uri_mismatch

    The redirect URI in the request, https://truemassagetherapy.co/wp-admin/admin.php?page=wpamelia-employees, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/955191868946-t9pjmcgjmshh734p1nkfpes3ceqbn6d7.apps.googleusercontent.com?project=955191868946

    Learn more

    Request Details

    What is www.example.com supposed to be set as?

  •  288
    Milos replied

    Hi mdw864,

    You need to add https://truemassagetherapy.co/wp-admin/admin.php?page=wpamelia-employees in the Authorized redirect URIs field. Can you please add it and see does it work?

    Please help us make Amelia even better by answering 10 quick questions about your user experience. It will only take 2 minutes for you, but will mean a lot for us to understand our customers better! https://www.surveymonkey.com/r/87ZGC5R

    Kind Regards,
    Milos Timotic
    milos.timotic@tms-outsource.com

  • mdw864 replied

    Ok I have entered https://truemassagetherapy.co/wp-admin/admin.php?page=wpamelia-employees in the Authorized redirect URIs fieldand. 

    Authorized Javascript origins now says https://www.truemassagetherapy.co.

    I now get this response


    Not Acceptable!

    An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.

    Attached files:  Untitled.png

  •  288
    Milos replied

    Hi mdw864,

    Ok that's better. This is happening because of the mod_security on your server. Mod security does not allow me to pass url as a  url parameter. You need to contact your hosting provider and ask them to disable mod_security or to allow url parameter in the url.

    After that everything will be fine and you will be able to connect the Employee with Google Calendar.

    Please help us make Amelia even better by answering 10 quick questions about your user experience. It will only take 2 minutes for you, but will mean a lot for us to understand our customers better! https://www.surveymonkey.com/r/87ZGC5R

    Kind Regards,
    Milos Timotic
    milos.timotic@tms-outsource.com

  • mdw864 replied

    I now get this message.

    Attached files:  Untitled.png

  • mdw864 replied

    Any other ideas for why this is happening?

  •  288
    Milos replied

    Hi mdw864,

    Most probably you have deleted the credentials that you've created in https://console.developers.google.com/. Can you please check?

    Please help us make Amelia even better by answering 10 quick questions about your user experience. It will only take 2 minutes for you, but will mean a lot for us to understand our customers better! https://www.surveymonkey.com/r/87ZGC5R

    Kind Regards,
    Milos Timotic
    milos.timotic@tms-outsource.com

  • mdw864 replied

    Is there any way to chat so I can get this done in a couple minutes instead of email? I do not own a computer and I only have access to a computer when I travel 21 miles to the library to do this.


    It states that I do have credentials. There are alphanumerics in the Client ID as well as the Client Secret areas. What else could it be?

  •   Milos replied privately
  •   mdw864 replied privately
  •   mdw864 replied privately
  • mdw864 replied

    Hello? I need to leave here soon. I've been here all day waiting

  • mdw864 replied

    I still need to figure this out. I've restarted a whole new project and I'm still getting the same message. I have not deleted anything at all. Is there a chat option? I called off work hoping to get this resolved today. It's been 4-5 days now with the same issue

    Attached files:  Untitled.png

  • mdw864 replied

    Bluehost has said they have whitelisted whatever mod security was there for your company

  • mdw864 replied

    This library is closing now and they are kicking me out. I am guessing on everything now and this is the last error I've received now so i am truly at a loss on what to do. I really need a lot of help as the only thing i really know about the internet is craigslist and ebay.

    Attached files:  Lost.png

  •   Milos replied privately
  •   mdw864 replied privately
  •   Milos replied privately
  •   mdw864 replied privately
  • mdw864 replied

    Have you received my login information?

  •   Milos replied privately
  •   mdw864 replied privately
  •   mdw864 replied privately
  •   mdw864 replied privately
  • mdw864 replied

    Hello?

  •  288
    Milos replied

    Hi mdw864,

    I have successfully created a Project in Google Console and the Credentials, but I can't login to your WordPress. Can you please check your WordPress login credentials so I can add the Google Project Credentials on the Amelia Settings, or you can add these credentials on the Amelia Google Settings and then you will be able to connect the employee with the Google Calendar:

    Client ID:

    350219590376-gkl9sp224pgevfjg693vp3746eio0rj1.apps.googleusercontent.com

    Client secret:

    nJysuJUfS3hv5Hgm6QtNcz32

    Please help us make Amelia even better by answering 10 quick questions about your user experience. It will only take 2 minutes for you, but will mean a lot for us to understand our customers better! https://www.surveymonkey.com/r/87ZGC5R

    Kind Regards,
    Milos Timotic
    milos.timotic@tms-outsource.com

  •   mdw864 replied privately
  •   mdw864 replied privately
  •   mdw864 replied privately
  •   mdw864 replied privately
  • mdw864 replied

    Hello?


  • mdw864 replied

    They said something about php and ihp settings. no idea what they are talking about

  • mdw864 replied

    Could I get a response please?


  •   Milos replied privately
  • mdw864 replied

    Copied: I am on the phone with my host right now. I am on a shared server. they stated they cannot delete Mod_security on a shared server. what else can i do?

  • mdw864 replied

    I am no longer on the phone with my host. 

    I am on a shared server. they stated they cannot delete Mod_security on a shared server due to security issues with everyone else who is sharing the server with me. what else can i do? They also stated they did not know what was meant by allowing "url parameter in the url" 

  •  288
    Milos replied

    Hi mdw864,

    I am aware that they can't delete it, but they can allow this rule to allow URL as URL query parameter. When they allow this you will be able to connect to your Google Calendar. There is no other way then allowing this rule.

    Please help us make Amelia even better by answering 10 quick questions about your user experience. It will only take 2 minutes for you, but will mean a lot for us to understand our customers better! https://www.surveymonkey.com/r/87ZGC5R

    Kind Regards,
    Milos Timotic
    milos.timotic@tms-outsource.com

  • mdw864 replied

    I provided 7 screenshots and gave the user information. is there a way you can make this work? Or is this plug-in incompatible with shared hosting

  • mdw864 replied

    Just got you reply, give me a moment to call them back


  • mdw864 replied

    That is what they sent me. I have no idea what any of that means

  •  288
    Milos replied

    Hi mdw864,

    The URL is already valid. You can send them this URL, so they can see that is valid but it's not working because of mod_security. These parameters are generated from Google and we can change it.

    https://truemassagetherapy.co/wp-admin/admin.php?page=wpamelia-employees&state=7&code=4%2FtgDmURkgQfh4Fpv4lymtT65leZW0s-8avfPsps1oxua_4HduYWkm5hnNLQNGLJlwJV8BBJtfGJTsSBK-zpBHW18&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcalendar#/employees

    Please help us make Amelia even better by answering 10 quick questions about your user experience. It will only take 2 minutes for you, but will mean a lot for us to understand our customers better! https://www.surveymonkey.com/r/87ZGC5R

    Kind Regards,
    Milos Timotic
    milos.timotic@tms-outsource.com

  • mdw864 replied

    Ok... This seems to have worked. The Google sign has changed colors, and there's an option to choose between Family and my google email account. 

    However, when I look at the calendar in Amelia, none of the stuff that is currently saved on my Google Calendar is showing up on the Amelia calendar. What settings am I supposed to change?

  •   mdw864 replied privately
  • mdw864 replied

    Hello?

  •  394
    Milan replied

    Hi mdw864,

    Milos is on vacation, so I will help you out.

    1.) Unfortunately at the moment we don't have bulk option so you can import all employees at ones. You have to insert them through back-end of the plugin one by one.

    2.) Sorry but I did not quite understand what are you mean by this. Can you please explain me more and send me some example/screenshot, so I can give you my suggestion.

    3.) If I understand you right, you have to insert data for employees in Amelia plugin. If you mean about the roles then users have to have same roles in Amelia plugin and also in Woocommerce.

    4.) You have to make new employees and if you set up Google integration settings you will have option to connect your employees with Google calendar.(attachment)

    5) Please note: In order to use 2-way Google synchronization properly your employees should set statuses of the events in their Google calendars as Busy. In that way, time slots occupied by those events will be removed from Amelia calendar.

    Enable option Remove Google Calendar Busy Slots in Google settings in Amelia plugin if you want to remove the busy slots in your employees’ Google Calendars from their work schedules in Amelia. When enabled, time slots from the Amelia Calendar will be removed whenever there is an event in the Google Calendar. If you turn it off then slots for those events will not be removed from calendar in Amelia plugin.

    Best regards.

    Attached files:  Screen Shot 2018-12-21 at 13.07.35.png

    Check out our documentation for Amelia - WordPress booking plugin on this link.

    Check out our documentation for wpDataTables - WordPress table plugin on this link.

    Kind Regards,
    MIlan Jovanovic
    milan.jovanovic@touchmesoft.net