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.
3 weeks ago
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.
3 weeks ago
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.
3 weeks ago
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.!
3 weeks ago - last edited 2 weeks ago
@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
2 weeks ago
In next weeks i'll be working on a new version which handles burst speeds. Or feel free to propose your updates at GitHub
a week ago
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