Jump to content

Blesta Addons

Alpha Developers
  • Posts

    4,868
  • Joined

  • Last visited

  • Days Won

    390

Everything posted by Blesta Addons

  1. In our website if we use EUR with error reporting disabled we get a empty fields https://blesta-addons.com/order/main/packages/subscription/?group_id=7&currency=EUR Fixed with unchecking Use Package Pricing for New Services Only ? not sure why it was checked, maybe one of our staff has checked it !!!!
  2. when we have multi currency enabled, error reporting enabled and we are in order form, after switching to other currency we get this error : E_NOTICE: Undefined variable: pricing_id {"code":8,"message":"Undefined variable: pricing_id","file":"/home/xxxxxxxx/public_html/plugins/order/views/templates/wizard/main_packages.pdt","line":100}
  3. New Version Release 1.4.0 - New Rewrite To support PSR standard and latest blesta version - Ajax Lest Side Tabs - Tax Support - Own Template Engine for PDF with support of latest TCPDF version - Watermark for Accepted Or Rejected Quote - New Plugin Manage options to set logo, background, font, days validity, terms ... - New Widget Client Profile for staff
  4. in all tabs? i think the upgrade script is not run or has not completed .
  5. i think yes . or from the order languages files in root directory of plugin .
  6. We almost Finished the update of the plugin, rewrite with respecting the PSR standard, Tax enabled, Including new TCPDF latest version, Watermark for rejected or accepted quote, Separating Template from invoices .
  7. i will try it later , thank for the info .
  8. in every release blesta update some files that are used in templates. and this can lead as to every time update the template folder with a cloned files from bootsrap folder, like the blesta-X.X.0 and some template files, we prefer if blesta make at least blesta-X.X.X loaded from another placement that is not related to a custom folder created by user, why not create a new vendor folder called javascript and put in it all the core javascript files . also it would be nice to update the view in case of a pdt file is not exist in the custom template try to load it from the boostrap folder, this way if a custom file exist use it, if not load the default one (same approuch for a lot of CMS like wordpres, e107 ... ect ) , with this tip developper will concentrate only in a part that will be changed based in their design and is easy to make a revision in case for new release . a sample tip by updating the view Class if (!file_exists($file)) { // Use default template file in case the file not exist in the custom template folder $file = $this->container->get('minphp.constants')['ROOTWEBDIR'] . $this->view_path . 'views' . DIRECTORY_SEPARATOR . 'client' . DIRECTORY_SEPARATOR . 'bootstrap' . DIRECTORY_SEPARATOR . $this->file . $this->view_ext; } elseif (!file_exists($file)) { throw new Exception(sprintf('Files does not exist: %s', $file)); } in my template folder i have only about 3 changed core files, all others are fetched from the bootstrap folder .
  9. This will lead to a massive change in Blesta, unless they will make a back-award capability . already exist a post about it, and a use has posted a prof of concept how to integrate it in blesta .
  10. blesta order servers/accounts inside Server Groups in Module by their ID. it would be perfect to add sorting by their names or by a new order field. sample case for this obstacle behavior . we have 8 cpanel server, all them are in a server group called hosting. we din't want to host anymore site in the first server in the list , but still want to be exist in the group to allow staff change it in edit server if needed, blesta always host sites in the first empty server that is this way the server we don't want to host in it. the same case for solusvm and plesk and other module .
  11. I can write custom plugin that support this but is not multi-languages system, the plugin will only get the language from url and set it, so is not a permanent link as multi-language plugin do . i can more use GeoLiteCity to detect client place and set language by location. PM me if you are interested .
  12. if a staff assigned to a department, he can see/response to a ticket opened in that department.
  13. i want to register a custom event for my plugin to trigger it from other plugin. from the Event Components or the Event Util it appear it only search for event that are reside in the their respective directory, so no way to add events without adding files to that directory . is this true or i have missed something?
  14. i have made a simple test and it worked .
  15. Quantity field , if you want the cleint to enter value do not put the max.
  16. more info E_RECOVERABLE_ERROR: Argument 1 passed to ClientServices::totals() must be an instance of Blesta\Core\Pricing\Presenter\Type\PresenterInterface, boolean given, called in /home/xxxx/public_html/app/controllers/client_services.php on line 1719 and defined {"code":4096,"message":"Argument 1 passed to ClientServices::totals() must be an instance of Blesta\\Core\\Pricing\\Presenter\\Type\\PresenterInterface, boolean given, called in /home/xxxxxx/public_html/app/controllers/client_services.php on line 1719 and defined","file":"/home/xxxxx/public_html/app/controllers/client_services.php","line":1730}
  17. i have used the monolog directly. but even if i will test again your solution and give reply, it might help other in the future .
  18. Yes, i'm logged in. i can download attachments from other posts.
  19. the intention for injecting messages is injecting custom HTML in some places in client dashboard, also can be for staff. let say i want to inject html code that has already some more info for certain things of my clients to show them in area X in dashboard. a realistic use case, we are developing a custom plugin that is getting some info from remote server, and we want to include that info right under the user info box . another use case can be for a system that is blocking user IP, so we want to show the client a big message in the right content (the begin of content) to tell them that their actual IP blacklisted or blocked in our server and further action should be token. another user case we want to show some clients that they are not has some complete info in their profile a warning message to tell them their profile is incomplete ...ect
  20. each company has it own plugins/modules , so you can install PayPal in each company and put different account for every company .
  21. You are right, the structure event is sufficient if we add to it other places as you have mentioned . maybe we cann add something like that $structure['head_start'], $structure['head_end'], $structure['maintenance_mode_start'], $structure['maintenance_mode_end'], $structure['right_section_start'], $structure['right_section_end'], $structure['top_nav_start'], $structure['top_nav_end'], $structure['menu_nav_start'], $structure['menu_nav_end'], $structure['breadcrumbs_start'], $structure['breadcrumbs_end'], $structure['content_start'], $structure['content_end'], $structure['footer_start'], $structure['footer_end'], $structure['my_info_start'], $structure['my_info_end'], $structure['amounts_start'], $structure['amounts_end'], or if blesta can pass the $structure as it is to the view then we can customize the view and get our own vars from structure.
  22. getFromContainer() only work in models or controllers, it give us a error when we call it from a abstract class that is not model/controller/helper/components .
  23. we are working in updating the plugin, recoding from the scratch . implementing the latest TCPDF engine, enabling tax feature, autoclose old qoutes, ... ect , if we have more time we will adding the chat/conversation to qoutes . so any suggestion/ideas are welcome .
  24. As the title, it would be perfectly to allow plugins inject their own message in the client dashboard . or add a a new Event that used for client dashboard, is something semilar to Structure event, the actual event inject a (html) in head or start/end body. the idea is to add event/hook to client info box (start/end), left sidebar (start/end), right content (start/end). Wordpress and Whmxx has this feature .
  25. i get the same message in the forum . only in that post, i have tested other attached files in other files and i can download them .
×
×
  • Create New...