Jump to content

Blesta Addons

Alpha Developers
  • Posts

    4,868
  • Joined

  • Last visited

  • Days Won

    390

Everything posted by Blesta Addons

  1. New release 1.2.0
  2. this is our fix : in models/reassign_pricing_services.php replace the edit fucntion with this : public function edit($service_id, array $vars) { $vars['service_id'] = $service_id; $vars['module_row_id'] = $this->getPackageModuleRow($this->ifSet($vars['pricing_id'])); $vars['package_group_id'] = $this->getPackageGroupId($this->ifSet($vars['pricing_id'])); $this->Input->setRules($this->getRules($vars)); if ($this->Input->validates($vars)) { $this->Record->where('id', '=', $service_id) ->update('services', $vars, ['pricing_id', 'module_row_id', 'package_group_id']); } } add this function before the last line /** * Retrieves the Package Group Id associated with the given package pricing * * @param int $pricing_id The package pricing ID * @return mixed The Package Group Id if it exists, or null otherwise */ protected function getPackageGroupId($pricing_id) { $package = $this->Record->select(['package_group.package_group_id']) ->from('package_pricing') ->innerJoin('packages', 'packages.id', '=', 'package_pricing.package_id', false) ->innerJoin('package_group', 'package_group.package_id', '=', 'package_pricing.package_id', false) ->where('package_pricing.id', '=', $pricing_id) ->fetch(); return ($package ? $package->package_group_id : null); } hope it will help .
  3. i think it does it . when i reassing pricing it update the package group id . Update : No it doesn't update it, we have tried it and have found another issue in the above thread , i we have update our custom plugin convert package to make this updated . i think the update is simple, i will put what we have do in our plugin later this day .
  4. new version released, 3.6.0. - fix sitemap generation from admin side . - Added total generated links to report.
  5. the main page was setup with the core CMS, so is one language, are not multi-language. the same for plugins navigation links .
  6. a lot of users asked as a complete list of every level and it available addons, we have made the page and is auto update with any new addons . you can see the complete list of available addons at this link https://blesta-addons.com/client/plugin/membership_club/main/
  7. i have tested in my test server, and the service name is shown correctly . but not sur what happen with @activa ! maybe he has a wrong service name or empty service hostname.
  8. any firewall in the cpanel server or blesta server ?
  9. from blesta v4.0.0, and allowing package to not have a module row id, this behavior add service with module_row_id = 0 . this impact the plugin, the plugins can't determine the module from the module row id , as didn't exist any module row id with 0, so the list of the available package pricing always empty . $module_id = $this->getModuleId($service->module_row_id);
  10. We have added now the subscription link to the post . if anyone has a paid addons and want to switch, just open a ticket with us .
  11. try to check webserver log, 500 errors are most of the time a server side errors .
  12. any upcoming addons that will be added to the list you will get acces for it if the subscription level allow it, in that case the VIP is the top level that has access for all addons, only addons that will need to be purshased normally +5$ or +10$ plus like the OVh or the Observium Module . Thanks for all your support, we need to apology for any delay in the response in our tickets system due to the massive work to update the addons to the latest version and clean the code from licensing system .
  13. this is our case, the child service is not activated until we activate it manually, and maybe @activa has the right for the reason, the invoice is the cause for no activating it. anyone can reproduce the case ?
  14. when we have server group in cpanel, and from cpanel edit service, when we want to change the server inf the service information tab, we get a blank page, after enabling the error reporting the error is: Undefined index: cpanel_domain on line 968 in /home/naja7ba7/public_html/components/modules/cpanel/cpanel.php we have the in the line 968 $vars['cpanel_domain'] = $this->formatDomain($vars['cpanel_domain']); a simple fix // Strip "www." from beginning of domain if present if (isset($vars['cpanel_domain'])) { $vars['cpanel_domain'] = $this->formatDomain($vars['cpanel_domain']); }
  15. i will apply the patch, after we have enabled the error reporting we found the fallowing error, and it appear your patch will resolve it . Undefined property: Invoices::$ServiceInvoices on line 1116 in /home/xxxxxxxxx/public_html/app/models/invoices.php
  16. from admin side, when we add new service, sometimes we get a blank page, whatever the module used (cpanel, logicboxes, ... ect) , after i have looked at the logs i find the fallowing info from notice, info, alert log files Fatal Error (E_ERROR): Call to a member function add() on null {"code":1,"message":"Call to a member Created Service {"parent_service_id":null,"package_group_id":"2","pricing_id":"1","module_row_id":"3","qty":1,"client_id":"2079","status":"active","coupon_id":null,"date_added":"2017-10-05 09:59:10","date_renews":"2018-10-05 E_USER_DEPRECATED: The Swift_Transport_MailTransport class is deprecated since version 5.4.5 and will be removed in 6.0. Use the Sendmail or SMTP transport instead. {"code":16384,"message":"The Swift_Transport_MailTransport class is deprecated since version 5.4.5 and will be removed in 6.0. Use the Sendmail or SMTP transport the service is will added and the welcome email has been sent, the invoice line was well added, but the invoice total didn't count it . this happen only after upgrade to v 4.1.1 .
  17. next time i will wait until the cron to see if the cron activate the child service .
  18. i have not tested or received any claim when they are in pending mode, i'm talking about service created from admin side manually .
  19. this module was developed by me, i have used it a long time until i have switched to my custom virtualizor extended module . and i remember well that service name well displayed in the label field .
  20. we will make your suggestion in our RADAR , what essential feature we can look at it in the beginning ? just to correct the info i think after cpanel, exist plesk . then maybe Directadmin
  21. the module upload the files inside a folder in the blesta upload directory. so the module is using the blesta upload directory.
  22. is a folders permissions , normally who handle the upload is apache, so the folder should be chown to apache . or it should have chmod 777 .
  23. you are totally wrong, the cpanel accept any true full qualified domain even if is a sub-domain, so in cpanel part is working, now it should a mechanism to allow only some domains to be the main domain and make the regex and the control of what we should accept as entered domain, this part should be from order form . all the competitor has the same logic and doing it as i described before . if i have time i can do a template order that will do what you want from the order plugin without touching any core files, but i'm sorry, i don't have free time to do it, if you want we can quote something for you or we collect some sponsoring and we will bring the work freely to the community .
  24. i use a custom condition that is working for me, make note of it : } elseif ($key == 'phone-cc') { $part = explode( '.', $this->formatPhone( isset($numbers[0]) ? $numbers[0]->number : null, $client->country ) ); if (count($part) == 2) { $vars[$key] = ltrim($part[0], '+'); $vars['phone'] = $part[1] != '' ? $part[1] : '1111111'; } } so if the module can't get a number he is filling a unused number '1111111' .
×
×
  • Create New...