Jump to content

Adam

Members
  • Posts

    131
  • Joined

  • Last visited

  • Days Won

    16

Reputation Activity

  1. Like
    Adam got a reaction from cats in Cerb for Blesta   
    Hi Cats!
    Running version 5.1.2 of Blesta and Cerb 10.0.5 I was able to reproduce part of your problems. I went ahead and opened an issue on GitHub: https://github.com/SolidNetSoftware/plugin-cerberus/issues/5 and fixed what I could reproduce:
    Enforce services to be selected by users This should remove the "undefined index" error you were getting. 
    I was not able to reproduce any of the other errors you mentioned. I created a client that has 2 services and one that 0 services. The client with 2 services is able to select the services from the drop down without issue and switch between them. The client with 0 services will see an empty dropdown and the Create Ticket button is disabled.
    If you have a custom theme, I am guessing that is what is causing issues. Hopefully the new version I released will offer more compatibility with custom themes.
    Please let me know either way.
    https://github.com/SolidNetSoftware/plugin-cerberus/releases/tag/v1.3.1
    Follow the upgrade process here: https://docs.solidnet.software/blesta-cerb/getting-started/upgrade/
     
    -Adam
  2. Thanks
    Adam got a reaction from Paul in Cerb for Blesta   
    Hi Cats!
    Running version 5.1.2 of Blesta and Cerb 10.0.5 I was able to reproduce part of your problems. I went ahead and opened an issue on GitHub: https://github.com/SolidNetSoftware/plugin-cerberus/issues/5 and fixed what I could reproduce:
    Enforce services to be selected by users This should remove the "undefined index" error you were getting. 
    I was not able to reproduce any of the other errors you mentioned. I created a client that has 2 services and one that 0 services. The client with 2 services is able to select the services from the drop down without issue and switch between them. The client with 0 services will see an empty dropdown and the Create Ticket button is disabled.
    If you have a custom theme, I am guessing that is what is causing issues. Hopefully the new version I released will offer more compatibility with custom themes.
    Please let me know either way.
    https://github.com/SolidNetSoftware/plugin-cerberus/releases/tag/v1.3.1
    Follow the upgrade process here: https://docs.solidnet.software/blesta-cerb/getting-started/upgrade/
     
    -Adam
  3. Like
    Adam got a reaction from cats in Cerb for Blesta   
    FYI: Blesta-Cerb plugin 1.3.0 released and it supports Blesta 5.0.x
     
    https://github.com/SolidNetSoftware/plugin-cerberus/releases/tag/v1.3.0
    Follow the upgrade process here: https://docs.solidnet.software/blesta-cerb/getting-started/upgrade/
     
    Cerb 10.x testing is starting now.
    -Adam
  4. Thanks
    Adam got a reaction from cats in Cerb for Blesta   
    Cats,
    Plugin has been updated to address this issue. v.1.20 has been tested and releasted with the latest version of Cerb and Blesta 4 series. Blesta 5 support is being test now.
    https://github.com/SolidNetSoftware/plugin-cerberus/issues/1
    https://github.com/SolidNetSoftware/plugin-cerberus/releases/tag/v1.2.0
    Follow the upgrade process here: https://docs.solidnet.software/blesta-cerb/getting-started/upgrade/
    Thanks,
    -Adam
  5. Thanks
    Adam got a reaction from Paul in Cerb for Blesta   
    Cats,
    Plugin has been updated to address this issue. v.1.20 has been tested and releasted with the latest version of Cerb and Blesta 4 series. Blesta 5 support is being test now.
    https://github.com/SolidNetSoftware/plugin-cerberus/issues/1
    https://github.com/SolidNetSoftware/plugin-cerberus/releases/tag/v1.2.0
    Follow the upgrade process here: https://docs.solidnet.software/blesta-cerb/getting-started/upgrade/
    Thanks,
    -Adam
  6. Thanks
    Adam got a reaction from Paul in Any limits on blesta license?   
    A single Blesta license permits you to install one copy of the Blesta on one domain, e.g., yourdomain.com.  Beyond that, Blesta does not limit you in
    clients invoices connected servers (cPanel, Direct Admin, etc.) support tickets staff / workers For your setup, a single license will work for yourdomain.com which means 1 domain and 1 server. If you run multiple companies, company-a.com and company-b.com as an example, and each want to have Blesta on their own domain, then you need to purchase additional domain license called “Multi-Company” license addons.
    Full information here: https://docs.blesta.com/display/support/End+User+License+Agreement
    Note: You should reach out to Blesta Sales to get an official answer.
    -Adam
  7. Thanks
    Adam got a reaction from Michael in Cerb for Blesta   
    Hi All,
    I am proud to announce that first release of Blesta-Cerb plugin.
    What is it?
    This plugin enables Cerb integration with the Blesta clients to create, update, reply, attach files and close tickets in the native Blesta client interface. This plugin replaces the built-in Support Manager with Cerb.
    Why do I want it?
    What is it good for?: If you receive high volume of emails or helpdesk tickets then replacing Blesta’s helpdesk for Cerb’s would increase productivity and reduce time spent answering emails.
    What is it not good for?: If the Blesta built-in helpdesk and support system meets your needs then switching to Cerb might add additional complexity. However Cerb’s features are unmatched in the industry.
    What is it not yet good for?: Cerb offers knowledge base articles that can be viewed by staff and published on its own support center portals. This functionality is not yet integrated into the blesta-cerb plugin.
    Common use cases for Blesta-Cerb Plugin: If you find that you need to do any of the following then Blesta-Cerb would be a good fit.
    Email and Helpdesk services are out source Notify workers and staff of new emails and events You offer out source services and need a central place for all support requests Need the ability to automate email and support workflows such as password reset, IP unblocks, etc. Collect Net Promoter Score (NPS), Customer Satisfaction (CSAT) or Customer Effort Score (CES) scores … and so much more with their bots … Cost:
    This plugin is 100% open source under the MIT license and is offered at no cost to you. Paid support is available for those who need it. Otherwise support is offered as best effort on the BitBucket issue page.
    Screenshot Tour:
    Visit: https://docs.solidnet.software/blesta-cerb/tour/
    How do I use this plugin?
    Visit our online documentation: https://docs.solidnet.software/blesta-cerb/getting-started/
     
  8. Thanks
    Adam got a reaction from System Error Message in Any limits on blesta license?   
    A single Blesta license permits you to install one copy of the Blesta on one domain, e.g., yourdomain.com.  Beyond that, Blesta does not limit you in
    clients invoices connected servers (cPanel, Direct Admin, etc.) support tickets staff / workers For your setup, a single license will work for yourdomain.com which means 1 domain and 1 server. If you run multiple companies, company-a.com and company-b.com as an example, and each want to have Blesta on their own domain, then you need to purchase additional domain license called “Multi-Company” license addons.
    Full information here: https://docs.blesta.com/display/support/End+User+License+Agreement
    Note: You should reach out to Blesta Sales to get an official answer.
    -Adam
  9. Thanks
    Adam got a reaction from Paul in Cerb for Blesta   
    Hi Turner!
    The recommend way to download this plugin is via git. Git allows you to:
    Quickly upgrade by fetching only changed files for the last update Track local changes that you have made Easily revert files back to their default condition See what changes would occur before performing an upgrade Continuously merge your local changes with our future updates. If for what ever reason you do not want to use git, then you can download a tagged release as indicated from the documentation: https://docs.solidnet.software/blesta-cerb/getting-started/install/#download-direct
    As mentioned, you will need to name the folder cerberus. 
     
    I did take your feedback and update documentation website to make sure to emphases to name the folder cerberus within the plugins folder. 
     
    Hope this helps.
    -Adam
  10. Thanks
    Adam got a reaction from Paul in Porting software from WHMCS to Blesta   
    @Kian
    For these use cases, I suggest you use a 3rd party helpdesk with Blesta. I am going to be bias and recommend Cerb. They are going to have all those features you are asking, and then some.
    I do not work for Cerb but I am the author for the free plugin that integrates Cerb and Blesta. We use both for our company and in fact we run multiple brands. All our staff work and operate out of a single interface which is Cerb for sales/support/billing/etc helpdesk tickets. We then use Blesta for billing, service and client management.
    In my opinion, Cerb has a higher learning curve to get started vs the built in helpdesk with Blesta but it is well worth it in the long run. 
     
    If you have specific questions around this, reach out, happy to help.
    -Adam
  11. Thanks
    Adam got a reaction from Paul in Cerb for Blesta   
    Hi All,
    I am proud to announce that first release of Blesta-Cerb plugin.
    What is it?
    This plugin enables Cerb integration with the Blesta clients to create, update, reply, attach files and close tickets in the native Blesta client interface. This plugin replaces the built-in Support Manager with Cerb.
    Why do I want it?
    What is it good for?: If you receive high volume of emails or helpdesk tickets then replacing Blesta’s helpdesk for Cerb’s would increase productivity and reduce time spent answering emails.
    What is it not good for?: If the Blesta built-in helpdesk and support system meets your needs then switching to Cerb might add additional complexity. However Cerb’s features are unmatched in the industry.
    What is it not yet good for?: Cerb offers knowledge base articles that can be viewed by staff and published on its own support center portals. This functionality is not yet integrated into the blesta-cerb plugin.
    Common use cases for Blesta-Cerb Plugin: If you find that you need to do any of the following then Blesta-Cerb would be a good fit.
    Email and Helpdesk services are out source Notify workers and staff of new emails and events You offer out source services and need a central place for all support requests Need the ability to automate email and support workflows such as password reset, IP unblocks, etc. Collect Net Promoter Score (NPS), Customer Satisfaction (CSAT) or Customer Effort Score (CES) scores … and so much more with their bots … Cost:
    This plugin is 100% open source under the MIT license and is offered at no cost to you. Paid support is available for those who need it. Otherwise support is offered as best effort on the BitBucket issue page.
    Screenshot Tour:
    Visit: https://docs.solidnet.software/blesta-cerb/tour/
    How do I use this plugin?
    Visit our online documentation: https://docs.solidnet.software/blesta-cerb/getting-started/
     
  12. Thanks
    Adam got a reaction from Blesta Addons in Cerb for Blesta   
    Hi All,
    I am proud to announce that first release of Blesta-Cerb plugin.
    What is it?
    This plugin enables Cerb integration with the Blesta clients to create, update, reply, attach files and close tickets in the native Blesta client interface. This plugin replaces the built-in Support Manager with Cerb.
    Why do I want it?
    What is it good for?: If you receive high volume of emails or helpdesk tickets then replacing Blesta’s helpdesk for Cerb’s would increase productivity and reduce time spent answering emails.
    What is it not good for?: If the Blesta built-in helpdesk and support system meets your needs then switching to Cerb might add additional complexity. However Cerb’s features are unmatched in the industry.
    What is it not yet good for?: Cerb offers knowledge base articles that can be viewed by staff and published on its own support center portals. This functionality is not yet integrated into the blesta-cerb plugin.
    Common use cases for Blesta-Cerb Plugin: If you find that you need to do any of the following then Blesta-Cerb would be a good fit.
    Email and Helpdesk services are out source Notify workers and staff of new emails and events You offer out source services and need a central place for all support requests Need the ability to automate email and support workflows such as password reset, IP unblocks, etc. Collect Net Promoter Score (NPS), Customer Satisfaction (CSAT) or Customer Effort Score (CES) scores … and so much more with their bots … Cost:
    This plugin is 100% open source under the MIT license and is offered at no cost to you. Paid support is available for those who need it. Otherwise support is offered as best effort on the BitBucket issue page.
    Screenshot Tour:
    Visit: https://docs.solidnet.software/blesta-cerb/tour/
    How do I use this plugin?
    Visit our online documentation: https://docs.solidnet.software/blesta-cerb/getting-started/
     
  13. Like
    Adam got a reaction from Jono in How does one get a "Session" with JSON?   
    What are you trying to do? Determine if a user exists within Blesta based on their login?
     
    If you are trying to use the Blesta API there is no need to "login" as the API requires Basic Auth with unique API creds, which is what you have done via aUser and aKey.
     
    If you are trying to determine if a user exists within Blesta based on their username and password, use the auth function instead of login. http://source-docs.blesta.com/class-Users.html#_auth
    Post to: api/users/auth.json
    With form data:
    const params = new URLSearchParams({ "username": vars.username, "vars[username]": vars.username, "vars[password]": vars.password, "type": "any" }); It will return true if the users exists otherwise false if the user does not.
  14. Like
    Adam got a reaction from activa in v4 Changelog for Developers on Plugin System   
    Hello,
    We literally just finished our development of the Cerb helpdesk plugin that would allow Blesta clients to use Cerb instead of the default helpdesk with Blesta. Now we noticed that v4 is out (congratulations).
    Is there a write up somewhere, for developers, on what changed when creating a custom plugin? What functions depreciated? New features added? etc.
    We have not tried our new plugin on a v4 system yet, but I suspect we will start that process soon.
     
    Thanks,
    -Adam
    P.S. For those wondering, we plan on releasing the Cerb plugin, free of charge, to the rest of the Blesta community. No ETA yet.
  15. Like
    Adam got a reaction from Syleron in Plugin API Request - Support Manager   
    Syleron,
    This is a bug within Blesta and more so with minPHP. Great find.
     
    The issue is within app/controllers/api.php in the preAction function. The function tries to load the model from the url: support_manager.support_manager_tickets. 
    app/controllers/api.php // Ensure that the request is formatted correctly if (isset($this->get[0]) && isset($this->get[1])) { $this->model = Loader::toCamelCase($this->get[0]); It calls Loader:toCamelCase which returns
    SupportManager.supportManagerTickets
    What is expected is the following format:
    SupportManager.SupportManagerTickets
    On the surface this should not have caused an issue as if you called a function like get_declared_classes() it would show up as a class that was loaded. However, the problem is the case sensitive does manner when the api class calls method_exists and Router::isCallable. The minPHP function toCamelCase does not account for periods in its algorithm.
    /** * Convert a string to "CamelCase" from "file_case" * * @param string $str the string to convert * @return string the converted string */ public static function toCamelCase($str) { if (isset($str[0])) { $str[0] = strtoupper($str[0]); } return preg_replace_callback( '/_([a-z])/', function ($c) { return strtoupper($c[1]); }, $str ); }  
     
    The Blesta team will have a permanent fix in place as there are many ways to solve this. For now, the below patch file will get things working on your end. Apply the following patch file with patch(1):
    --- app/controllers/api.php 2017-03-14 10:23:18.000000000 -0700 +++ app/controllers/api.php 2017-07-05 21:35:18.337455862 -0700 @@ -68,7 +68,7 @@ // Ensure that the request is formatted correctly if (isset($this->get[0]) && isset($this->get[1])) { - $this->model = Loader::toCamelCase($this->get[0]); + $this->model = str_replace('_', '', ucwords($this->get[0], '_.')); $this->model_name = Loader::toCamelCase( strpos($this->model, '.') !== false ? ltrim(strrchr($this->model, '.'), '.') -Adam
  16. Like
    Adam got a reaction from Michael in Plugin API Request - Support Manager   
    Syleron,
    This is a bug within Blesta and more so with minPHP. Great find.
     
    The issue is within app/controllers/api.php in the preAction function. The function tries to load the model from the url: support_manager.support_manager_tickets. 
    app/controllers/api.php // Ensure that the request is formatted correctly if (isset($this->get[0]) && isset($this->get[1])) { $this->model = Loader::toCamelCase($this->get[0]); It calls Loader:toCamelCase which returns
    SupportManager.supportManagerTickets
    What is expected is the following format:
    SupportManager.SupportManagerTickets
    On the surface this should not have caused an issue as if you called a function like get_declared_classes() it would show up as a class that was loaded. However, the problem is the case sensitive does manner when the api class calls method_exists and Router::isCallable. The minPHP function toCamelCase does not account for periods in its algorithm.
    /** * Convert a string to "CamelCase" from "file_case" * * @param string $str the string to convert * @return string the converted string */ public static function toCamelCase($str) { if (isset($str[0])) { $str[0] = strtoupper($str[0]); } return preg_replace_callback( '/_([a-z])/', function ($c) { return strtoupper($c[1]); }, $str ); }  
     
    The Blesta team will have a permanent fix in place as there are many ways to solve this. For now, the below patch file will get things working on your end. Apply the following patch file with patch(1):
    --- app/controllers/api.php 2017-03-14 10:23:18.000000000 -0700 +++ app/controllers/api.php 2017-07-05 21:35:18.337455862 -0700 @@ -68,7 +68,7 @@ // Ensure that the request is formatted correctly if (isset($this->get[0]) && isset($this->get[1])) { - $this->model = Loader::toCamelCase($this->get[0]); + $this->model = str_replace('_', '', ucwords($this->get[0], '_.')); $this->model_name = Loader::toCamelCase( strpos($this->model, '.') !== false ? ltrim(strrchr($this->model, '.'), '.') -Adam
  17. Like
    Adam reacted to turner2f in Are Added Contacts Sent a "Welcome Email" ?   
    Are "Added Contacts" Sent a "Welcome Email" ?
    If not, do I need to make a request for it ?
  18. Like
    Adam reacted to turner2f in Are Added Contacts Sent a "Welcome Email" ?   
    Sent request.
    https://requests.blesta.com/topic/send-welcome-email-to-added-contacts
    https://requests.blesta.com/topic/added-contacts-need-a-welcome-email
     
    FYI -
    Seems someone else sent the same kind of request a month ago.
    Is this function going to be "planned" ?
     
  19. Like
    Adam got a reaction from Blesta Addons in Documentation: Plugin Cron Task Missing Add Task Run   
    Hello,
    I was following the documentation on how to create a custom cron job for a plugin: https://docs.blesta.com/x/PQEh and I noticed that after I called CronTasks::add() the cron job was not being called by cron or showing up under Company > Automation settings.
    I had to look at the source docs and figure out that in addition to calling CronTasks::add() I need to run CronTasks::addTaskRun().
    May you please update the confluence document to reminder developers to call CronTasks::addTaskRun() after CronTasks:add() during installs?
    Thanks,
    -Adam
  20. Like
    Adam got a reaction from Michael in Custom service option text field in a module   
    I do not fully understand your question. Let me try and say it back to you:
    You created a custom module with Blesta in PHP. You would like during the order process for someone to enter a custom field called username (which is not the same and 100% different username of the person logged into Blesta) and you grab that input?
    Have you looked at ModuleFields? https://docs.blesta.com/display/dev/ModuleFields
     
    The other way to do this, is use the Universal Module, add a custom field to the order process. The Universal Module has a very useful option to make external ReST calls when an order is submitted. You would listen for this ReST call and then put all your business logic in that call.
    Blesta Admin -> Modules -> Managed Universal Module -> Edit Product Label (create a product label if you have not already)

    -Adam
     
  21. Like
    Adam got a reaction from activa in Documentation: Plugin Cron Task Missing Add Task Run   
    Hello,
    I was following the documentation on how to create a custom cron job for a plugin: https://docs.blesta.com/x/PQEh and I noticed that after I called CronTasks::add() the cron job was not being called by cron or showing up under Company > Automation settings.
    I had to look at the source docs and figure out that in addition to calling CronTasks::add() I need to run CronTasks::addTaskRun().
    May you please update the confluence document to reminder developers to call CronTasks::addTaskRun() after CronTasks:add() during installs?
    Thanks,
    -Adam
  22. Like
    Adam got a reaction from activa in Custom service option text field in a module   
    I do not fully understand your question. Let me try and say it back to you:
    You created a custom module with Blesta in PHP. You would like during the order process for someone to enter a custom field called username (which is not the same and 100% different username of the person logged into Blesta) and you grab that input?
    Have you looked at ModuleFields? https://docs.blesta.com/display/dev/ModuleFields
     
    The other way to do this, is use the Universal Module, add a custom field to the order process. The Universal Module has a very useful option to make external ReST calls when an order is submitted. You would listen for this ReST call and then put all your business logic in that call.
    Blesta Admin -> Modules -> Managed Universal Module -> Edit Product Label (create a product label if you have not already)

    -Adam
     
  23. Like
    Adam reacted to fossxplorer in Mailparse extension missing   
    @adam @Licensecart thanks. it's just that Kloxo-MR didn't have that extension, while now i installed Blesta in a seperate container and i got mailparse from Remi's repo.
    So for my part, i got all the dependencies of Blesta installed with green ticks
  24. Like
    Adam got a reaction from Paul in Mailparse extension missing   
    See my response in another post on how to install this
    Thanks,
    -Adam
  25. Like
    Adam got a reaction from Paul in Mailparse extension missing   
    Create file called phpinfo.php in the root directory of Blesta and inside of it place:
     
    <?php phpinfo(); ?> When you visit the page in your browser: does it show mailparse on the page?
     
    -Adam
×
×
  • Create New...