Jump to content

edvancombr

Members
  • Content count

    12
  • Joined

  • Last visited

Community Reputation

10 Good

About edvancombr

  • Rank
    Member
  1. Hide Pay button on invoice when due

    <?php function invoice_hide_button_hook($vars) { if (new DateTime() > DateTime::createFromFormat('d/m/Y', $vars['duedate'])) { return array("paymentbutton" => '<a href="submitticket.php?step=2&deptid=2" class="btn btn-danger">Contate-nos</a>'); } } add_hook("ClientAreaPageViewInvoice", 1, "invoice_hide_button_hook"); Screenshot https://prnt.sc/gcz5ux
  2. Fail - Update WHMCS

    If you do not open a ticket on the support and request unblocking, you will not be able to upgrade your WHMCS via an "automatic" updater.
  3. Fail - Update WHMCS

    I did a simple test via SSH ( curl -v 'https://releases.whmcs.com/lts.json' ) and found the problem! The problem was in the cloudflare of WHMCS.com server, after inclusion (made by the support) of the IP of my local installation the problem was solved.
  4. Fail - Update WHMCS

    Error http://prntscr.com/fet6s1 When checking the URL "https://releases.whmcs.com/lts.json through" the browser I'm redirected to an alternate address "https://s3.amazonaws.com/releases.whmcs.com/lts.json"
  5. v7.2.1 Errors

    Check https://forum.whmcs.com/showthread.php?129078
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines