Jump to content

Logicboxes Reloaded - Extra Feature -


Blesta Addons

Recommended Posts

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

Link to comment
Share on other sites

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 .

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 .

Link to comment
Share on other sites

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

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 9 months later...

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()
Link to comment
Share on other sites

 

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

Link to comment
Share on other sites

  • 1 month later...

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 .

Link to comment
Share on other sites

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

            }

        }

Link to comment
Share on other sites

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;
    }
Link to comment
Share on other sites

  • 1 month later...

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