Okay
  Public Ticket #2200930
I can not Map Amelia Employee to a Wordpress User
Closed

Comments

  •  3
    Nur Hafiz Ramadhona started the conversation

    I can not Map Amelia Employee to a Wordpress User. The error message is that no user that Match mu search.

  • [deleted] replied

    Hello Nur Hafiz Ramadhona, 

    Thank you for your purchase!

    In order to connect your Amelia Employees to WordPress users they need to have Amelia Employee role in your WordPress Users. So, please give them this role and you will see them in the dropdown. 

    If you want/need your WP users to have several roles, you can use some plugin for this. For example, several users have said they are using and are satisfied with User Role Editor. You can check it out if you need something like this. The role that can't be mixed with other roles is the Admin role, since it has all the privileges and access to everything in WP. 

    If you have any further questions or concerns feel free to ask, 

  •  3
    Nur Hafiz Ramadhona replied

    The mapping of Amelia Employee to Wordpress User is working fine now. Can you please eloborate step by step how to setup Next Day Notification? I am tryng to buy Balance Recharge for SMS Notification but it redirect me to Paypal account and got this error message

  • [deleted] replied

    Hello Nur Hafiz Ramadhona,

    Great, glad to hear that.

    Scheduled notifications require a bit of additional configuration with your server cron scheduler. The command that has to be added can be found on the “Notifications” page when notification that requires scheduling is active. You can recognize these notifications by the clock icon next to the notification name. Copy command and paste it in the cron file. The command looks like this:

    */15 * * * * https://yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send

    You can see the more detailed tutorial of how to set up cron at this link.

    If you are not familiar with this you can use plugin WP Crontrol for creating a cronjob.

    In the Tools -> Cron Events admin panel, click on the “Add PHP Cron Event” tab underneath the cron event table.

    1..png1.-1024x447.png

    In the form that appears, enter the schedule and next run time in the boxes. The event schedule is how often your event will be executed. In the “PHP code” area, enter the PHP code that should be run when your cron event is executed. Please insert this:

    file_get_contents("https://yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send");

    You don’t need to provide the PHP opening tag (<?php).

    2..png2.-1024x454.png

    Please replace “https://yourwebsite.com” with your real web address.

    If you don’t see a good interval, then add one in the Settings -> Cron Schedules admin panel or click on the link “Manage Cron Schedules”. You will find an example of how you can make custom interval inserting:

    • Interval name
    • Interval(in seconds)
    • Display name
    3..png3.-1024x346.png

    and click “Add Cron Schedules” and it will be added.

    4..png4.-1024x123.png

    When you made custom interval you need to go back to  Tools -> Cron Events admin panel and click on the “Add PHP Cron Event” tab underneath the cron event table where you will insert that custom interval and all other fields that are described above. After clicking on “Add PHP Cron Event” it will be added on Event table and you are done.

    5..png5.-1024x224.png


    Could you please tell me if you can access/pay with PayPal in no relation to Amelia on your server? 

    Thanks!


    Note: When you have questions or issues which are not related to the title of the active ticket can you please open a new ticket, and we will help you there. This way, issues and questions which are related to different subjects will be in different tickets so other customers or our support agents can find them easily. Our policy is to have one issue or question per ticket.

    Thank you for understanding.


  •  3
    Nur Hafiz Ramadhona replied

    thanx for the info...

    I got one more question.

    On the version 2.1 (released 14.08.2019), it says that:

    Feature: Multiple locations – now each employee can work on multiple locations and you can set up a customized schedule with different services and locations for each working period.

    And yet I can not set an employee on two different locations. I only get to choose one location for each Employees.

    Is there something that I missed?

  • [deleted] replied

    Hello Nur Hafiz Ramadhona, 

    You are welcome!

    When you create the employee, you can add only one Location (one default location) in the Details section, but when you go to the 'Work Hours' section you can set different time periods for each day, and assign different services and locations for each work time period to this employee. 

    8165176006.png

    Hope this helps, 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help,