Jump to content

Blesta Addons

Alpha Developers
  • Posts

    4,868
  • Joined

  • Last visited

  • Days Won

    389

Everything posted by Blesta Addons

  1. disable mod_security and test again .
  2. this is my attention , i don't need to work in two side , but if not possible is ok no probleme . but we want something that let us attach plugin to a module . http://www.blesta.com/forums/index.php?/topic/2670-attach-plugin-to-a-module/
  3. Blesta Addons

    Api

    the manual API for blesta is located here http://docs.blesta.com/display/dev/API
  4. Hello i lot of us has a probleme with some nav links, this link to be adjusted it needthe change group staff or delete the files in the cache directory . so here is the plugin that let you delete the cache with a simple click ... TESTED and Work Perfectly . INSTALLATION : 1- Download the plugin file FROM GITHUB 2- upload the emptycache Directory to Plugins 3- Go to settings/plugins/ install Empty Cache Plugin 4 - A new link under tools will be added to empty the cache . 4- You Are Done , ENJOY . ANY Suggestion , FeedBack , Bugs , Please Post it inthis thread . GItHub Reposity for my Free Blesta Works --- https://github.com/blesta-addons
  5. Hello We have already talk this in some threads , and don't see any request feature for it , so i will put it . we need the modules will be able to add Actions(links-Widget) , Cron task and events to the system and also to be able to register in ACL , like the plugins . best regards
  6. 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 .
  7. 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 .
  8. the Logs say anything ? try deleteing the cron and ad it again .
  9. it can be addeed to the default module if blesta staff want it .
  10. 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
  11. is corrected now ... Work like a charm
  12. Hello Tyson ... after checking and testing the code , the data is not saved in database , and no error is returned can please check with me Loader::loadModels($this, array("Services")); $order_id = $this->getorderid($package->module_row , $vars->{'domain-name'}); $parts = explode('/', $_SERVER['REQUEST_URI']); // get the service id from url $this->Services->edit($parts[sizeof($parts)-2], array('domain-name' => $vars->{'domain-name'} , 'order-id' => $order_id)); if (($errors = $this->Services->errors())) { echo $errors ; }
  13. now it remain to do it in the client interface . as i know is not possible to do it in the client tab service info ? any thing e can do it in the client side ?
  14. thanks tyson , i have got it with your code . $parts = explode('/', $_SERVER['REQUEST_URI']); // get the service id from $this->Services->edit($parts[sizeof($parts)-2], array('domain-name' => $vars->{'domain-name'} , 'order-id' => $order_id)); $errors = $this->Services->errors(); best regards .
  15. i will give you my scenario . after importing from v2.5 , all the domains (logicbox) has not the order-id fields . we should change it manually in phpmyadmin (about 3500 fields is like imposible now ) what i have found as solution ; make the logicbox module get the order-id by the domain , that we have made it . make the logicbox module update the order-id in the adminedit view , that we have made it . now we need to make the update silence in editadmin view and the client service info function , when a client/staff/admin enter to the service view , we check if the order-id field exist , if not we get the order-id and update the services fields auto . we have all don now , it remain just hwo we can update the service fields with the domain-name and order-id public function getAdminEditFields($package, $vars=null) { if ($package->meta->type == "domain") { Loader::loadHelpers($this, array("Html")); $fields = new ModuleFields(); // Get The orderid if missing in the database (usefull for imported services) if (property_exists($fields, "order-id")) $order_id = $vars->{'order-id'}; else { $order_id = $this->getorderid($package->module_row , $vars->{'domain-name'}); $parts = explode('/', $_SERVER['REQUEST_URI']); // here we get the servie id $this->editService($package, $parts[sizeof($parts)-2] , array('domain-name' => $vars->{'domain-name'} , 'order-id' => $order_id) , $parent_package=null, $parent_service=null); } // Create domain label $domain = $fields->label(Language::_("Logicboxes.domain.domain-name", true), "domain-name"); // Create domain field and attach to domain label $domain->attach($fields->fieldText("domain-name", $this->Html->ifSet($vars->{'domain-name'}), array('id'=>"domain-name"))); // Set the label as a field $fields->setField($domain); // Create Order-id label $orderid = $fields->label(Language::_("Logicboxes.domain.order-id", true), "order-id"); // Create orderid field and attach to orderid label $orderid->attach($fields->fieldText("order-id", $this->Html->ifSet($order_id), array('id'=>"order-id"))); // Set the label as a field $fields->setField($orderid); return $fields; } else { return new ModuleFields(); } }
  16. i get this error when i use the $this->editService i get this fatal error : my code is the fallowing : $this->editService($package, $fields , array('domain-name' => $vars->{'domain-name'} , 'order-id' => $order_id)); EDIT : this is because maybe i should send the service with the call function . How i can get the $service inside the "getAdminEditFields" .
  17. in the first post BlestaResponse Object ( [raw:BlestaResponse:private] => [response_code:BlestaResponse:private] => 0 )
  18. That because , i think , you have set generate invoice 3 days before expiration date . adjust it in the settings .
  19. Hello All, this thread is a old one that we have already talked, but we have not arrived to any solution . my sugggestion is to allow plugins register thier own tabs/actions to the modules . , a simple scenario for that . i have the modules instaled cpanel , plesk directadmn , interwoks ect .... i want to code plugin , let say csf_plugin , i want my plugin be able to attached extra tab to the cpanel modules , so we will have a new tab csf_unblock , with that tab we can acheive the plugin function . this is better than editing a cpanel or plesk module to include what is not needed by all . another scenario attache a dedicated softacoulos plugin to cpanel/interwork/directadmin ....ect .. native cpanel module + extended cpanel plugin attached to it in general attach a custom plugin to a module . but the best of the best is to make ability to attach tabs/actions of plugins/modules and viceversa . the old thread was here http://www.blesta.com/forums/index.php?/topic/673-attach-plugin-to-a-module/ also i suggest blesta stuff to make the orpholan thread to a new section like archive .... because a lot of old threads are not listed in the forums . best regards
  20. wich module you use ? normally when adding domain , untick the box 'use_module' . then the module will create the service and will not provisionning them through the registrar .
  21. Not yet , but you can setup a separate backage for domains and make it as a addon for the hosting package .
  22. the orderbox (resell/resellerclub ..ect ) does not have this option to get the price . EDIT i get the function , they have also this customer-price reseller-price
  23. are the port 22 open or blocked by your firewall ? the SFTP idn't use the 21 port .
  24. Hello can you PM a screenshoot of ftp and blesta admin plugins .
×
×
  • Create New...