Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About Hein

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. We're using this one: https://marketplace.whmcs.com/product/4221-reading-emails-tickets-report We're pretty happy with it. Just giving some love to a much appreciated coder 🙂
  2. The addon mentioned Was pretty good but stopped working and we've been trying to get them to fix it (seems PHP7.3 erorrs/issues in the code) for just about a yera now .... to no avail. I would not advise buying it now.
  3. I know we have an addon for that called 'Invoice Due Date' or soemthign like that ... it makes it possible to set a specific number of days (from the invoice date) to which all those clients invoice will be set as due Would that work for you? If so, let me know and I can check if it's available etc
  4. Thanks Brian ... I Truly didn't remember where we got it and always Want to give credit where it is due..:-)
  5. You can also add an extra tickbox (or multiple even) by adding a hook for it. What we use for this is the following and it should work all the way up to the latest version of WHMCS, and even in V8, but test carefully as always 🙂 (change readextrarequirements and extra_requirements to something more useful, espcially if you are using multiple different ones) <?php /** * Example hook to provide an additional agreement requirement in checkout. * * @copyright Copyright (c) WHMCS Limited 2018 * @license https://www.whmcs.com/eula/ WHMCS Eula */ use App; add_hook('ClientAreaFooterOutput', 1, function ($vars) { if (!defined('CLIENTAREA')) { return false; } if ($vars['filename'] != 'cart') { return false; } $a = App::getFromRequest('a'); if (!in_array($a, array('view', 'checkout'))) { return false; } $readextrarequirements = App::getFromRequest('extra_requirements'); $output = '<div class="text-center"> <label class="checkbox-inline"> <input type="checkbox" name="extra_requirements" value="1"' . ($readextrarequirements ? ' checked':'') . ' /> &nbsp; I have read, agree and can comply with any applicable specific requirements. If you can not, please contact us Before placing any order to discuss the options. </label> </div> <br />'; return '<script> jQuery("#btnCompleteOrder").before("' . preg_replace( "/\r|\n/", "", str_replace('"', '\"', $output)) . '"); </script>'; }); add_hook('ShoppingCartValidateCheckout', 1, function ($vars) { $readextrarequirements = App::getFromRequest('extra_requirements'); if (!$readextrarequirements) { return 'You must confirm you read and agree with the requirements'; } }); add_hook('AfterShoppingCartCheckout', 1, function ($vars) { $orderId = $vars['OrderID']; $readextrarequirements = App::getFromRequest('extra_requirements'); if ($readextrarequirements) { // Run any additional code post checkout here // For example logging of the agreement, time, IP, etc... } });
  6. Yes! Thank you Brian!. That works a treat and didn't realise it could be done as simple as that 🙂 I'll check the other one out as a correct error message may actually be better but this works pretty sweet as is. Thanks mate
  7. Hey Brian, We actually removed it from the template now but I hate doing that as any new update ... well, we know those issue all too well, right?! 🙂 And changing with language override does indeed only change 2 but the other one Can be optional (there are plenty of legit companies that do not have a VAT number 😉 ) So, a solution with Only changing the company one with a hook would be perfect. I'll test and and let you know if that did it as I've seen the same question quite often before so I'm sure many would like simple and clean solution.
  8. Dear Brian, as far as I can tell, the very latest version. It worked before we upgraded and now gets notified as php 7.3 incompatible/doubtful (so can't use it whilst WHCMS is trying to sort one of many issue)
  9. This doesn't seem to work with v7.10.2 anymore .. Or have I done something wrong? 😉
  10. I know that we're bringing out a solution for this really soon that will let you do that for all Custom Fields. Including selectively overriding if a value Was already present (force override). Let me know if you're interested so I can keep you informed.
  11. Hey Brain, I just tried your hook version and it does require it but the field still shows (optional). Is there a way to change that, that you know of (we only work with business, so optional is really not what we want to show for a required field 😉 )
  12. Yep, I would say, be careful with BlueTip at this time. Bought resource mailer, doesn't function at all so we opened a support ticket on the 16th of March 2018 .... no response at all yet Not good practice at all
  13. This is So needed! Can't wait for it to finally be usefull rather then being extra work
  14. Hi Sean and yes, I would love to have that and have a look at how you did that (still think it should be default behaviour though ;-) ) I'll IM you. (coudln't answer before as the forum didn't let me p[ost for some reason)
  15. Yep, I was too late too ... :-( hahaha
  • 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