Jump to content

Tengri

Senior Member
  • Content Count

    98
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Tengri

  • Rank
    Newbie

Recent Profile Visitors

1722 profile views
  1. It's good solution but doesn't work for "Announcement" page. When you read some article in english and try change language for example, to Azerbaijani you get back to homepage.
  2. Thank you! It's work now. But, image go upper of file. How I know, for change it I must change "15, 25, 75" right?
  3. Yes, image is exist. ParseError: syntax error, unexpected '$pdf' (T_VARIABLE) in /home/**/templates/**/invoicepdf.tpl:19 Stack trace: #0 /home/**/vendor/whmcs/whmcs-foundation/lib/Invoice.php(0): WHMCS\Invoice->pdfAddPage('invoicepdf.tpl', Array) #1 /home/**/includes/invoicefunctions.php(0): WHMCS\Invoice->pdfInvoicePage(1278) #2 /home/**/dl.php(0): pdfInvoice(1278) #3 {main}
  4. Before: <?php # Logo $logoFilename = 'placeholder.png'; if (file_exists(ROOTDIR . '/assets/img/logo.png')) { $logoFilename = 'logo.png'; } elseif (file_exists(ROOTDIR . '/assets/img/logo.jpg')) { $logoFilename = 'logo.jpg'; } $pdf->Image(ROOTDIR . '/assets/img/' . $logoFilename, 15, 25, 75); After: <?php # Logo $logoFilename = 'placeholder.png'; if (file_exists(ROOTDIR . '/assets/img/logo.png')) { $logoFilename = 'logo.png'; } elseif (file_exists(ROOTDIR . '/assets/img/logo.jpg')) { $logoFilename = 'logo.jpg'; } $pdf->Image(ROOTDIR . '/assets/img/' . $logoFilename, 15, 25, 75); if ($paymentmethod == 'banktransfer') { $pdf->Image(ROOTDIR . '/assets/img/imza.png', 15, 25, 75); }
  5. Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. 🙂
  6. <?php # Logo $logoFilename = 'placeholder.png'; if (file_exists(ROOTDIR . '/assets/img/logo.png')) { $logoFilename = 'logo.png'; } elseif (file_exists(ROOTDIR . '/assets/img/logo.jpg')) { $logoFilename = 'logo.jpg'; } $pdf->Image(ROOTDIR . '/assets/img/' . $logoFilename, 15, 25, 75); if ($paymentmethod == 'banktransfer') { $pdf->Image(ROOTDIR . '/assets/img/imza.png', 15, 25, 75); } Image path is correct.
  7. I change URL name of file to my own. System name is "banktransfer" too. I'm sure, because we with brian! help change logo of gateways.
  8. Thank you very much. I add this code: <?php # Logo $logoFilename = 'placeholder.png'; if (file_exists(ROOTDIR . '/assets/img/logo.png')) { $logoFilename = 'logo.png'; } elseif (file_exists(ROOTDIR . '/assets/img/logo.jpg')) { $logoFilename = 'logo.jpg'; } $pdf->Image(ROOTDIR . '/assets/img/' . $logoFilename, 15, 25, 75); if ($paymentmethod == 'banktransfer') { $pdf->Image(ROOTDIR . '/assets/img/yoursignature.png', 15, 25, 75); } But no effect.
  9. Hello! For some reasons sometimes our banks don't accept invoice from customers without stamp, name of CEO and signature. Is there any way that when the user chooses payment via a Bank under the invoice had the name of the Director signature and stamp. Thank you!
  10. This is interesting. I fix it this: set from "Use this server until it's full and then go to the next one" to "Add to the least full server". How, why? I don't understand. But now problem is solved.
  11. Hello. We add new server with cPanel/WHM, add another group and test connection. Is successfully. But, when I try set from module package to another cPanel/WHM server, I get error: No server found so unable to fetch values. I read some topics about that and I don't understood some moments: 1. WHMCS can use only 1 server which seted default? What if I use 2 servers and both of them cPanel/WHM? If I can't use both then why WHMCS have a group?! And why then WHMCS haven't "location choose" issue? 2. Now we have 2 servers with difference location. Some of our clients want another location and we create this for them. I know that WHMCS doesn't support multiple server location and for this, we create another page, with difference package names and add servers. Result: we don't use another server. Module log: https://prnt.sc/nmvnx8 Hopefully I could explain situation.
  12. Very beautiful and fully integrated theme. Nice work!
  13. Work good in 7.x version. Thank you for this module!
×
×
  • Create New...

Important Information

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