-
Posts
4,868 -
Joined
-
Last visited
-
Days Won
390
Everything posted by Blesta Addons
-
The name is "Mohamed Anouar" @jn.rounak , i have remply to your PM . actually i can't accept any work , i have a lot of other work to finish + my other Free plugin to the community (proxmox/logicbox/server status/ ...)
-
Adding Existing Cpanel Accounts - Username Issue
Blesta Addons replied to dubjuice's question in Support
Good found . -
it comming with a huge feature to the logicbox module ... but before that i need to complete the proxmox module .
-
Ability To Offer No Credit Card Free Trial?
Blesta Addons replied to leevh's question in Pre-Sales Questions
from the blesta core feature is not possible . Have you some skill in developpment ? if yes you can do it , what i can offer as a help is the step you need to go . 1 - add your 2 packages , one with 0$ as price , second package with your disered price . 2 - create order form and exclude any payment gateway from it , also some change in the template to remove any thing related to payment option with cc/ach . 3 - create a plugin that has a cronjob , to search any activated service today with the package ID = xx (the free package) and change it to package ID = yy (the payed package) . 4 - clone the offline payment gateway , and change the name and contant , the name make it "Activate my Service" , and the content add in it something that tell your client the service was recieved and will be ativated in some minutes , if you want the service to be activated without any accept from admin side, change that from the gateway cloned . -
Future release without ETA is something that make me lost Maybe this is the major request for multi-language , note this is not my request , this what i think about a complete multi-language blesta . to no , i heat a phrase like "This is not currently possible" , "this is impossible now" ... it send a bad signal . this is something related to the action table . the search option event . i have a found 2 temporary solutions for the "Multi-Language in Navigation Links from Plugins" , the first one is a modification in the navigation.php model , te second one is a plugin with jquery cpde to search/replace , that is working for me, but i have not yet tested in other installation .
-
Custom Form : How To Get The Csrf Token Variable?
Blesta Addons replied to serge's question in Support
from wich file you want to obtain the csrf token . normally if you have used the class "Form" it should include it auto . -
Well done
-
what is teh benifict from Server Groups option in module ? if i place several servers in this 1 groups , what happen in packages ? i tested and i never see the effect of this option . what i have understand , if i have server 1 --- has 3 plans server 2 --- has 5 plans server 3 --- has 2 plans i can group all plans (10) in one list in package . this is correct ?
-
this plugin is stopped from dev , i suggest you to install the admin tools plugins that have this updated feature . also your probleme has nothing related to the stored cache .
-
i se a lot of providers in europe show the price net with out any tax , and then put a message that all price are excluded from (tax) that show be aded (20% ort other percentage ) , others show the price include the tax . and putting a message the prices tax included . normally blesta show tax when client is logged and then thesystem can calculat the tax he shoud add . but you can customize the cart with a simple change in the templates to show the the prices with tax , what you need here just to ($price->price * 1.2 ) or any other calculation that feat your need . but do not override the original price ($price->price) . that issue was talked before , and we have agreed that the invoice should not be changed after it was isseud , the main probleme was how to achieve this ? and we have talked in this a lot , the simple solution is to save an array of the customer detailles in the same row of invoice , so if the invoice has the customer detailles it should not fetch it from client table . i believe that this simple tips will be fixed from the staff after the v3.4 .
-
from Paul post , is after the v3.4 , and is not sure to be in 3.5 if was the plugin is depend in it , i was already do it , but the plugin need to make some change in other templates out side the plugin , like the order templates and in client side templates for some cases .
-
This is the first question than can anyone has a non English business ask . Blesta is Multi-Language ? the answer is Yes , but as now "v 3.3.2" is not totally multi language , so why yes , and why is not totally multi language . 1 - if you want to run blesta in only one other language rather than English , so is "yes" , you need to disable "Client may set Language" . 2 - if you want to run blesta in multiple languages , the answer here is not totally multi language . so my analyses will get based in the second case . A - the first big obstacle is the Portal CMS plugin , is a unique language , we can't make entry for a multiple languages . B - the navigation link , exempt the core one "dashboard,account,contact" , are not in multi-language , so if you install the plugin with admin area in English , the navigation will remain in English even if the client has a French language in their profile , for me this a "no professional company" that offer a their clients a merged languages in their navigation links , this issue i have already posted in the forums and it was not answered . C - no languages selection in the system for visitors - not logged clients - , and this has no sense with multiple languages installed . D - the widgets name, the search options tag , is not multi languages . after blesta is supporting this issue we can say blesta is a true multi-language system .
-
Logged In Client Can't Change Currency For Items In Order
Blesta Addons replied to Blesta Addons's topic in Bugs
with this case , close a non bug . -
Bug In The Ajax Boxes Order Form Template
Blesta Addons replied to ModulesBakery's question in Support
i have got what you want to say .... in the standard and wizard template , it get a nother radio box of credit , that mean two option to pay with the credit . this is because you don't use a unified "total_credit" function for all . the total_credit is coded inside the index function . this index is not used in ajax template . the solution is : 1 - add the total_credit to the summary function , and change in the template view summary.pdt . 2 - add it inside getPaymentOptions() as a new var "credit" , to be available in all template . (of course this will need a some change in pdt file but this is not a probleme , i have the solution for that , i will update the code when i get time to work in it this weekend . as @ModulesBakery say , the important for us is to find a way to support paying using the credit in all templates . you said in your post n5 there is no way to do it . i demonstrate in my previos post blesta can do it -
Bug In The Ajax Boxes Order Form Template
Blesta Addons replied to ModulesBakery's question in Support
the important here is a solution for this case , is not important mine or your's code , the important is find a solution or a way to do it . for wizard or standard template i have not tested , but i will . also i'm sure there is a solution , the flexible code of blesta can do this task . for overriding fileds , that is not true , i have just assigned a velue to imput and then i have get it with condition statement . at least test it and see the result , and design a good code to implement . -
Custom Form : How To Get The Csrf Token Variable?
Blesta Addons replied to serge's question in Support
$vars->_csrf_token -
Logged In Client Can't Change Currency For Items In Order
Blesta Addons replied to Blesta Addons's topic in Bugs
i have identified the probleme // Currency can only be changed if cart is empty -
Bug In The Ajax Boxes Order Form Template
Blesta Addons replied to ModulesBakery's question in Support
i have got it , now i have working soltion with a minimal file change . now i list my change hack . in file : Order_Form_Controller.php , in fucntion getPaymentOptions . search return compact("nonmerchant_gateways", "merchant_gateway", "payment_types", "currency"); replace with // Require login to proceed with credit payment if ($this->client) { $total_credit = new stdClass() ; $credit = $this->Transactions->getTotalCredit($this->client->id, $currency); if ($credit > 0) { $total_credit->id ="apply_credit"; $total_credit->name ="Pay With Credit ( " . $credit . $currency .")" ; $total_credit->type ="nonmerchant"; $nonmerchant_gateways[] = $total_credit; } } return compact("nonmerchant_gateways", "merchant_gateway", "payment_types", "currency"); in controllers/checkout.php , in function complete search if (isset($this->get['gateway'])) $this->setNonmerchantDetails($order, $invoice, $this->get['gateway']); replace if (isset($this->get['gateway'])) { if ($this->get['gateway'] == "apply_credit") { $amount_applied = $this->applyCredit($invoice); // Refetch the invoice if ($amount_applied !== false) { $invoice = $this->Invoices->get($invoice->id); // Redirect straight to the complete page if the credits took care of the entire invoice if ($invoice->due <= 0 && $invoice->date_closed !== null) { $this->redirect($this->base_uri . "order/checkout/complete/" . $this->order_form->label . "/" . $order->order_number . "/"); } } } else $this->setNonmerchantDetails($order, $invoice, $this->get['gateway']); } enjoy your blesta system I HOPE THIS CAN BE IMPLEMENTED IN THE OFFICIAL RELEASE . -
Logged In Client Can't Change Currency For Items In Order
Blesta Addons replied to Blesta Addons's topic in Bugs
i'm talking about the ajax box template . have you tested it ? -
in the order page . the client is logged . the currency selection show the available currencies for the order form . when the client want to change the selected currency to another one than is set in thier profile , the order form return the same currency he have in thier profile . the client not logged can change it like a charm . so we have here two situation . not logged , can set any currency available and login then he pay with the currency . when logged , he forced to use just the currency set in thier profile . i have not tested the standard template order , is just the ajax template . any other can confirm this ?
-
Bug In The Ajax Boxes Order Form Template
Blesta Addons replied to ModulesBakery's question in Support
with my actual code , the ajax form send the request to gateway called "apply_credit" . now the solution is one of this two : 1 - create a gateway for apply with credit ( i think this is not a complecated task , but now is 02:11 and my eyes is almost closed . 2 - add a check post before sending the request to gateway class . NOTE : my goal is not to create a hack or a custom solution , the main goal is to achieve a working solution to implement it in the core files for next releases . -
Bug In The Ajax Boxes Order Form Template
Blesta Addons replied to ModulesBakery's question in Support
after a deep look in the code , i think i have a tip todo . what i will do is to make the credit as no-marchent payment with id "apply_credit" , in the proccess if the gateway_id is apply_credit , then i call the apply credit function . in getPaymentOptions() i will add in the end smething like $total_credit = new stdClass() ; // Require login to proceed if ($this->client) { $credit = $this->Transactions->getTotalCredit($this->client->id, $currency); if ($credit > 0) { $total_credit->id ="apply_credit"; $total_credit->name ="Pay With Credit ( " . $credit . $currency .")" ; $total_credit->type ="nonmerchant"; $nonmerchant_gateways[] = $total_credit; } } i will try to make it working EDIT : got it to work in the fetch credit for client (i have discovered a bug , i will report it now ) attached a creenshoot for what i have get as result . -
Bug In The Ajax Boxes Order Form Template
Blesta Addons replied to ModulesBakery's question in Support
any news about this feature/bug ? -
in the standard orderpage , we can remove one item if there is more items in the cart . but in the ajax order form (wizard, ajax ) is not possible, only the empty cart option exist . (the whole items)
-
Custom Form : How To Get The Csrf Token Variable?
Blesta Addons replied to serge's question in Support
let me say $_POST["_csrf_token"]