Okay
  Public Ticket #2379828
Employee Register and Set from Frontend
Closed

Comments

  •  2
    lan started the conversation

    Good day, just as customer can register and have frontend panel, I want employees to also be able to register and have frontend panel where they can configure their account.

    This will make a world of difference form me. Thanks!

  • [deleted] replied

    Hello Ian, 

    Unfortunately, there isn't a front-end Employee panel in Amelia yet, but we are currently working on this feature and it will be implemented in one of the following updates of Amelia. I can't say exactly when that will be, though, but it should be soon. 

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

  •   lan replied privately
  • [deleted] replied

    Hello Ian, 

    Unfortunately, I don't think this can be achieved with another plugin. We don't have integration with another plugin for this purpose. 

    There isn't a shortcode for showing Employees on the front-end in Amelia. You can find here all of the shortcodes that you can use on your pages for Amelia. 

    If that would be convenient for your case, you can probably manage to have employees information/profiles on your pages, in no connection to Amelia, and put a shortcode for each one of the employees separately, using the shortcode with specified ID of the employee. 

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

  •  5
    Tania & John replied

    Hi Marija,

    I think I've asked the same question before, this feature is obviously what many of us want so I'm looking forward to this release! But in the meantime is there a way that we can use Zapier webhooks to add any outside information from contractors registrations into Amelia employees so we don't have to do it all manually?

    Thanks,

    Tania

  • [deleted] replied

    Hello Tania, 

    Yes, we had this request from several users and this is why we are implementing it as a feature in Amelia. Hopefully it will be released soon. 

    Unfortunately, there isn't a possibility to import some data to Amelia from some external source.

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

  •  2
    lan replied

    Just incase some also needs help with this, due to this this unavailable on Amelia. You will need to use other plugin to cover up for this weakness.

    I presently use Ultimate Membership Plugin to manage my registrations, logins, and other account related management.

    To better customize Amelia Roles to fit into UM, I use User Role Editor.

    With those, you can have a functional frontend control, although I had to drop AMelia frontend panel all together.

    I am hoping that this feature is sorted soon.

  •  5
    Tania & John replied

    That's great to know Ian. I've also tried to use some user manager plugins but it played havoc so had to cut it. I'll give this a go as this is something we need implemented before we can launch.

    Thank you for the info!

    Tania

  •  2
    lan replied

    Good day TMS, I got an email recently that there is a new release of Amelia.

    Is this feature included in the new release.

    Regards.

  •  2
    lan replied

    In order to make this work, I had to implement a temporary solution. I had to give employees access to the backend with admin customization plugins

    But the issue now is I need to ensure that the admin labels are consistent with the labels stated in labels setting on Amelia. Labels like dashboard, calendar etc. I set employee to musician and customer to fan. It is a little confusing when a musician gets to the admin and he/she sees employee and customer labels everywhere.

    So can you assist with a hook to change admin labels for employers across board.

    Just incase you are wondering how I customized admin, I used;

    • Admin Menu Editor
    • White Label CMS

    Also, I want to allow employee to see only their service on Service page so that they can only edit their services not other employees services.

    Finally, how can I prevent employees from editing service categories???

  • [deleted] replied

    Hello Ian, 

    The front-end Employee panel will be implemented in the next update of Amelia. In this release we implemented Recurring appointments feature and some smaller features and improvements, you can check out the Changelog here

    You can probably change the strings directly in the file BackendStrings.php which you will find at location 

    wp-content/plugins/ameliabooking/src/Infrastructure/WP/Translations

    There is the Amelia Employee WordPress user role, so you can use this user role, as this user role doesn't give them permissions to create/edit Services/Categories. And there are some permissions you can enable/disable for this user role in Amelia -> Settings -> Roles settings. 

    If you have any further questions feel free to ask. 

  •  2
    lan replied

    Can your developers assist with a hook so that I don't mistakenly break the plugin while trying to customize it.

    The permission under Amelia is not granular enough to only determine if they should see only their individual service. They can presently edit services.


  • [deleted] replied

    Hello Ian, 

    Unfortunately, no, we don't have nor we can't provide such hooks.

    The permission under Amelia is not granular enough to only determine if they should see only their individual service. They can presently edit services.

    Could you please tell me what Amelia user role do you use? As Amelia Employee user role doesn't give the permission to users to edit Services. if you are talking about them configuring their services, this can be disabled in Roles settings and it means if they can assign created services to them or not. 


  •  2
    lan replied

    You sold me a plugin and you wont assist me in customizing it? If I have to change the labels in code, then every time there is n update,  the customization will be lost hence my reason for asking for a hook. Who better to provide a hook than the creator of the plugin.

    So what is the whole point of this support please? Besides the only reason i need this kind of customization is because of shortcomings in the plugin.

    I think I need a refund! 

  • [deleted] replied

    Hello Ian, 

    Our support doesn't cover customization of the plugin, unfortunately. We can only recommend some services for customization like Codeable - https://codeable.io/?ref=l1TW1 or Kraken - https://wpkraken.io/?tms-plugins (by the links they know we send you there) so if you want you can check this out with them. 

    We offer support for configuring the plugin and using it with the settings and integrations it has. 

    The Employee front-end panel will be implemented in the next update of Amelia, like I previously said, if that could help. 

    I asked about which user role you use for Amelia, as the Amelia user roles have specific permissions, and if you use the Amelia Employee user role they can't create/edit services. There are roles settings for these in Amelia -> Settings and some permissions can be enabled/disabled for this user role using the User role editor. 


  •  2
    lan replied

    The Userole I used is Employee. This is just a simple request, just like a wordpress post authour will only see the posts he/she posted on the post page. I want each employee to only see their individual services on their service so that they can only adjust those. Right now they see all the services assigned to other people and they can click on it and reassign to themselves. I have adjusted employee permission and removed edit-service but that only yanks out the page from them.

    Also regarding changing label from code base so that labels like employee becomes Musician at the admin. Can some guide me to create a plugin hook to change this without tampering with plugin scripts. Which will all be lost when update comes. Instead of referring me to developer that will charge me and you get a referral commission on that service. After getting paid for the plugin.


  • [deleted] replied

    Hello Ian, 

    I see now, you were talking about Assigning services to employees, not actual editing them, like the admins do. At the moment, we have one task for the developers in connection to this - hiding services that are not assigned to the employee when they create appointments or search. But this isn't the same as your request as if you allow the option 'Configure services' they will be able to see all created services, and if this option is disabled they won't see this tab, like you mentioned. I will see if this modification can be added to the task as well, if not I will add it as a feature request so it can be considered in the future. Unfortunately, we can't say exactly when this task will be implemented. 

    Regarding labels, this can only be changed with using some translation method, and you will need to apply the change after each update of Amelia, there isn't a possibility to change this. The .mo and .po files are read from the languages folder, and these are overridden with the update. 

    Strings can be changed using POEDIT or Loco Translate for example. If you want to use POEDIT then this is the instruction:

    1. Download Amelia from TMS Store

    2. Unzip the downloaded file.

    3. Download and install POEDIT

    4. Open the program and open the file from the extracted folder on your computer ameliabooking/languages/en_US/wpamelia-en_US.po.

    5. Change the strings you want.

    6. Save the translation.

    7. Go to ameliabooking/languages/en_US/ folder and copy these two files - wpamelia-en_US.po and wpamelia-en_US.mo back to your website to the location ../wp-content/plugins/ameliabooking/languages/en_US/.

  •  2
    lan replied

    Thanks Marija, the translate tool worked like an angel. I was able to change all my desire label in a clean way. My only concern now is to prevent the change from being lost every time there is an update.

    As for the permission, I will just remove write service permission for employee pending the time you guys roll out the employee frontend feature and permission for individuals to only be able to see and edit only their services.

  •  2
    lan replied

    Please, I am really having issues with this EMPLOYEE AWAY thing.

    So I found some other tickets that explains what it means that it is out of the employee working hour. Which makes it impossible to book employee. What if I want to book employee ahead of time?

    However, to solve this problem, I figured if I change it under setting>working hour that should fix the issue, but when I change it and save it, it shows successfully updated but I check again, nothing changed. It keeps reverting back to former work hours both on setting and individual employees work hour. Why is this not updating? In fact no changes is updating in settings page, it doesn't do the spin load but it shows updated but nothing changes when you check back.

    Then, how can I set booking limit per day???

  • [deleted] replied

    You are welcome, Ian. 

    The available time slots for booking are set by configuring the employees' work hours. So, the way you set the work hours for the employees and assign services there, will be the way they are available for booking. If you are talking about the Away status of the employees in the back-end of Amelia, this is just a label, it doesn't have any impact on the functionality or the available time slots. So, you can book appointments even though it says away for the employee.

    There isn't a possibility to set a limit to the number of appointments per day, if that is what you want to achieve. You can only provide a specified number of available time slots for booking per day by configuring the employees' work hours. 


  •  2
    lan replied

    So i figured out the reason amelia settings is not saving changes made despite the success message that pops out after saving.

    It is as a result of plugin conflict from a plugin called wp-hide, which is a security plugin that allows wordpress admin to change or mask several core wp urls and asset for security and customization purposes, I think the plugin is well written as it very rarely conflicts with other plugins. I particularly find the feature  that allows me change backend url very useful because I had to open up my admin backend to employees so that they can manage some settings for themselves.

    With the plugin, I was able to change mydomain/wp-admin to mydomain/pseudoname which works fine with over 30 plugins presently running on the site except for Amelia. 

    Every time I change to mydomain/pseudonameamelia stops taking setting changes globally. When I change back to mydomain/wp-admin amelia gets all cozy again. I am guessing the wp-admin slug is hard-coded somewhere in the plugin script controlling some major plugin assets.

    However, I really need that url changed because of the users that will be accessing my wp backend. Please how do we resolve this, kindly assist.

    God bless you!

  • [deleted] replied

    Hello Ian, 

    Unfortunately issues like conflicts with third party plugins or themes are always possible due to the nature of WP. Yes, wp-admin is hard-coded on several places in the plugin. You can try changing that in the 'ameliabooking.php' and check if that could help out, but we can't say if it will as wp-admin is hard-coded on other places too. 

  •  2
    lan replied

    That is why I am asking, I am not sure how to solve the problem. Can your developers try to recreate the scenario and see a possible solution. Note that the plugin is popular so if you can make amelia work with it, that will be a good thin for you guys.

    Please assist, I dont want to fiddle with the code base of the amelia. I want a sure solution. I can't use an hard-code, I will need a dynamic value.

  • [deleted] replied

    Hello Ian, 

    I forwarded this to the developers so they can check it out and see if anything can be done about this conflict and I will get back to you as soon as I get some feedback from them. 

  •   [deleted] replied privately
  •   lan replied privately
  •   [deleted] replied privately