Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


sol2010 last won the day on June 21 2021

sol2010 had the most liked content!

Community Reputation

7 Neutral

About sol2010

  • Rank
    Level 2 Member

Recent Profile Visitors

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

  1. How can I achieve this: Client opens ticket in department e.g. support - and the system sends them the support email. Admin changes the support department to e.g. billing - that triggers the sending of the billing automated reply instead....
  2. Ahh yes, I forgot he's sipping cocktails in Hawaii (garden shed) now.... 😉
  3. Just updating this : https://requests.whmcs.com/idea/disable-autoresponder-on-a-per-client-basis Also related:
  4. @brian! If you have 5 minutes, can you elaborate on where the decryptpassword code should be applied? https://developers.whmcs.com/api-reference/decryptpassword/
  5. Could you provide some help on where I need to add the decrypt password code ? I can see there is a "decryptpassword" file in the includes/api folder - but I'm not sure that is relevent.... If I create a ticket as client name "smith" and add a password in there - then logout and then in again as "smith" - I can see the password field I created, but I cannot decrypt it or see how to reveal what was written..... So how to decrypt ?
  6. One question on this @brian! & @Remitur The fromMySQLDate($lastlogin just grabs the last login date and time, which is of course "now", when they login - so how can we show the previous login date (i.e. the one before the current one?) Do we have to use this: https://github.com/damianharouff/whmcshook-recordlogin/blob/master/ipxcore-addUserIPtoTable.php
  7. So what's the latest? It's pretty embarressing to have to come to a public community to find out when the software you sue will be compatibile with the current server software. Today I was planning to remove all PHP versions less than 8.0 for security. However, it seems if I do that - WHMCS will no longer work - because there is not any PHP ioncube loader available for PHP 8.0 This seems ridiculous. WHMCS needs to either drop Ioncube, find an alternative, or write the upgrade themselves. How long must we wait before we can secure our installations with up to date software?
  8. OK - well I achieved this myself by modifying the clientregister.tpl template. Inline validation should really be part of the core. Anyway, here is what I came up with. Tested and works, but you will need to modify it for your own. I used the Jquery Validation docs to help - and stack overflow to get the answers to some sticky issues! The basic concept is to add the following to the clientregister.tpl template. You will have to manage the element rules / messages to the field NAME of each of your elements (not the .class or #ID but field name! <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.3/jquery.validate.min.js"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.3/additional-methods.min.js"></script> <script> jQuery(document).ready(function() { jQuery("#frmCheckout").validate({ ignore: [], // ignore empty input fields ignore: ".ignore", // allow validation of ignore fields like google captcha ignore: '', focusInvalid: false, // zoom to the invalid fields invalidHandler: function(form, validator) { if (!validator.numberOfInvalids()) return; jQuery('html, body').animate({ scrollTop: jQuery(validator.errorList[0].element).offset().top - 300 }, 500); }, // add all your rules rules: { "customfield[123]":{ // add your custom fields - get the id from dev tools inspection required: true, minlength: 6, maxlength: 6, invitecode: true }, firstname: { required: true, minlength: 3, maxlength: 25 }, lastname: { required: true, minlength: 3, maxlength: 25 } // no closing comma on last element }, // add your messages messages: { "customfield[123]":{ required: "This is required", minlength: "The invite code is not correct", maxlength: "The invite code not correct", invitecode: "The Invite Code is incorrect!" }, firstname: { required: "First name is required" }, lastname: { required: "Last name is required" } // no closing comma on last element }, // add the logic // adds classes to the fields errorClass: "error", validClass: "checked", success: function(label) { // where will the error class be added label.html(" ").addClass("checked"); }, highlight: function (element) { // hightlight error inputs $(element) .closest('.form-group').addClass('has-error'); // set error class to the control group } // no closing comma on last element }); // close </script> You will have to excuse the sloppy looking formatting - my code looks clean, but the html insert code box here on the community appears to have mis-aligned everything.
  9. How can I add the "Your Current Projects" panel to client home page ? This page explains the process, but nothing about project management info: https://docs.whmcs.com/Working_With_Client_Area_Home_Page_Panels
  10. Hello Everyone, The client register.php page is rather unfriendly in that if someone enters all the data (including passwords and security question answers etc) and presses submit - the form clears all the fields if something (e.g. zipcode) had been missed by the user. I've literally had customers phone me to say it's too hard to register..... So - to resolve this issue, I think it would be a good idea to install something like this jQuery client side validation to validate each required field inline with a little tick for each validation - and of course highlight each field that needs an answer with a little red x so the user knows what to do. This will prevent the user getting to the end and submitting the form, when they have forgotten one field. Firstly - why is this not part of the core? Secondly, hHas anyone done this and if so, please share some insight. I would @brian! ask I would, but I believe he's retired and smoking cigars and drinking pina coladas in his rainy English garden (oh happy days!) Thank you.
  11. Hi there @Remitur Thank you for this - it's still working great!
  12. Does anyone know where I can modify the markdown editor CSS that is used for the ticket replies? I want to modify the H1 and H2 margin spacings. If I modify the custom.css stylesheet - I am assuming that will show the changes in the visual editor ticket reply screen, but how do I make sure that change is reflected correctly in the actual email that is sent?
  13. OK Problem solved - it was the TAWK live chat addon causing a conflict. In typical fashion, I had removed all addons - but had not removed that one as it was from the WHMCS store.... gone now! Fair dues to support team who answered my ticket swiftly and pointed out the issue. 🙂
  14. Using WHMCS version 8.3.2 Twentyone theme + Standard Cart, so in other words, no mods. I also tried changing theme to Six and the Cart to Modern Payments have been working fine. - then a customer went to pay invoice at "Billing > My Invoices > Pay Now (basically it's the checkout) - with CC via Stripe and got "Remote Transaction Failure. Please Contact Support". They contacted me to report the error. In the transaction log, it simply shows Status => error message => An unexpected error - No Stripe Payment Method found from token token => In DevTools, loading ""Billing > My Invoices > Pay Now" it shows "Uncaught ReferenceError: initStripe is not defined" - so it appears it's not seeing the stripe js file? ? Things I've tried: I've looked through and followed troubleshooting guide: I've tried to add Strip JS calls in the template/include/head from this doc Cleared cache Nothing seems to be working.... Help ! Screenshot from devtools:
  15. Just following this up to say it is now working again, thanks to "xxxmicrobexxx" / 123host and the others here https://github.com/xxxmicrobexxx/whmcsEmailImportHook/issues/2
  • 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