Blesta Addons Posted May 20, 2014 Report Posted May 20, 2014 Hello All, IF YOU WANT TO THANK ME WITH A LITTE DONATION , you can do it with PAYPAL DONATION from here i want to share my updated logicbox Module , the module has some usefull feature . - Fix the missed ORDER-ID field in database for imported services . - Added/Changed Public Function in the module - getorderid : with it you can get the order-id of a Domain . - UpdateOrderID : This is the magic Function to update database if no order-id is available . - EditService : it was empty , now it Support the no_module use for local edit . - Added Child Name Service Tab (ADD -EDIT - DELETE ) - Just For client Side NOW - - Rearranged Navs for whois Tab To be Justify . - Add nav-bill to see the active Nav in contacts whois . TODO - RAA Verification Status -if not verified , resend Verification Button- - Domain Status , Active , Lock , Suspended (with reason) - DOMAIN FORWARDING tab Settings - DNS MANAGEMENT tab Settings - Change EPP Code + Send it Via Email . - Protect Privacy Option (Enable/Dissable in module setting) - if enabled the client has option to use it FREE . - DNSSEC - MOVE Domain To another Account . INSTALLATION : 1- Download the module file FROM GITHUB 2- upload the Logicboxes Directory to Compenents/modules 3- Go to settings/modules/ update logicboxes module 4- You Are Done , ENJOY . UPDATE 1- Download the module file FROM GITHUB 2- upload the Logicboxes Directory to Compenents/modules 3- Go to settings/modules/ update logicboxes module 4- You Are Done , ENJOY . ANY Suggestion , FeedBack , Bugs , Please Post it inthis thread . GItHub Reposity for my Blesta Works --- https://github.com/blesta-addons evolvewh, Michael, interfasys and 1 other 4 Quote
Blesta Addons Posted May 20, 2014 Author Report Posted May 20, 2014 it can be addeed to the default module if blesta staff want it . John 1 Quote
Michael Posted May 20, 2014 Report Posted May 20, 2014 Could you rename it to Logicboxes Reloaded not Logicboxes please I think that would be better so people can try both . Quote
Blesta Addons Posted May 20, 2014 Author Report Posted May 20, 2014 Could you rename it to Logicboxes Reloaded not Logicboxes please I think that would be better so people can try both . Hello Mate , it based on the core module , and is easy to delete and upload the core one . if we use another name , we need every time change the backage and affect it to the module . we hope if blesta staff can add this usefull feature ot the core one . Quote
Michael Posted May 20, 2014 Report Posted May 20, 2014 Hello Mate , it based on the core module , and is easy to delete and upload the core one . if we use another name , we need every time change the backage and affect it to the module . we hope if blesta staff can add this usefull feature ot the core one . Yes it's based on the core module but so is the Support Manager Pro. It gives people a choice and would be nice on the marketplace. I dowt it will be added as a core product. Quote
Tyson Posted May 20, 2014 Report Posted May 20, 2014 Is this for v3.2 of Blesta using the bootstrap-styled LogicBoxes module? We may be interested in integrating some of these features, but anything based on what you've already written we would need to review first. It'd be great to see some documentation/explanation on what the new features do and how they function so we can gauge whether to include them. I think it's good to see others making improvements to existing modules. Thanks for the contribution. Michael and John 2 Quote
Blesta Addons Posted May 20, 2014 Author Report Posted May 20, 2014 Is this for v3.2 of Blesta using the bootstrap-styled LogicBoxes module? We may be interested in integrating some of these features, but anything based on what you've already written we would need to review first. It'd be great to see some documentation/explanation on what the new features do and how they function so we can gauge whether to include them. I think it's good to see others making improvements to existing modules. Thanks for the contribution. Hello Tyson yes, is the default core module shipped with blesta 3.2 . i have added some function/feature to it . you can check it and test it , any change are welcome . to test it well , delete the order-id field in some domaine service , and test it with the core module , then upload my module and it it . the first post i write what i have added in the module , and what i will add next days . is better for all together to be in the core module . John 1 Quote
evolvewh Posted May 21, 2014 Report Posted May 21, 2014 This makes life SO much easier since the module grabs all of the nameserver, whois, etc automatically. Thank you. interfasys and John 2 Quote
interfasys Posted August 7, 2014 Report Posted August 7, 2014 That's the first step towards a domain importer Quote
Daniel B Posted October 2, 2014 Report Posted October 2, 2014 naja, just curious...are you holding off on any updates on this until we hear more about the Blesta planned domains module/changes? Just wondering since my reseller (NetEarthOne) will start charging for Privacy Protect features (which means so will I) so it's something I'd love to be able to add into Blesta soon as an automated process of the module instead of using configurable options/manually doing it like I am now. Quote
Blesta Addons Posted October 2, 2014 Author Report Posted October 2, 2014 Privacy protect is something that is in our TODO list and i need to make a deep look in it , but at the moment no time for this . we have already added a option to enable/disable this option , but we have probleme in price . please see my post http://www.blesta.com/forums/index.php?/topic/3065-resellbiz-adding-domain-privacy/?p=22065 Quote
interfasys Posted July 14, 2015 Report Posted July 14, 2015 Can't upgrade original with this one in 3.5 Module 'Logicboxes' does not exist. on line 29 in /components/modules/modules.php Printing Stack Trace: #0 /app/models/module_manager.php(908): Modules::create('logicboxes') #1 /app/models/module_manager.php(356): ModuleManager->loadModule('logicboxes') #2 /app/controllers/admin_company_modules.php(133): ModuleManager->upgrade('1') #3 /lib/dispatcher.php(111): AdminCompanyModules->upgrade() Quote
Blesta Addons Posted July 15, 2015 Author Report Posted July 15, 2015 Can't upgrade original with this one in 3.5 Module 'Logicboxes' does not exist. on line 29 in /components/modules/modules.php Printing Stack Trace: #0 /app/models/module_manager.php(908): Modules::create('logicboxes') #1 /app/models/module_manager.php(356): ModuleManager->loadModule('logicboxes') #2 /app/controllers/admin_company_modules.php(133): ModuleManager->upgrade('1') #3 /lib/dispatcher.php(111): AdminCompanyModules->upgrade() i'm working in a updated module forlogicbox reloaded with more feature and extras .... Quote
interfasys Posted July 15, 2015 Report Posted July 15, 2015 Nice. One thing which would be great is to be able to import all domains when adding a customer. There must be a way to create a link using the email address as ID or if not using some logicboxes ID. Quote
Blesta Addons Posted July 15, 2015 Author Report Posted July 15, 2015 That is not a easy task . but I will try if get more free time ariq01 1 Quote
evolvewh Posted August 27, 2015 Report Posted August 27, 2015 Hi, Can you confirm if the renewal function is working? I have Blesta v3.5.2 and when an invoice is paid for renewal, the module does not renew the domain. I have to do it manually. Thanks! Quote
activa Posted August 30, 2015 Report Posted August 30, 2015 Hi, Can you confirm if the renewal function is working? I have Blesta v3.5.2 and when an invoice is paid for renewal, the module does not renew the domain. I have to do it manually. Thanks! from the code i don't see any renewal function . so i don't think is working . Quote
evolvewh Posted August 30, 2015 Report Posted August 30, 2015 from the code i don't see any renewal function . so i don't think is working . I thought I saw it in components/modules/logicboxes/logicboxes.php public function renewService($package, $service, $parent_package=null, $parent_service=null) { $row = $this->getModuleRow($package->module_row); $api = $this->getApi($row->meta->reseller_id, $row->meta->key, $row->meta->sandbox == "true"); // Renew domain if ($package->meta->type == "domain") { $fields = $this->serviceFieldsToObject($service->fields); $response = $domains->details(array('order-id' => $fields->{'order-id'}, 'options' => array("OrderDetails"))); $this->processResponse($api, $response); $order = $response->response(); $vars = array( 'years' => 1, 'order-id' => $fields->{'order-id'}, 'exp-date' => $order->endtime, 'invoice-option' => "NoInvoice" ); foreach ($package->pricing as $pricing) { if ($pricing->id == $service->pricing_id) { $vars['years'] = $pricing->term; break; } } // Only process renewal if adding years today will add time to the expiry date if (strtotime("+" . $vars['years'] . " years") > $order->endtime) { $api->loadCommand("logicboxes_domains"); $domains = new LogicboxesDomains($api); $response = $domains->renew($vars); $this->processResponse($api, $response); } } Michael 1 Quote
activa Posted August 30, 2015 Report Posted August 30, 2015 what you have in modules logs . i have not tested the module . by the way replace it with and test public function renewService($package, $service, $parent_package=null, $parent_service=null) { $row = $this->getModuleRow($package->module_row); $api = $this->getApi($row->meta->reseller_id, $row->meta->key, $row->meta->sandbox == "true"); // Renew domain if ($package->meta->type == "domain") { $fields = $this->serviceFieldsToObject($service->fields); // Load the API $api->loadCommand("logicboxes_domains"); $domains = new LogicboxesDomains($api); $response = $domains->details(array('order-id' => $fields->{'order-id'}, 'options' => array("OrderDetails"))); $this->processResponse($api, $response); $order = $response->response(); $vars = array( 'years' => 1, 'order-id' => $fields->{'order-id'}, 'exp-date' => $order->endtime, 'invoice-option' => "NoInvoice" ); foreach ($package->pricing as $pricing) { if ($pricing->id == $service->pricing_id) { $vars['years'] = $pricing->term; break; } } // Only process renewal if adding years today will add time to the expiry date if (strtotime("+" . $vars['years'] . " years") > $order->endtime) { $response = $domains->renew($vars); $this->processResponse($api, $response); } } else { # # TODO: SSL Cert: Set cancelation date of service? # } return null; } Quote
evolvewh Posted August 31, 2015 Report Posted August 31, 2015 Hi, I don't have anything in the logs. I've replaced the code with yours and I'll let you know if it worked after the next domain renewal goes through. I appreciate you taking the time to help out. DL Quote
Kangaroo Posted September 1, 2015 Report Posted September 1, 2015 hi there, just uploaded this module and completed the upgrade in the admin area. Currently testing and any questions are welcome. Thank you naja7host Quote
franksidebottom Posted October 20, 2015 Report Posted October 20, 2015 Can anyone please advise if this module is compatible with the current version of Blesta,3.6.0? Quote
Michael Posted October 20, 2015 Report Posted October 20, 2015 Can anyone please advise if this module is compatible with the current version of Blesta,3.6.0? The guy who replied above installed it in 3.5.0 (September) so it will work on 3.6.0 Quote
franksidebottom Posted October 20, 2015 Report Posted October 20, 2015 The guy who replied above installed it in 3.5.0 (September) so it will work on 3.6.0 Thanks for that! Is there anyway to upload this with it affecting the default logicboxes module? Quote
Michael Posted October 20, 2015 Report Posted October 20, 2015 Thanks for that! Is there anyway to upload this with it affecting the default logicboxes module? Nope unless you want to edit all the files and folder to rename it But it's plug and play you can swap back to the logic boxes one by Blesta if you wish. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.