Okay
  Public Ticket #1811496
Google Calendar
Closed

Comments

  •  3
    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?

  • [deleted] 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.

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

  •  3
    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?


  • [deleted] 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?

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


  • [deleted] 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.

  •  3
    mdw864 replied

    I now get this message.


  •  3
    mdw864 replied

    Any other ideas for why this is happening?

  • [deleted] replied

    Hi mdw864,

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

  •  3
    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?


  •   [deleted] replied privately
  •   mdw864 replied privately
  •   mdw864 replied privately
  •  3
    mdw864 replied

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

  •  3
    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

  •  3
    mdw864 replied

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

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

  •   [deleted] replied privately
  •   mdw864 replied privately
  •   [deleted] replied privately
  •   mdw864 replied privately
  •  3
    mdw864 replied

    Have you received my login information?


  •   [deleted] replied privately
  •   mdw864 replied privately
  •   mdw864 replied privately
  •   mdw864 replied privately
  •  3
    mdw864 replied


    Hello?

  • [deleted] 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
  •   mdw864 replied privately
  •   mdw864 replied privately
  •   mdw864 replied privately
  •   mdw864 replied privately
  •  3
    mdw864 replied

    Hello?


  •  3
    mdw864 replied

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

  •  3
    mdw864 replied

    Could I get a response please?


  •   [deleted] replied privately
  •  3
    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?

  •  3
    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" 

  • [deleted] 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.

  •  3
    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

  •  3
    mdw864 replied

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


  •  3
  •  3
    mdw864 replied

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

  • [deleted] 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

  •  3
    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
  •  3
    mdw864 replied

    Hello?

  •  471
    Isidora 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.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables