04-27-2018 08:32 AM
But the thing is the API is a must, for most of the users and for external apps. That's why we have been preferring this way so far.
My ideas for the future:
1) it's possible there could be some kind of wrapper which would do the curl, json parsing, etc. and you could just call "API::fetchUsers()"
2) it's possible to autoload internal classes and call internal methods in any UCRM Plugin to manage the UCRM data objects directly.
The important thing is that both 1 and 2 can be developed by the community now. Anyone can just push a script to the "UCRM Plugins" git repo.
What we can do in the future is providing some better interface for option 2 to make it easier for more complicated functions. Feel free to create a feature request for this interface or even for 1) or 2)
If this become requested by more users, we would focus on this much sooner.
05-30-2018 01:32 PM
Dear @UBNT-Petr, i made a plugin to Sync UCRM Service Bandwith with Mikrotik Simple Queue Max-Limit (Datarate)...
i've very basic knowledge of PHP coding, so i based my code on a Ubiquiti Pulgin FIO_CZ an modified all i could to get it working.
I know that anyone with more know of PHP coding can improve this plugin, but until know, it's perfectly working, and i want to share it, so anyone can use/modify it.
I don't understand at all the GitHub platform, but i tried to get there my plugin. Or perhaps you can upload it to UCRM-Plugin master branch, so anyone how looks for a Mikrotik Plugin can find it.
please find my plugin here: https://github.com/fgampel/UCRM-plugins/tree/master/plugins/mkt-queue-sync
And tell me if you want me to do something else.
05-31-2018 06:14 AM
For any future updates, you can propose them yourself. Just create a new Pull Request for an update or for an entirely new plugin. Then, when we or the community verify that, we will merge it.
05-31-2018 06:53 AM
As i said i don't know exactly how GitHub works, but take a look if you can find my pull request. https://github.com/fgampel/UCRM-plugins/tree/master/plugins/mkt-queue-sync
Have a nice day.!
06-01-2018 07:39 AM - edited 06-04-2018 04:10 AM
@fgampel I have copied your code into the official UCRM Plugins repository:
we will review it and merge it eventually. Feel free to propose any further changes or fixes here.
Update: This is the right pull request https://github.com/Ubiquiti-App/UCRM-plugins/pull/17
06-04-2018 12:09 PM
In next weeks i'll be working on a new version which handles burst speeds. Or feel free to propose your updates at GitHub
06-10-2018 09:17 AM
Hi there, I really love this program, it is what I have been looking for, for a while! However I need to know if anyone can create a plugin for me to add Elavon as my payment processor?
Any help is great, Thank you
07-12-2018 10:23 PM
I'm starting in on some plugins, if your looking for plugins, they're coming. Please take the following survey so I know where to focus my efforts first please. =)
07-17-2018 04:47 AM