Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/02/2015 in all areas

  1. Cody

    Release 3.5.3

    Version 3.5.3 is now available. You can download it in the Client Area. This is a patch release that corrects issues with 3.5.0. Patching Blesta See Patching Blesta in the User Manual for instructions. Release Notes See Blesta Core - Version 3.5.3. See all Change Logs.
    3 points
  2. Via the API you would have to fetch the client and then fetch his services, and manually sort out whether they have an active SolusVM service and what the main IP may be. If you simply need a list to reference, a CSV report may be useful. Create a custom report under [billing] -> [Reports] with a query for what you want to fetch, e.g. SELECT REPLACE(`clients`.`id_format`, '{num}', `clients`.`id_value`) AS `id_code`, `service_fields`.`value` AS `main_ip` FROM `clients` INNER JOIN `services` ON `services`.`client_id` = `clients`.`id` INNER JOIN `service_fields` ON `service_fields`.`service_id` = `services`.`id` WHERE `services`.`status` = 'active' AND `service_fields`.`key` = 'solusvm_main_ip_address' GROUP BY `services`.`id`, `clients`.`id` ORDER BY `id_code` ASC;
    3 points
  3. Max

    Blesta Install Compromised

    Probably too late now, but next time make sure to do a "stat /path/to/file" before you delete the file. It shows the file modification time to the second. Looking up that exact time in your webserver access log can sometimes help finding a compromised script, if that was used to install that file.
    2 points
  4. Michael

    Release 3.5.3

    Upgraded and only 7 issues in this patch well done guys roll on 3.6.0
    1 point
  5. PauloV

    Domain Name Checker

    I have tried in 2 situation but no luck, I can retive sucessful retive a valid token in the 2 situations, to bypass the token check, but still shows erros validating the view: Situation one using curl, like this: <!DOCTYPE html> <html dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Domain Form Exemple</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <!--[if lt IE 9]> <script type='text/javascript' src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.7.1/modernizr.min.js"></script> <script type='text/javascript' src="//www.weblx.pt/js/css3-mediaqueries.js"></script> <script type='text/javascript' src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script type='text/javascript' src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script> <![endif]--> <style type="text/css"> div.c1 {margin-top: 50px} </style> </head> <body> <div class="row col-md-8 col-md-offset-2 whois c1"> <?php $blesta_order_form_url = "http://[your-blesta-order-form-url]"; function Get_Domain_Contents($url){ // get the html content from the blesta order from $ch = curl_init(); curl_setopt($ch,CURLOPT_URL,$url); curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,5); curl_setopt($ch, CURLOPT_TIMEOUT, 10); $data = curl_exec($ch); curl_close($ch); // fectch the input token from the html content $pattern = '/<input type="hidden" name="_csrf_token" value="(.*?)" \/>/'; preg_match($pattern, $data, $matches); //return only the token string return $matches[1]; } // initiate the call to the function to get the token from blesta order form $token = Get_Domain_Contents($blesta_order_form_url); ?> <form method="post" action="<?php echo blesta_order_form_url;?>"> <input type="hidden" name="_csrf_token" value="<?php echo $token;?>" /> <div class="well well-order"> <div class="form-group"> <input type="text" name="domain" value="" placeholder="yourdomain.com" class= "form-control input-md"> </div> <div class="form-group tlds"> <label class="checkbox-inline"><input type="checkbox" name="tlds[]" value=".com"> .com</label> </div> </div> <div class="search btn-group"> <button class="btn btn-default" type="submit" name="lookup" value="1">Check Availability</button> <button class="btn btn-default" type="submit" name="transfer" value="1"> Transfer</button> <a href="<?php echo $blesta_order_form_url;?>/?skip=true" class="btn btn-default"> Skip, Order Other Items</a> </div> </form> </div> </body> </html> Situation 2 using this method to get the token (http://www.blesta.com/forums/index.php?/topic/1107-login-and-redirect-client-user-from-custom-website-to-billing-website/#entry9077) also no luck: <!DOCTYPE html> <html dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Domain Form Exemple</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> <!--[if lt IE 9]> <script type='text/javascript' src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.7.1/modernizr.min.js"></script> <script type='text/javascript' src="//www.weblx.pt/js/css3-mediaqueries.js"></script> <script type='text/javascript' src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script type='text/javascript' src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js"></script> <![endif]--> <style type="text/css"> div.c1 {margin-top: 50px} </style> </head> <body> <div class="row col-md-8 col-md-offset-2 whois c1"> <?php require_once "api/blesta_api.php"; //your blesta api sdk path get from here https://github.com/phillipsdata/blesta_sdk $blesta_order_form_url = "http://[your-blesta-order-form-url]"; $user = "[your-blesta-api-username]"; $key = "[your-blesta-api-password]"; $url = "http://[your-blesta-order-form-url]/api/"; $api = new BlestaApi($url, $user, $key); $token = $api->get("custom.custom_api", "getCsrf")->response(); // this is a custom plugin just folow this steps to implement ?> <form method="post" action="<?php echo $blesta_order_form_url; ?>"> <input type="hidden" name="_csrf_token" value="<?php echo $token;?>" /> <div class="well well-order"> <div class="form-group"> <input type="text" name="domain" value="" placeholder="yourdomain.com" class= "form-control input-md"> </div> <div class="form-group tlds"> <label class="checkbox-inline"><input type="checkbox" name="tlds[]" value=".com"> .com</label> </div> </div> <div class="search btn-group"> <button class="btn btn-default" type="submit" name="lookup" value="1">Check Availability</button> <button class="btn btn-default" type="submit" name="transfer" value="1"> Transfer</button> <a href="<?php echo $blesta_order_form_url;?>/?skip=true" class="btn btn-default"> Skip, Order Other Items</a> </div> </form> </div> </body> </html> Blesta is validating something ele that is missing my eyes lol The error is still this: Oh noes! Files does not exist: /home/[my-folder]/public_html/dev/plugins/order/views/client/bootstrap/message.pdt on line 120 in /home/[my-folder]/public_html/dev/lib/view.php Printing Stack Trace: #0 /home/[my-folder]/public_html/dev/lib/controller.php(197): View->fetch('message', 'client/bootstra...') #1 /home/[my-folder]/public_html/dev/app/app_controller.php(0): Controller->partial() #2 /home/[my-folder]/public_html/dev/app/app_controller.php(0): AppController->setMessage() #3 /home/[my-folder]/public_html/dev/app/app_controller.php(0): AppController->verifyCsrfToken() #4 /home/[my-folder]/public_html/dev/plugins/order/order_controller.php(15): AppController->preAction() #5 /home/[my-folder]/public_html/dev/plugins/order/order_form_controller.php(38): OrderController->preAction() #6 /home/[my-folder]/public_html/dev/plugins/order/controllers/config.php(17): OrderFormController->preAction() #7 /home/[my-folder]/public_html/dev/lib/dispatcher.php(102): Config->preAction() #8 /home/[my-folder]/public_html/dev/index.php(21): Dispatcher::dispatch('/order/config/p...') #9 {main} I have told Richard to implement the easy way, with the disable tokens from blesta.php config file and works great, but with tokens something is missing Any help Cody/Tyson/Paul? Thanks in advance, PV
    1 point
  6. 1 point
  7. Hi You can follow us on Twitter or Facebook to stay up to date on all our Promo's! Links in the original post!
    1 point
  8. Michael

    Mautic Integration

    Looks cool.
    1 point
  9. JoieDeMort

    Mautic Integration

    Mautic is a free competitor to Infusionsoft, Hubspot, Marketo, etc. It's marketing automation. https://www.mautic.org/tour/ It's currently integrated with some big names: https://www.mautic.org/integrations/
    1 point
  10. I would absolutely create ISO based KVM services by mounting the ISO to the virtual CD drive. For KVM systems based off images, it would need to be handled similar to the current OVZ solution.
    1 point
  11. Updated to fix dropdown right menu and the pagination links
    1 point
  12. The only issue here is you paid retail price for that domain no-one has been willing to buy it for ages because of the price. You tried $200 BIN with $60 starting last time: http://www.blesta.com/forums/index.php?/topic/3556-for-sale-blestaextrascom/#entry26451
    1 point
  13. Being able to make an invoice exempt for auto-debit is our preferred way to go. Not sure a task has been created for that, but it should solve this issue.
    1 point
  14. I have replyed to your PM, I will try to debug on Friday
    1 point
  15. a must exist feature . so ++1 .
    1 point
  16. 1 point
×
×
  • Create New...