Jump to content


  • Content count

  • Joined

  • Last visited

Everything posted by edvancombr

  1. edvancombr

    {$systemurl} for PDF

    I was not aware of this information. The curious thing that keeps on working.
  2. edvancombr

    {$systemurl} for PDF

    Another way would be to use a global variable. $CONFIG['SystemURL']; These 2 options will return the URL without the slash at the end. This will return the URL with the slash at the end. https://domain.whmcs.com/
  3. This failure also affects login. #CORE-13145
  4. edvancombr

    Problem on Version: 7.7.0

    Which situation worse? Do not send or send the wrong data? On 09/27/2018 I reported a bug that sent customizable fields from other clients. The error was confirmed and recorded in case:
  5. As you requested, going on to remember. Thank you!
  6. edvancombr

    Small FA5 Dev Job

    Try inserting these 2 lines ( header.tpl ) and see if it solves your problem. <link rel = "stylesheet" href = "https://use.fontawesome.com/releases/v5.6.3/css/all.css"> <link rel = "stylesheet" href = "https://use.fontawesome.com/releases/v5.6.3/css/v4-shims.css">
  7. edvancombr

    Auto Ticket Reply

    Could you share the solution?
  8. You are right! I had removed the hook.
  9. Can not this customization work for the correct homepage? http://prntscr.com/lo6a2d I even removed the conditional from the template.
  10. Hello how are you? Did you even test these widgets in the latest stable release?
  11. edvancombr

    big red UNPAID

    Replace the line: $pdf->Cell(100, 18, strtoupper(Lang::trans('invoices' . strtolower($status))), 'TB', 0, 'C', '1'); For: if ( $status != 'Unpaid'){ $pdf->Cell(100, 18, strtoupper(Lang::trans('invoices' . strtolower($status))), 'TB', 0, 'C', '1'); } The flag will be displayed for all other statuses except Unpaid.
  12. I cleared the browser cache and it worked again, thanks!
  13. It appears to have crashed in the latest stable version of WHMCS (v7.6.1)
  14. Hi, When answering a ticket (administrative area) you can use the command combination (CTRL + ENTER) and the ticket will be answered. <?php /** * CTRL + Enter - Reply Ticket Admin * @author edvancombr - whmcs.blog.br */ function hook_replyticketadmin($vars) { if ($vars[filename]=="supporttickets"){ $script='<script type="text/javascript">window.onload = function () { document.getElementById("replymessage").onkeydown = function (e) { if (e.keyCode == 13 && e.ctrlKey){ document.getElementById("btnPostReply").click(); // WHMCS v7.x //document.getElementById("postreplybutton").click(); // WHMCS v6.x return false; } } } </script>'; return $script; } } add_hook("AdminAreaHeadOutput",1,"hook_replyticketadmin"); https://www.whmcs.blog.br/principal/customizacao-area-administrativa-respondendo-ticket/
  15. edvancombr

    CTRL + Enter JavaScript - Reply Ticket Admin

    @WHMCS ChrisD I did the above posting in order to share the idea but did not know that it was forbidden to refer through external links. Please edit the publication, thank you.
  16. edvancombr

    Alert hook no longer works

    Thanks for the clarification!
  17. edvancombr

    Alert hook no longer works

    No doubt your tip is 1000 times more practical.
  18. edvancombr

    Alert hook no longer works

    Can I keep the current structure that will return an array and check element 0. if (empty($ccf[0])) {
  19. edvancombr

    Domain sync cron

    From what I know and understand by unchecking the option, email notifications will be suspended.
  20. edvancombr

    Domain sync cron

    Disable ( http://prntscr.com/ke97qj ) "Domain Sync Enabled" setting under Setup > Automation Settings and it should resolve this for you going forward.
  21. After reading your comment I remember a long conversation I had with WHMCS.com regarding a restriction of ioncube loader. They tried to N to inform that the problem was in my code or in the ioncube.com site encoder. After direct contact with ioncube x whmcs.com have decided to implement a feature to bypass the verification http://prntscr.com/kdwalq https://docs.whmcs.com/Other_Tab#Encoded_File_Loading
  22. Use: global $_LANG; Example

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated