Angel

Angel

Under review

This is a long request, more like a small project. So I will try my best to explain it here. I am happy to talk with you Dennis to explain it better and see how we can help. The idea is to give on core a section that we, the admins, can configure completely, and we can add buttons, options and such to our clients. But those buttons, options and the content on that page, that will not generate actions on ploi, but on thrid party extensions connected to ploi core with a "extension or api" module.


An example easy to understand: I have my own MainWP installation, and that has an API. https://mainwp.dev/rest-api/ (this could work with managewp or any other third party that has an API) I would like to be able to setup a button, accessible to the client, that when the client press it will launch the API request we setup on ploi core. This means we will be able to have our clients doing actions on third party software. So in our example, I would create an "update plugins" button on my core page. The client will enter the core panel, go to my customised section and then he will be able to press that button to update their plugins. The update won´t be made by ploi, but on the third party.


There are so many ways to build this, it could be done with third party extensions, or allowing us to add custom code into our core installation directly. Could be an option to write down a command for the button, that will be run on cli on the site, for example. Connect that with WP cli will allow to do so many things with no need for third party integrations (clear caches, flush permalinks, db optimization, delete spam, etc). But instead of the need to create all those functionality on ploi, you just need to create an option for us to write down the command we want to run on our server/site. That will open a big door for anything.

Another way to do this, is to have a list of commands you can select from, but that will require maintenance from your side, and a big extra work.

I think giving generic options and fields to populate will make this easier to develop and maintain, but any approach will be good.

Let me know if you need more clarification. What do you think?

Dennis

Dennis

·

I think it's interesting and I'll be looking into that 👀

Angel

Angel

·

Thanks. I think this will help also to focus on the "core" of ploi, which is managing servers and not trying to add every single third party tool into it, but at the same time, allowing those third party to connect.

You may use @ to mention someone.

Custom functionality section with an API

1 total vote
Angel
  • Dennis moved item to board Under review

    1 month ago
  • Angel moved item to project Ploi Core Requests

    1 month ago
  • Angel created the item

    1 month ago