Jump to content

Recommended Posts

Posted

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

Posted

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 .

Posted

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.

Posted

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.

Posted

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 .

  • 2 months later...
  • 1 month later...
Posted

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.

  • 9 months later...
Posted

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()
Posted

 

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 ....

Posted

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.

  • 1 month later...
Posted

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!

Posted

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 .

Posted

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);

            }

        }

Posted

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;
    }
Posted

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

  • 1 month later...
Posted

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

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...