Jump to content

activa

Members
  • Posts

    737
  • Joined

  • Last visited

  • Days Won

    14

Reputation Activity

  1. Like
    activa reacted to Michael in BlestaForums in pre-beta   
    I started BlestaForums to get a community forum part of Blesta and make it more integrated and amazing. I've been very busy lately working in my new job as-well and I've been doing other things. Timothy (@timnboys) has been helping complete the forums as he wanted to get it to work on his site instead of the paid and free ones.

    So together we've been doing the Blesta Forums and we're proud to announce that it's now in Pre-beta! This means we're testing it with our own customers so we can ensure it's as bug free as we can before the private beta emerges.
    Both of us will be selling the product with our own licensing servers and we'll both support it's growth together. it will be open code minus the encoding for licensing purposes and we have so much planned.

    I've got a to-do list here: https://atlantis.plutio.com/p/blestaforums
     
    He's a small preview for our non customers:



     





     
    Our site: https://blesta.store/client/plugin/blesta_forums/
    Timothy's site: https://cubedata.net/client/plugin/blesta_forums/
  2. Like
    activa reacted to Tyson in API - Services getAllByClient   
    Are you using the SDK from the API documentation? It will do this for you, but @activa is correct that you should pass your data through http_build_query() if you do it yourself.
  3. Like
    activa reacted to Blesta Addons in Domain Manager - We need your feedback on domains   
    What is the Obstacle Now in Domains? in reality the obstacles are now :
    - Multi Price System, This can be fixed with more price fields like Renewal Price, we add more fields , Transfer Price, Restore Price.
    - Better Domain Management, this also can be fixed by adding the functions to the actual modules .
    - Unification Commands, this also can be done by actualizing the actual modules.
    - Privacy, Forwarding & other addons prices, this can be implemented with the actual  system by addons, we need just to tweak the actual modules to support this addons
    - if we want to distinct with domains modules and other modules we can add a new entry in modules to define is a domain module or not (true/false) or something like the order type definition.
    For me what Blesta need is enhancing the actual system  and not reinventing a whole system for domains.  now we have waited years to only hear a something from blesta, creating another system will take other 2 or 3 years, and the quick solution and the simple is to extend the actual exist mechanism to support new features .
  4. Like
    activa got a reaction from Tyson in API - Services getAllByClient   
    Make all params inside a $vars array then use  http_build_query() it will do the job for you. Anyway i think the result will be like
    order_by%5date_added%5=desc
     
  5. Like
    activa reacted to elzek1 in TeamSpeak 3 Module (Alpha)   
    https://docs.planetteamspeak.com/ts3/php/framework/
    On suspend Mode all option are disable from client side
  6. Like
    activa reacted to Blesta Addons in Workaround for different price for order and renewal   
    we also waiting this feature, it will solve one of our issues.
  7. Like
    activa reacted to Joseph H in Order Search   
    Been through this, It's a very useful to be able to search for order number as well. So +1
  8. Like
    activa reacted to Blesta Addons in Order Search   
    it would be nice to add orders to searchable items . like tickets ect ...
  9. Thanks
    activa reacted to Tyson in Mass Mailer, SMTP setting   
    Created as CORE-3111.
  10. Like
    activa reacted to Paul in Workaround for different price for order and renewal   
    I think Blesta version 4.6 may solve this for you. Beta soon.
  11. Like
    activa reacted to Michael Kinder in Trutone Blesta Integration   
    还不足以继续这个对话。
    I'll stick to English. ?
  12. Like
    activa reacted to Tyson in Enable account credit   
    A credit is a payment transaction that is not applied to any invoices. On that "Record Payment" page, simply enter the payment amount, but do not check any invoices to pay from the list. In that case, a transaction will be created and it will not be assigned to any invoices, therefore it will appear as available credit.
  13. Like
    activa reacted to Tyson in Use Multi-Currency On Your Site Using GeoIP   
    Looks good!
    One thing you could do in the future to improve on this is to create a plugin for Blesta that accepts an IP address and uses the GeoIP2 database already supported by Blesta to determine the country (i.e. replaces the geoplugin.com file), then your plugin can do the mapping and return the appropriate currency for the country.
  14. Like
    activa reacted to Michael Kinder in Use Multi-Currency On Your Site Using GeoIP   
    Hi everyone! I just wanted to share this with you because I think it would be useful to those who aren't necessarily familiar with PHP and want to display different currencies based upon the user's IP address. Big thanks to @Blesta.Store for sharing a big portion of this code already on the forum. This will pull prices from Blesta's API and allow you to use multiple currencies.
     
    After you've uploaded the API SDK, you're going to want to download this file: https://www.geoplugin.com/_media/webservices/geoplugin.class.phps
    Upload that file into your site's directory, then take the contents below and place it at the top of your site files (or the pages where you will be displaying the prices).
     
    <?php require_once('geoplugin.class.php'); $geoplugin = new geoPlugin(); $geoplugin->locate(); // create a variable for the country code $var_country_code = $geoplugin->countryCode; // redirect based on country code: if ($var_country_code == "AU") { $selected_currency = "AUD"; } else if ($var_country_code == "CA") { $selected_currency = "CAD"; } else if ($var_country_code == "AT") { $selected_currency = "EUR"; } else if ($var_country_code == "BE") { $selected_currency = "EUR"; } else if ($var_country_code == "BG") { $selected_currency = "EUR"; } else if ($var_country_code == "CY") { $selected_currency = "EUR"; } else if ($var_country_code == "CZ") { $selected_currency = "EUR"; } else if ($var_country_code == "DK") { $selected_currency = "EUR"; } else if ($var_country_code == "EE") { $selected_currency = "EUR"; } else if ($var_country_code == "FI") { $selected_currency = "EUR"; } else if ($var_country_code == "DE") { $selected_currency = "EUR"; } else if ($var_country_code == "GR") { $selected_currency = "EUR"; } else if ($var_country_code == "HU") { $selected_currency = "EUR"; } else if ($var_country_code == "IE") { $selected_currency = "EUR"; } else if ($var_country_code == "IT") { $selected_currency = "EUR"; } else if ($var_country_code == "LV") { $selected_currency = "EUR"; } else if ($var_country_code == "LU") { $selected_currency = "EUR"; } else if ($var_country_code == "MT") { $selected_currency = "EUR"; } else if ($var_country_code == "NL") { $selected_currency = "EUR"; } else if ($var_country_code == "PL") { $selected_currency = "EUR"; } else if ($var_country_code == "PT") { $selected_currency = "EUR"; } else if ($var_country_code == "RO") { $selected_currency = "EUR"; } else if ($var_country_code == "SK") { $selected_currency = "EUR"; } else if ($var_country_code == "SI") { $selected_currency = "EUR"; } else if ($var_country_code == "ES") { $selected_currency = "EUR"; } else if ($var_country_code == "SE") { $selected_currency = "EUR"; } else if ($var_country_code == "GB") { $selected_currency = "GBP"; } else if ($var_country_code == "IN") { $selected_currency = "INR"; } else if ($var_country_code == "MX") { $selected_currency = "MXN"; } else { $selected_currency = "USD"; } require_once "/home/username/public_html/blesta/api/blesta_api.php"; $user = "username"; $key = "key"; $url = "url"; $api = new BlestaApi($url, $user, $key); $company_id = 1; // Set acceptable currencies $valid_currencies = array("USD", "GBP", "EUR", "INR", "MXN", "AUD"); // Set default currency // Set another currency if given if (isset($_GET['currency']) && in_array(strtoupper($_GET['currency']), $valid_currencies)) $selected_currency = strtoupper($_GET['currency']); $price1 = getPackagePrice($api, 4, "month", 1); $price2 = getPackagePrice($api, 57, "year", 1); $price3 = getPackagePrice($api, 29, "month", 1); $price4 = getPackagePrice($api, 50, "month", 1); $price5 = getPackagePrice($api, 298, "year", 1); $price1_amount = formatCurrency($api, $price1->price, $price1->currency, $selected_currency, $company_id); $price2_amount = formatCurrency($api, $price2->price, $price2->currency, $selected_currency, $company_id); $price3_amount = formatCurrency($api, $price3->price, $price3->currency, $selected_currency, $company_id); $price4_amount = formatCurrency($api, $price4->price, $price4->currency, $selected_currency, $company_id); $price5_amount = formatCurrency($api, $price5->price, $price5->currency, $selected_currency, $company_id); function getPackagePrice($api, $package_id, $period, $term) { $package = $api->get("packages", "get", array('package_id' => $package_id))->response(); $package_price = null; foreach ($package->pricing as $price) { // Get monthly term if ($price->period == $period && $price->term == $term) { return $price; } } return false; } function formatCurrency($api, $amount, $from_currency, $to_currency, $company_id) { // Do the currency conversion $amount = $api->get("currencies", "convert", array('amount' => $amount, 'from_currency' => $from_currency, 'to_currency' => $to_currency, 'company_id' => $company_id))->response(); // Format the currency return $api->get("currencies", "toCurrency", array('value' => $amount, 'currency' => $to_currency, 'company_id' => $company_id))->response(); } ?>  
    Next, you're going to want to create your API credentials in Blesta and fill them in appropriately.
    After you've done this, simply place the following code (changing the numbers appropriately) where you would like to display the prices.
     
    <?php echo $price1_amount; ?>  
    Of course you can make modifications as you desire, but I wanted to share this with you in case anyone wanted to do the same.
  15. Like
    activa reacted to Michael Kinder in Trutone Blesta Integration   
    Recently redid the website and here's the result of the integration into the new site design. What do you think?
     


  16. Like
    activa reacted to Michael Kinder in how to pass on paypal merchant fees?   
    A simple fix you could implement (I used to do this) is to setup a tax at a set percentage that will be sufficient to cover the PayPal fees and then once they pay, the fees will be taken from the total amount and you'll be left with the actual amount for the service.
  17. Like
    activa got a reaction from Tyson in Translation menu entries   
    You should translate languages files indide every plugin .
  18. Like
    activa reacted to Tyson in Client Side not showing errors returned from gateway buildProcess()   
    Thanks, I think that would be a useful addition. We'll look into it for CORE-3066.
  19. Like
    activa reacted to Blesta Addons in Client Side not showing errors returned from gateway buildProcess()   
    after some look at blesta code, i find that the GatewayPayments->getBuildProcess() is not setting the errors, it only return the html returned data, in this case is a empty value . we have made a simple fix, in two files .
    components/gateway_payments/gateway_payments.php  line 162
    change from
    return $html; to
    if (($errors = $gateway_obj->errors())) { // If no response given and errors set, pass those errors along $this->Input->setErrors($errors); return; } return $html;  
    file controllers/client_pay.php line 868
    change from
    $this->set( 'gateway_buttons', $this->Payments->getBuildProcess( $contact_info, $total, $payment['currency'], $apply_amounts, $options, $payment['method']['pay_with'] ) ); to
    $gateway_buttons = $this->Payments->getBuildProcess( $contact_info, $total, $payment['currency'], $apply_amounts, $options, $payment['method']['pay_with'] ); if ($errors = $this->Payments->errors()) { $this->setMessage('error', $errors); } $this->set('gateway_buttons', $gateway_buttons);  
    with this way, any error returned the the buildproccess will shown to the client . like invalid zip code,  empty state ...ect
  20. Like
    activa reacted to Blesta Addons in Client Side not showing errors returned from gateway buildProcess()   
    we have a gateway that set a error if returned from the gateway and set it to the returned data, but blesta is not showing the returned error .
    i have made a simple test and made the buildprocess return a error, but blesta client side is not showing it when the client want to pay with that gateway.
    $this->Input->setErrors($this->getCommonError('invalid')); return; is blesta not showing the returned errors in process view, or we have missed something ?
  21. Like
    activa reacted to CanadaCloudHost in ServerNinja   
    My new company after leaving my old business partner.
     
     

  22. Like
    activa reacted to huangsenli in Perfect solution is very good.   
    这很好,非常好。
     


  23. Thanks
    activa reacted to Michael in BlestaForums Beta 1   
    We're almost ready for the Beta 1 of the BlestaForums. Myself and Timothy (our collaboration together) are testing everything to try and keep bugs to a minimum. We're testing everything and when it's ready for Beta 1, we will update everyone here. We will be having a trial for 14 days to try it and then you can purchase a license from either Blesta.Store or CubeData. Each has their own licensing system. We've agreed on doing what I did with the BlestaCMS in the beginning and that will be that it will be open-code minus the bits for licensing.
    We will be adding features as we go along and I'm looking into a way to integrate this forum plugin into the CMS so it can be a paid addon or free if you have the forums and the cms.
    You can view my forums alpha version if you're a customer of ours: https://blesta.store/client/plugin/blesta_forums/
    Please note if you find a bug please let us know here and I'll get us onto it to fix it.
  24. Like
    activa reacted to Blesta Addons in [Module] Hetzner Cloud   
    Screenshot

     

     

     
  25. Thanks
    activa reacted to Blesta Addons in [Module] Hetzner Cloud   
    we are proud to announce the release of our new module Hetzner Cloud Server, the module will allow you to resell hetzner cloud services with white label.
    Features
    Instant Activation of Cloud Server Automatic Suspension Automatic Unsuspension  Automatic Termination Unlimited Hetzner Projects Client Side
    Reboot/Boot/Shutdown Change Hostname Change Root Password Reinstall Show Available IP address Admin Side
    Reboot/Boot/Shutdown Change Hostname Change Root Password Reinstall Suspend/Unsuspend Cancel Create/Add Server Show Available IP address TODO List
    Add/Remove Volumes (config Options) Add/Remove IPV4/IPV6 (config Options) Add/Remove Cpanel/Softacoulus License (config Options) Allow/Disalow Client To Use Backup Add Snapshot Feature  
    ANY Suggestion , FeedBack , Bugs , Please Post it inthis thread .
    this Module require a the Vip (GOLD) subscription .
    Order Link
     
×
×
  • Create New...