Hi there, I'm trying to update a custom role I have for clients with capabilites of wpamelia-manager but I'm having issues with it.
First off, I am not willing to use plugins. Temporarily, I use "user role editor" in order to see effectively which capabilities each user has, and when I'm done copying over functions.php I remove it. This has worked so far over the years but to my surprise when I added the capabilities of wpamelia-manager nothing is seen on sight when I log in as my custom role (see screenshot - not even the amelia icon is there).
I have double-checked the capabilities to the point where I installed again "user role editor" and compared my custom role with wpamelia-manager, and all the amelia capabilities were enabled. There must be some capability I'm missing, would you be so kind to copy the full list of capabilities of wpamelia-manager? here's the list I have so far:
As far as I can see, you only added "amelia_read_settings", but that shouldn't cause any issues.
I reached out to our development team, to see if there's maybe something in the code preventing similar user roles from being created and I'll get back to you as soon as I hear from them.
It is weird, never happened to me before with any other plugin. If there's any code blocking this possibility, please ask them how I can override it, this is the custom role I use for all my clients so it is essential to make it work in order to use this plugin.
Looking forward to your response, but please be a little bit faster, 3 or 4 days response time is just too much. Thanks!
Sorry for the delay, we don't work on weekends, and we have colleagues on vacation, so our response times are a bit longer than usual.
Our developers said that there are a few places in the code where the plugin checks if the user is an admin or a manager. That will cause a problem. I'm checking with them if there's a way to override it.
It would need to be modified in the code, which falls under custom work which we do not provide.
Unfortunately, I can't send you the source code so you can try and do this on your own, I don't know if there's anything else I can do for you. You may want to edit the Amelia Manager user role and apply additional capabilities to it instead of creating a new role, and I'll forward this as a suggestion to our management and development teams.
You can also add this for voting on this page I'm sure there will be others who would benefit from this.
I understand that you won't do the job for me but not even providing guidelines on how to do it myself? Also, I'm honestly surprised that a feature as important as the role control is under standards that no other plugin that I've worked with is. Makes me wonder about the job put into the engines of this plugin.
Well, anyway, could you please check my other ticket (it is a private one and it's 5 days old already) because if that other thing is not working either then I can as well save my time and look somewhere else. Thanks again Aleksandar.
I'll check with our developers again if there's a way to modify this behavior, but I can't make any promises. The roles in Amelia are restricted on purpose, but that was done over 4 years ago when Amelia was first created and didn't have as many possibilities as it does now.
I sincerely hope there's a way to remove this without refactoring the code. I'll get back to you when I have news.
I'll take a look at your other ticket, and I'll respond there.
Good morning Aleksandar, I understand certain restrictions, but there should be better and intuitive implementations. An example that I found recently and that might be constructive:
- I am lately working with the "flexible invoices" plugin that also has restricted capabilities. I was running through a similar problem in the sense that I would add capabilities in the "user role editor" plugin as well as trying to add capabilities through code for my custom role user but they wouldn't work. They obviously had it blocked... BUT then I realized there was an option in their settings page to SHARE the admin permissions with any other user role of your choice (see screenshot - it is in spanish but you can get the idea).
That is a probably simpler solution than to make the whole code compatible with wordpress standards when it comes to user roles, and you still get restricted uses. I think this is worth taking into consideration for your developers, because it provides a much more fluent workflow for many developers.
Anyway, thanks for taking your time and let's see whether we can fix the other issue.
Hi there, I'm trying to update a custom role I have for clients with capabilites of wpamelia-manager but I'm having issues with it.
First off, I am not willing to use plugins. Temporarily, I use "user role editor" in order to see effectively which capabilities each user has, and when I'm done copying over functions.php I remove it. This has worked so far over the years but to my surprise when I added the capabilities of wpamelia-manager nothing is seen on sight when I log in as my custom role (see screenshot - not even the amelia icon is there).
I have double-checked the capabilities to the point where I installed again "user role editor" and compared my custom role with wpamelia-manager, and all the amelia capabilities were enabled. There must be some capability I'm missing, would you be so kind to copy the full list of capabilities of wpamelia-manager? here's the list I have so far:
Is there anything else I should keep in mind to make this work?
Thanks in advance!
Hello Eduardo.
You should have no issues duplicating the user role capabilities. These are the capabilities that Amelia Manager has:
As far as I can see, you only added "amelia_read_settings", but that shouldn't cause any issues.
I reached out to our development team, to see if there's maybe something in the code preventing similar user roles from being created and I'll get back to you as soon as I hear from them.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
It is weird, never happened to me before with any other plugin. If there's any code blocking this possibility, please ask them how I can override it, this is the custom role I use for all my clients so it is essential to make it work in order to use this plugin.
Looking forward to your response, but please be a little bit faster, 3 or 4 days response time is just too much. Thanks!
Sorry for the delay, we don't work on weekends, and we have colleagues on vacation, so our response times are a bit longer than usual.
Our developers said that there are a few places in the code where the plugin checks if the user is an admin or a manager. That will cause a problem. I'm checking with them if there's a way to override it.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thanks Aleksandar, I wasn't aware that you're not working on weekends. Looking forward to your response.
Unfortunately, Eduardo, not good news.
It would need to be modified in the code, which falls under custom work which we do not provide.
Unfortunately, I can't send you the source code so you can try and do this on your own, I don't know if there's anything else I can do for you. You may want to edit the Amelia Manager user role and apply additional capabilities to it instead of creating a new role, and I'll forward this as a suggestion to our management and development teams.
You can also add this for voting on this page I'm sure there will be others who would benefit from this.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
I understand that you won't do the job for me but not even providing guidelines on how to do it myself? Also, I'm honestly surprised that a feature as important as the role control is under standards that no other plugin that I've worked with is. Makes me wonder about the job put into the engines of this plugin.
Well, anyway, could you please check my other ticket (it is a private one and it's 5 days old already) because if that other thing is not working either then I can as well save my time and look somewhere else. Thanks again Aleksandar.
I'll check with our developers again if there's a way to modify this behavior, but I can't make any promises. The roles in Amelia are restricted on purpose, but that was done over 4 years ago when Amelia was first created and didn't have as many possibilities as it does now.
I sincerely hope there's a way to remove this without refactoring the code. I'll get back to you when I have news.
I'll take a look at your other ticket, and I'll respond there.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Good morning Aleksandar, I understand certain restrictions, but there should be better and intuitive implementations. An example that I found recently and that might be constructive:
- I am lately working with the "flexible invoices" plugin that also has restricted capabilities. I was running through a similar problem in the sense that I would add capabilities in the "user role editor" plugin as well as trying to add capabilities through code for my custom role user but they wouldn't work. They obviously had it blocked... BUT then I realized there was an option in their settings page to SHARE the admin permissions with any other user role of your choice (see screenshot - it is in spanish but you can get the idea).
That is a probably simpler solution than to make the whole code compatible with wordpress standards when it comes to user roles, and you still get restricted uses. I think this is worth taking into consideration for your developers, because it provides a much more fluent workflow for many developers.
Anyway, thanks for taking your time and let's see whether we can fix the other issue.
I agree with you, Eduardo, and I can see how "Flexible Invoices" used that little feature - it'd be good for Amelia as well.
I'll forward this latest comment to our developers again, and as soon as I hear from them I'll let you know.
It's the holiday season, so we're short-staffed a bit, so sorry for the delays.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables