Jump to content

Blesta Addons

Alpha Developers
  • Posts

    4,868
  • Joined

  • Last visited

  • Days Won

    389

Everything posted by Blesta Addons

  1. what other things we can controle with app_controller ?
  2. Solved for you in stripe . can you solve it in paypal ? moneybookers (skrill) ? and some others one ?!!!! Sorry , that is not ridiculous . that help in boosting selling . if i want to expand new market , i should stop because i can't accept thier currency . we have the same situation in V2.5 , we have increase our sell in some countries that has no paypal currencies with implementing this in our custom gateway . this subject if for searching a better way to offer this feature , and not to copy/paste other's ridiculous just to note whm** is not the only soft that has this feature , other's also has . you can add it as a new setting , who want it ,activate , who don't like it , disable it .
  3. default if you use the order form or the registration form . but in API you sould send the country code.... add a field that contain your default country .
  4. if we send a edit request , the model check if the alpha3 exist , it will always return a error for in_use . so the fix is add unset for the in_use for alpha3 // Remove in_use constraint unset($rules['alpha2']['in_use']); unset($rules['alpha3']['in_use']);
  5. Sorry resolved, is my fault , my eyes are closed , is 02:24 in our local time correct code for reference if (!empty($this->post)) { $vars = (object)$this->post; $this->Countries->add($this->post) ; if (!($errors = $this->Countries->errors())) { $this->flashMessage("message", Language::_("AdminToolsPlugin.countries.!success", true), null, false); $this->redirect($this->base_uri . "plugin/admin_tools/admin_countries/add/"); } $this->setMessage("error", $errors, false, null, false); $this->set("countries", $vars); }
  6. i'm coding a new plugin , when i add a country i don't get any error if the data is invalid for exmple a invalid fields (alpha2 /alpha3) if (!empty($this->post)) { // print_r($this->post); // $this->Countries->add($this->post); if (!($errors = $this->Countries->add($this->post))) { $this->setMessage("error", $errors, false, null, false); $vars = (object)$this->post; } $this->flashMessage("message", Language::_("AdminToolsPlugin.countries.!success", true), null, false); $this->redirect($this->base_uri . "plugin/admin_tools/admin_countries/"); } what wrong with this ?!
  7. yes, if you have not set the country the default will be US . country The ISO 3166-1 2-character country code (optional; required if state is given; defaults to 'US')
  8. Yes , is valid , but there is no A record for it . this is because is not yet added to a hosting account or is not confugured in a dns server http://www.dnswatch.info/dns/dnslookup?la=en&host=7tags.com&type=A&submit=Resolve
  9. A forum plugin for blesta will be the best of the best : )
  10. that because blesta do a dns query , if the query failed the email is considerated as invalid .
  11. Blesta Addons

    Whois Guard

    Normally this should be in the registrar module . if not you can use a package as addon for this . if you have logicboxes plattefrome , we have done something , we are finishing and testing . our probleme now is invoicing this service (for us is no probleme because we offer it free ).
  12. we have plan to introduce this feature for our internal plugins/modules , but we havn't decided wich service we will use . we have 2 choice https://console.rzlts.com/ https://www.parse.com/ both are free personnaly i have a lot of work to do toi finnish my new environement in v3 and migrate from 2.5 . i hope i can find it already implemented by someone . (Hello PauloV )
  13. it will work the same as the other has . is too sample , add a line in the language file like direction = 'rtl' if the direction is set use it , if not use the default direction . maybe we can controle also the charset , this is just a idea . blesta have already a file to get the name language , we can use it English, US direction, rtl en general a example : setlocale(LC_ALL, 'ar'); setLocale(LC_TIME, "ar_SA.UTF-8"); define("language", "Arabic"); define("CORE_LC", "AR"); define("CORE_LC2", "ar"); define("CHARSET", "utf-8"); define("TEXTDIRECTION","rtl"); define("COMPATIBILITE", "3.2.1"); define("RELEASE", "2014-05-15"); define("AUTHOR", "Community"); i use like that in my multi-language project . i can controle the output of the date/time with the supported language for any language .
  14. this should be done via phpmyadmin or directly to database . This Feature has been added to my next plugins "ADMIN TOOLS" with so many other task for admins.
  15. as the title see . some language are Right to Left . and i heat changing the core files again and again . i prefer if we can controle the direction by the language file .
  16. I got a reseller account to test ,they have now privacy protect enabled by activating and generating invoice . like a purchase , but with a 0USD cost , so is now free of charge , my be in next mounths itwill be with a small fee . the same situation in resell.biz .
  17. Based in this thread http://www.blesta.com/forums/index.php?/topic/2685-gateways-and-currencies-that-not-supported/ is better or is the correct way , show gateways as payment even if the currency is not supported by the gateway . the idea is so sample , if a invoice has a currency not supported by the gateway , the conversion rate from XXX(the currency not supported) to USD(default currency) should act if the currency is not listed in getCurrencies() function . i prefer personnally control the ACL gateway based in countris rather than selected currencies . Multi-Currency should be more advanced that the actual state . NOTE : in V2 it was the multi-currency option , when is disable the gateways appear for all , if enabled the gateway appear only if the invoice has the supported currency .
  18. This is what it should do . others has that already implemented . they not show gateway based in the currency in invoice , the gateway is activated ,it will be available for all , is the currency is not supported , then a conversion porocess should begin . the idea is so sample , the gateway conversion shod act if the currency is not listed in getCurrencies() function . a feature request is needed here
  19. is there any option to hide or delete countries from the select dopdown ? i see model class countries.php that has the add/edit/delete function . but i have not see from where in the admin area i can work in it . if not possible , another plugin will be added to my TODO list
  20. Hello Mat , thanks for your remply ; but maybe you have not get my idea . i don't want to show paypal in a no supported currency in invocie , you solution , will make the paypal shown , but it will give a error in the payment page , as the currency is not supported . my goal is to make the gateway calcul the rate between currencies and proceed payement in USD . i have coded that in my v2.5 , but i ask if this is posible in v3 or not yet .
  21. How to accomplish this scenario , i want to make paypal/payzaect ... to be shown even if the currency set in invoice not supported by that's gateways ? example , i have set as currencies , USD/EUR/IND/MAD , let say IND/MAD are currency not supported by paypal . i have package with XXX amount in MAD only . my client X has this package with MAD currency , they have now invoice with XXX in MAD currency , when he select to pay it , paypal NOT SHOWN as a MAD not supported by it . now i how i can make the paypal be shown , and when he select pay , the system need to make a conversion rate from MAD to USD and procced to pay in paypal page . in V2.5 , this was not possible , and i have coded my own gateway that make conversion if the curriency is not supported by the gateway . i think it would be great if the gateways can convert any NO SUPPORTED CURRENCY TO A DEFAULT CURRENCY "USD" .
  22. so you need to get the ID of the module , and make a query in database for service that are associated with That ID module .
  23. The privacy Protection is still free on reseller club ?
  24. Well Adressed this idea, i was thinking to add a modal windows that the client should enter the email +password then it will login to thier webmail . the default user is bad idea . thanks
  25. yiu need to change all the package from extended to cpanel . don't left any package related with the extended module
×
×
  • Create New...