-
Posts
4,868 -
Joined
-
Last visited
-
Days Won
390
Everything posted by Blesta Addons
-
have you created clients manual or from registration order page form ? the database users table has the data of the clients ?
-
we have the Ovh module already done and we will release it next week . we think the test period now is enough and has gone smoothly . you can contact us or PM me for the other modules if you want us to develop them .
-
Blesta system has not option to suspend service after x minutes from unpaid invoice . a helper plugin can do the trick for you .
-
personally i prefer two event ... one before the delete action and other after the delete action . the same for the edit action . that way we can for example control a user before the edit and after the edit , so real case, we have a client group that we won't allow them to change thier name and country . so with pre Edit action event we can check if the user/contact belong to this client group and then we set a input->errors() so the change won't be able . they need to contact the staff another idea for pre/after event callback is the gateways manager, we have made a custom work to dissalow some gateway from appearing in the gateway payment for some client based in country . we have added event for getInstalledNonmerchant() and we make a filter to remove the no desired gateway from the list of returned gateway so more events more magic functions in blesta
-
i remember i have sent the same events with a lot of events already made to @Paul a age ago, but it seem they have their own priority and roadmap to add events . i have already integrated a gateways/contacts/clients_groups/companies/coupons/cronjob/calenders/staff/transactions if any one need the vent files i canshare theme, they need only to the event in the model i haven't time to search the old files, but it very easy to add them, thanks Besta for the open source files Note, i don't have enough space to add more files/images !! can anyone add 0 in the end of my upload files limit
-
we have unchecked "Use Package Pricing for New Services Only " . when the client switch to a currency that is not setup in the package prices, blesta make the exchange rate and show the price with the new currency . at here all thing is good . now hen the package has Configurable Options , blesta only show it if the selected currency are already set in the Configurable Options . is this a limitation of Blesta or we have something wrong in our system ? if we have 8 active currency , we need to enter 8 times the prices for each currency for every term, and that is a lot for manual work , also if the exchange rate change we need to update them all .
-
No, but exist some client order multiple or custom vps from different location and they resell them to others, thy don't have reseller or root to use the master SolusVM credential . and to avoid client ticket with reboot or shutdown request , this module do the trick
-
we will change the whole signature soon
-
The SolusVM Client API doesn't support the change hostname & reinstall , we have submit a request tot hem the client API DOCS https://documentation.solusvm.com/display/DOCS/Functions
-
the market place return error when we want to add new item The upload path could not be created.
-
SolusVM Client Module SolusVM Client Module for Blesta is a module that integrates with Blesta to manage VPS using SolusVM Client Account instead of Master Account. Features Reboot virtual server Boot virtual server Shutdown virtual server Display virtual server information Suspend virtual server (admin side) UnSuspend virtual server (admin side) More Info the price is 29.99$ Yearly , (or 7$ Monthly in case any one want to test the module before make the yearly subscription) . you can order here. any bug/feedback report it here . best regards
-
successfully added message, but no data inserted in databse
Blesta Addons replied to Blesta Addons's question in Support
i found something very interesting ! when we set date to date('c') it wont add , but when we set date to something like '05/02/2017' it work !!!! as the database schema the dates will set setField("date_added", array('type' => "datetime"))-> setField("date_updated", array('type' => "datetime", 'is_null'=>true, 'default'=>null))-> -
successfully added message, but no data inserted in databse
Blesta Addons replied to Blesta Addons's question in Support
i have rewrite almost all models and controllers , without success, tested updating mysql server also . hwt i think is something related to my database shema, but why i can't understand why it was working in v3.2/3.6 ! -
Not sure if this possible, but what i do normally is to the set request inside the widget itself . are you want to make sorting table by indexes or something similar ?
-
successfully added message, but no data inserted in databse
Blesta Addons replied to Blesta Addons's question in Support
if the demo work so is mysql version maybe ... as is not working at all in my server . i will try to update the mysql server and see again -
successfully added message, but no data inserted in databse
Blesta Addons replied to Blesta Addons's question in Support
Thanks fro your help . Finnaly is a blesta BUG, i have searched some blesta files that use equivalent code to my, and i found the support manager . so to reproduce the case do the fallowing add a new KB article, try to edit it !!!! that all no change has been made with a success message . i hope this should be fixed as soon as possible . -
successfully added message, but no data inserted in databse
Blesta Addons replied to Blesta Addons's question in Support
the equivalent sql code that is working UPDATE `nh_store_products` SET `category_id` =2, `access` = 'public' WHERE `id` =18 -
successfully added message, but no data inserted in databse
Blesta Addons replied to Blesta Addons's question in Support
Thanks Adam, of course product_id is not null, the output is changing the same line via phpmyadmin is working . i confirm the same code work in v3.6 PDOStatement Object ( [queryString] => UPDATE `nh_store_products` SET `category_id`=?, `date_added`=? WHERE `id`=? ) -
successfully added message, but no data inserted in databse
Blesta Addons replied to Blesta Addons's question in Support
i was firstly thinking about it , and i have removed the transaction, and made a simple query to just test and is returni g a success messages but is not affecting in database $data = []; $data['category_id'] = '3'; $data['date_added'] = date('c'); $this->Record->where('id', '=', $product_id) ->update('nh_store_products', $data, ['category_id', 'date_added']); above the table structure . the same structure is working in v 3.2 and above !!! $this->Record-> setField("id", array('type'=>"int", 'size'=>10, 'unsigned'=>true, 'auto_increment'=>true))-> setField("company_id", array('type'=>"int", 'size'=>10, 'unsigned'=>true))-> setField("category_id", array('type'=>"int", 'size'=>10, 'unsigned'=>true))-> setField("brand_id", array('type'=>"int", 'size'=>10, 'unsigned'=>true))-> setField("package_id", array('type'=>"int", 'size'=>10, 'unsigned'=>true))-> setField("status", array('type'=>"enum", 'size'=>"'active','inactive'", 'default'=>"active"))-> setField("access", array('type'=>"enum", 'size'=>"'public','private','hidden'", 'default'=>"public"))-> setField("logo", array('type'=>"varchar", 'size'=>255))-> setField("allow_comments", array('type'=>"enum", 'size'=>"'enable','disable'", 'default'=>"enable"))-> setField("promotion", array('type'=>"enum", 'size'=>"'enable','disable'", 'default'=>"disable"))-> setField("price_type", array('type'=>"enum", 'size'=>"'free','commercial'", 'default'=>"free"))-> setField("version", array('type'=>"varchar", 'size'=>255))-> setField("platform", array('type'=>"varchar", 'size'=>255, 'is_null'=>true, 'default'=>null))-> setField("technology", array('type'=>"varchar", 'size'=>255, 'is_null'=>true, 'default'=>null))-> setField("credits", array('type'=>"mediumtext", 'is_null'=>true, 'default'=>null))-> setField("docs", array('type'=>"mediumtext", 'is_null'=>true, 'default'=>null))-> setField("video", array('type'=>"mediumtext", 'is_null'=>true, 'default'=>null))-> setField("requirements", array('type'=>"mediumtext", 'is_null'=>true, 'default'=>null))-> setField("features_list", array('type'=>"mediumtext", 'is_null'=>true, 'default'=>null))-> setField("change_log", array('type'=>"mediumtext", 'is_null'=>true, 'default'=>null))-> setField("up_votes", array('type'=>"int", 'size'=>10, 'unsigned'=>true, 'default'=>0))-> setField("down_votes", array('type'=>"int", 'size'=>10, 'unsigned'=>true, 'default'=>0))-> setField("views", array('type'=>"int", 'size'=>10, 'unsigned'=>true, 'default'=>0))-> setField("date_added", array('type' => "datetime"))-> setField("date_updated", array('type' => "datetime", 'is_null'=>true, 'default'=>null))-> setKey(array("id"), "primary")-> setKey(array("company_id", "access"), "index")-> create("nh_store_products", true); -
successfully added message, but no data inserted in databse
Blesta Addons replied to Blesta Addons's question in Support
is MySQL Community Server (GPL) V: 5.6.35 - -
successfully added message, but no data inserted in databse
Blesta Addons replied to Blesta Addons's question in Support
after some investigation , the $this->Record->lastInsertId(); return 0 . hope he can come soon -
successfully added message, but no data inserted in databse
Blesta Addons posted a question in Support
today we have found that one of our custom plugin have a strange behavior in v4 . after adding a item, the successfully message appear but no data inserted in database ! , when we left some empty fields it return the error validation for that fields; so the validation pass without any issue, after a search in the forum the same behavior was reported in support manager pro in v4 also, no change made in database. i was thinking what will be the cause for this behavior ?as no error returned from the Record components or the Input components . i have added the begin() commit() rollback() fucntion to see what happen but no result, also the error_reporting and the debugger is not catching any error !!! any idea how to diagnostics the problem ? -
this point is the only point we have based on it to identify the creator of invoice , we haven't found any issue at the moment with a custom plugin . to achieve the gaol, you need to make a loop for each line in the invoice, and check if service_id is null , sample code $invoice_system = false; foreach ($invoice_lines as $line) { if ($line->service_id != null) { $invoice_system = true; } } if ($invoice_system) { // invoice was created by the system, so do this } else { // invoice was created manually, so do this } Hope it help you .