Jump to content

serge

Members
  • Posts

    695
  • Joined

  • Last visited

  • Days Won

    6

Reputation Activity

  1. Like
    serge got a reaction from Serendesk in 1 (One) Minute Cron Jobs :)   
    In my case, it's more about get paid service activated quick, my cron is 2 mins frequency by the way.
  2. Like
    serge got a reaction from PauloV in 1 (One) Minute Cron Jobs :)   
    As mentioned above, I use this: http://timkay.com/solo/
     
    It's dead simple and it's not posible to have more than one cron job at same time, as cron can not be run untill last cron job ended.
     
    Because an open port is directly tied to a running process, chances of inconsistency and having to detect and cleanup orphaned PID files, are zero.
  3. Like
    serge reacted to Tyson in Support Ticket Answer Have Randon Sentence In Bold   
    Can you provide an example of content you've added that resulted in bold text? You could have added two underscores to make it bold, or an email client can do so as well.
  4. Like
    serge reacted to Tyson in Removing Credit From Client   
    A credit is the sum of all unapplied transaction amounts on the account. If you want to remove a credit, I would suggest voiding/refunding the transaction(s) from whence it came. No need to create an invoice to apply the credit to, as that may indicate revenue received for tax purposes, which may not be the case.
  5. Like
    serge reacted to Blesta Addons in [Module] Return Only Json   
    just decode the ouput by json .
     
    something like
    echo $this->outputAsJson($this->view->fetch("your_view_file")); o by var
    $this->outputAsJson($response);
  6. Like
    serge reacted to Blesta Addons in New Plugins In The Road   
    Hello All ,
     
    i want to share our TODO release with the community for the comming mounths .
     
    Plugins :
     
    Store Manager : convert your blesta to a real web shop store , multi-devise ,multi-languages , and a lot of features .
    Resend Welcome Email : a plugin to add option to resend welcome email to the client with a simple click .
    SEO Optimizer : plugin allow you to control all seo aspect of blesta , including spiders trackers and statistique
    CMS Reloaded : enhacement to the CMS core plugin
    Cloud Backup : save your blesta backup in the cloud, dropbox and gdrive .
     
    Modules
     
    digital products :  a module to setup a digital product downloads .
    Epp Server Registrar : a module to connect with EPP server registrar .
     
     
    UPDATES
     
    Logicbox Reloaded
    Proxmox Reloaded
    Admin Tools
    Cpanel Reloaded
     
  7. Like
    serge got a reaction from Kangaroo in Removing Credit From Client   
    in blesta create an invoice for amount you want to correct, mention in invoives item something like"credit correction", and this invoice should be auto paid by available customer credit (depending of your blesta/invoices parameters), or if not auto paid by available credit, go login as a customer to open invoice and pay at selecting available credit
  8. Like
    serge reacted to Blesta Addons in 1 (One) Minute Cron Jobs :)   
    activating order and sending email is the most wanted thing without delay .
  9. Like
    serge got a reaction from Michael in Use Blesta As Main Website   
    thxs for the memo, yes I use this way: http://www.blesta.co...-portal-plugin/
     
    + few other changes, and also I use one theme (I renamed) by company
  10. Like
    serge got a reaction from Michael in Use Blesta As Main Website   
    s i t e s h o p (dot) p h
     
    n e t p u b l i c a (dot) c o m
     
    it's a single blesta install for multi-site/companies
  11. Like
    serge got a reaction from Michael in Imap Email Downloads / Ticket Creation   
    Steve told me by PM, this was solved by him,  issue was from a typo at blesta field
  12. Like
    serge got a reaction from Michael in Best Approuch To Sell Scripts With License   
    In my opinion, if your product is for global market, nothing wrong with your open source code.
     
    but on other market, as the market size could be very smaller, in this case, I'm not covinced with selling or offering open source code.
     
    Being on a local market, I use the license manager to offer closed source code software (code obfuscated), some are free, some are paid, all are using the license manager, so I control the full distribution chain.
  13. Like
    serge got a reaction from PauloV in 1 (One) Minute Cron Jobs :)   
    I will say it's "bleeding edge" so, I agree it's not for everybody.
     
    But untill you are enought skilled to understand how these techniques work and also you know how manage/administer your server, so in only such case, such techniques can be tried, but first on a test server.
  14. Like
    serge got a reaction from PauloV in 1 (One) Minute Cron Jobs :)   
    the idea is really good PauloV, I agree with you that customers can not wait 5mins to get a service activated when it's paid.
     
    In this post I also given how I do make 2 mins cron frequency, with a security to prevent  runing a cron when last one is not yet ended:
     
    http://www.blesta.com/forums/index.php?/topic/2990-email-not-being-sent-on-invoice-creation/page-2
     
    so with PauloV technique, there is diffrent way, and that fines, but 5 mins wait is too long in some case
  15. Like
    serge got a reaction from Michael in Use Blesta As Main Website   
    I also use blesta as mean website, nothings hard to do that, I just changed the portal page for its become my home page and few more customization for menu & header
  16. Like
    serge reacted to Max in Database Access For Payment Gateway   
    Order id? Didn't knew Blesta understood the concept of orders.
     
    Only thing that gets passed to payment gateways is an array of invoices.
    Serializing that, and passing that to a gateway is asking for trouble, because many gateways impose a character limit (especially European gateways, because they tend to include the transaction ID on customer's bank statement)
    It may work fine during your testing while paying single invoices, but you risk that if a customer has a longer list of overdue invoices that he finally wants to pay, it will fail.
     
    I proposed introducing a common database table for storing payment transaction information for this earlier, but the team didn't feel anything for that.
    So yes, anyone wanting to properly implement a non-merchant payment gateway module will need to create their own...
     
     
    Can use functions like this:
     


        protected $gwname = "My gateway";      function install()    {        $r = new Record();        $r->setField("id", array('type' => "varchar", 'size' => 255))          ->setField("gateway", array('type' => "varchar", 'size' => 255))          ->setField("expire", array('type' => "datetime"))          ->setField("value", array('type' => "text", 'is_null' => true))          ->setKey(array("id","gateway"), "primary")          ->create("gateway_sessions", true);        }        protected function getSession($id)    {        $r = new Record();        $row = $r->select("value")->from("gateway_sessions")            ->where("id", "=", $id)            ->where("gateway", "=", $this->gwname)->fetch(PDO::FETCH_ASSOC);         if ($row)            return unserialize($row["value"]);        else            return false;    }        protected function putSession($id, $data)    {        $r = new Record();        $r->where("id", "=", $id)          ->where("gateway", "=", $this->gwname)          ->update("gateway_sessions", array("value" => serialize($data)));    }     protected function createSessionID()    {        $r = new Record();        $expires = date("Y-m-d H:i:s", time() + 86400 * 14);                for ($try = 0; $try < 10; $try++)        {            try            {                $key = $this->_generateSessionKey();                $r->insert("gateway_sessions", array('id' => $key, 'gateway' => $this->gwname, 'expire' => $expires));                return $key;            }            catch (PDOException $e) { }        }                throw new Exception("Error creating session");    }        protected function _generateSessionKey()    {        return dechex(time()).dechex(crypt_random()).dechex(crypt_random());    }   (Using an ID based on time, rather than an auto-increment, so that the number is unique, and doesn't start at 1 again if you reinstall Blesta, or if you use the same gateway with other software)
  17. Like
    serge got a reaction from PauloV in Cron Not Working   
    Have you created the cron task at your server or webhsoting control panel?
     
    What the blesta log are saying, see from menu blesta /tools/cron  and see if there are cron task without date end.
  18. Like
    serge got a reaction from Kangaroo in Service Unsuspended Automatically But No Invoice Paid.   
    Thanks for info,
     
    It's just happen once for my first paid customer that buy monthly license to use (my blesta is using for that universal module + license module), and customer did not paid for renewall.
     
    I will be checking other following customers in the next weeks as none other paid package expired yet
     
    And just to be certain to understand the meaning of package option "cancel at end of terms"
    - My free service (14-day trial) do have this option ticked
    - My 3 paid service (monthly or yearly or lifitime) do have this option unticked (I was thinking when not paid they will be suspended, but still will be able as admin to unsuspend, or if customer paid late it's will be auto unsuspended)
     
    I have one package by terms, there is no option to swich from one to an other (I did not wanted as not certain it will be working fine), and customer can not cancel service from client area.
     
    So I suppose such kind of above parameters/setup I did should be very neutral as customers can not upgrade from one to an other (I wanted safety at blesta side) but customer can just order an other package.
  19. Like
    serge reacted to Michael in How Unpaid Invoice Auto Voiding Is Working?   
    The "Cancel Service Changes Days After Due"
  20. Like
    serge got a reaction from activa in Unique Cart For All Orders Forms   
    Interesting,
     
    Do you think the way it work by now by having a cart cession for each order form vs only one single cession for the cart, could not be in relation with configurable option there is by order form?
     
    But that true at the end of the buy process, any item added in cart and ever configurated though their specific order form, could in my opinion be merged at the very final checkout step.
  21. Like
    serge got a reaction from Michael in When Viewing/opening Pdf Invoice Total Is With "?" In Front: ?438.00   
    Dejavu font supported the philippines peso sign but given invoice PDF file more than 20 X weighted like (700 ko),
     
    so at blesta currency parameter I removed sign and used international currency code as prefix (PHP) as it's also well know/accepted by people there.
    with now using Helvetica font, and invoice are 10-20 ko only
  22. Like
    serge reacted to Blesta Addons in Unique Cart For All Orders Forms   
    This days i way discovering how the order forms / cart  work . and i have discovered (at least for me and my staff and my clients testers)  a big problem in the cart system .
     
    so if we have 3 order forms let say 
     
    1 for vps
    2 for dedicated
    3 for hosting .
     
    the client has make a order of 1 vps, and has not completed the checkout ; then he ordered 1 dedicated and hosting , no checkout at here .
     
    when he decide to complete the order , here we have the problem , the cart is not containing the 3 order services . and to complete the order he need to go to order form link and make checkout for every service . that for us/him is a huge and buggy work .
     
    so we decided to make our own call to the cart basket to see what are in it . and we have surprised , what blesta do is storing the cart item in the sessions, and every item with their ids and some more data . at here all thing is fine . but the surprise for us was that blesta disting with every order form cart  .
     
    what we suggest is that the cart/basket should be for all order forms . the solution for us was use 1 order form for all . but we prefer use some list or ajaxed order form for a specific needs, and use styled order form for other services .
     
    at the end , for me, it has no sense to have 3 carts sessions in one system for the same place !!!! either the other ecommerce platform use 1 cart like magento/open cart/prestashop ..ect ... i don't want to nominate competitors ...
     
    licencecart , Relax   is just a discussion .
  23. Like
    serge reacted to Michael in When Viewing/opening Pdf Invoice Total Is With "?" In Front: ?438.00   
    Sounds like the font doesn't have the symbol for the currency. Or the encoding UTF-8 isn't working on the server.
  24. Like
    serge reacted to Blesta Addons in When Viewing/opening Pdf Invoice Total Is With "?" In Front: ?438.00   
    TRY USING DEJAVU FONT .
  25. Like
    serge reacted to Abdy in [Plugin] Uptime Robot & Server Monitoring For Blesta With Twilio Support.   
    Hi
     
    I bring today a very useful plugin.
     
    This is a Uptime Robot and Server Monitoring Plugin, Requires ssh2 installed in the server for Server Monitoring.
     
    Features
    Uptime Robot
    Check the server every 5 minutes Alerts over Email or via SMS with Twilio Server Monitoring (Requires ssh2 and root Password)
    Automatic updates (Updates the software and packages every day, via yum or apt-get) RAM Alerts (If only have 10% free) HDD Alerts (If only have 10% free) CPU Alerts (If CPU usage is more than 80%) Update [07/08/15]:
    Now is possible delete a server Fixed problems with emails I don't have screenshots, but I have a video.
     
    https://youtu.be/haI03KEbWSg
     
    UPDATE:
    In some cases the plugin don't create the Cron Job Task, If this occurs login into PHPMyAdmin, Go to your blesta database and go to the cron_task_runs and add the following entry:
     
    id => n+1
    task_id => Cron Task ID (You can view this in the cron_tasks table)
    company_id => Your Company ID (Normally 1)
    time => NULL
    interval => 5
    enabled => 1
    date_enabled => 2012-01-01 00:00:00
    uptime_robot.zip
×
×
  • Create New...