-
Posts
4,868 -
Joined
-
Last visited
-
Days Won
389
Posts posted by Blesta Addons
-
-
Api
in The Lounge
the manual API for blesta is located here
-
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 Plugin4 - 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- sedudohost, PauloV, Michael and 1 other
- 4
-
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
-
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 .
-
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 .
-
the Logs say anything ?
try deleteing the cron and ad it again .
-
-
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
- sedudohost, evolvewh, Michael and 1 other
- 4
-
is corrected now ...
Work like a charm
-
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 ; }
-
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 ?
-
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 .
-
The service isn't available to getAdminEditFields--why do you need it?
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(); } }
-
i get this error
Non-static method Services::edit() should not be called statically, assuming $this from incompatible context on line 946 in /home/xxxxxxx/public_html/blesta/components/modules/logicboxes/logicboxes.php
when i use the $this->editService i get this fatal error :
Fatal error: Cannot access private property ModuleFields::$fields in /home/xxxxxxx/public_html/blesta/components/modules/logicboxes/logicboxes.php on line 374
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" .
-
What are the error messages, if any?
in the first post
BlestaResponse Object
(
[raw:BlestaResponse:private] =>
[response_code:BlestaResponse:private] => 0
)
-
-
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
-
-
-
Not yet , but you can setup a separate backage for domains and make it as a addon for the hosting package .
-
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
-
are the port 22 open or blocked by your firewall ?
the SFTP idn't use the 21 port .
-
Hello
can you PM a screenshoot of ftp and blesta admin plugins .
-
Thanks ,
it require registration
Make Modules Support Actions/cron/events
in Feature Requests
Posted
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/