Jump to content


Popular Content

Showing most liked content since 05/19/2018 in all areas

  1. 2 points
    as you have over 500+ TLDs added to your WHMCS, I would lay good money that this is a php settings issue... also, you have a second issue that you may not be aware of... although you've added your TLDs to domain pricing, that doesn't necessarily mean that they will work correctly out of the box - if you are using Standard Whois, then you will also have to check that the WHOIS file is up-to-date for the TLDs that you are selling. https://docs.whmcs.com/WHOIS_Servers the one obvious one that I tried was .art -> according to your site, "universes.art", "inkpad.art", "arnold.art" are all available for registration... but in reality, they're already registered and working, so WHMCS is giving you a false answer... usually because .art isn't listed in the default WHOIS file... I doubt the 3rd-level .pro domains are in there too... in fact, probably 50%+ of those TLDs you've added aren't listed/valid in the whois file, so you'll need to go through them all and check.
  2. 1 point
    not sure about "everywhere", but to remove them from the phone number dropdown I think will require editing /templates/six (or custom)/js/scripts.min.js - or more conveniently, editing scripts.js (in the same directory), minifying it and then overwriting scripts.min.js with the minified code. at line #36328 in scripts.js, there is the following option... // don't display these countries excludeCountries: [], change that to... // don't display these countries excludeCountries: ["ir", "sd", "sy", "cu"], and then those countries will be removed from the phone number dropdown list, e.g the removal of Cuba... unless/until WHMCS bring in another way to do this (i'm not sure you could use a hook for this but could be wrong), then you will almost certainly have to do this process after every WHMCS update.
  3. 1 point
    one other thing to add, you might want to offer ID Protection to all these TLDs, but you should check with your registrar whether you can do so... as a general rule, you normally can't offer IDP with "real" ccTLDs (country code TLDs)... and by real, I mean ccTLDs apart from those that are marketed as gTLDs, e.g .cc and .tv etc - even some gTLDs, you can't offer it with either... so you can't assume that all TLDs can use the feature...
  4. 1 point
    Also, and I don't know if this is the right place to put it, but I had to create a little one-liner in javascript to check all those boxes. (i wasn't going to sit there and check 1000+ checkboxes, this really should be built into the app IMO) if anyone finds this thread this might help: From the domain pricing admin screen, open the developer console in chrome or whatever browser you're using (right click on the page and click Inspect Element and then click the console tab) and paste this into the console input bar for the DNS Management Checkbox: $("input[name^=dns]").prop('checked', true); Or for ID Protections Checkbox: $("input[name^=idprot]").prop('checked', true); Be sure to hit enter after you've pasted it in.
  5. 1 point
    Hi @AXON, The ClientDetailsValidationaction hook point can be used to add custom validation here. For more information on action hooks, please refer to https://developers.whmcs.com/hooks/
  6. 1 point
    Welcome to WHMCS.Community Adam magi! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.
  7. 1 point
    Brilliant Chris thanks a mil
  8. 1 point
    Hey @creativemac Thanks for your post Take a look at http://help.whmcs.com/m/managing/l/866846-exporting-client-data this helps with the exporting of data. We've also created a couple of blog posts that may assist you at https://blog.whmcs.com/133465/feature-spotlight-tools-to-help-you-with-gdpr https://blog.whmcs.com/133437/how-whmcs-can-help-with-gdpr-compliance I'm unsure if there is an addon here, you might like to create a thread in the Service Requests and Offers board to see if someone can develop something for you or work with a developer to customise your theme
  9. 1 point
    Hey @MDavid Thanks for your question! I've included the below extract from @WHMCS John's post where you can use the AfterShoppingCartCheckout hook point to create a customisation and add a custom database record.
  10. 1 point
    Hi, usually you will find it in the Template in /whmcs/templates/your_template/error There is the tpl called page-not-found.tpl. Looks like : <div class="container"> <div class="error-container boxed"> <h1><i class="fa fa-warning"></i> {lang key="errorPage.404.title"}</h1> <h3>{lang key="errorPage.404.subtitle"}</h3> <p>{lang key="errorPage.404.description"}</p> <div class="buttons"> <a href="{$systemurl}" class="btn btn-default"> {lang key="errorPage.404.home"} </a> <a href="{$systemurl}submitticket.php" class="btn btn-default"> {lang key="errorPage.404.submitTicket"} </a> </div> </div> </div> Greetings Christian
  11. 1 point
    Welcome to WHMCS.Community Madumi! We're glad you're here please take some time to familiarise yourself with the Community Rules & Guidelines and take a moment to introduce yourself to other WHMCS.Community members in the Introduce Yourself Board.
  12. 1 point
    Yay! Thanks for this tip, you made my day
  13. 1 point
    this is an unhelpful comment, but it should work! anything in the activity log ? if you have to, you could always use... {$total|replace:'$':''}
  14. 1 point
    Just wanted to add a bit of context here, what is discussed here is a method to add code server side that can be triggered remotely. For me an API can be understood as a promise between the developer using it and then developer providing it to communicate and respond in specific ways. We work hard to preserve backwards compatibility with our APIs. We are not making that kind of a promise and in fact this will not work with our API Credential Roles functionality. If you want to implement a URL that can run custom code, I would recommend using an addon module with the admin area output or client area output functionality: https://developers.whmcs.com/addon-modules/admin-area-output/ https://developers.whmcs.com/addon-modules/client-area-output/
  15. 1 point
    it looks like the jQuery code for this is in /templates/six/js/scripts.min.js - which you could edit in scripts.js and then minify it... how simple it would be to add/copy the functionality to a customfield, I don't know... it certainly looks doable. if it helps, perhaps you might want to take a look at the jQuery source code used for this - WHMCS didn't write it themselves (which probably explains why it works and looks good lol)... https://github.com/jackocnr/intl-tel-input if you can't figure out how to duplicate the existing WHMCS code, i'd be tempted to just start from scratch and use the above plugin solely for your customfield... I might be tempted to have a play with this at the weekend - though if you do it successfully sooner, do post the solution as it will allow me to spend time on other projects!
  16. 1 point
    there would be a few ways to get the product ID - one of which would be to use the Class documentation... so if we modified your hook to use that... <?php use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaPrimarySidebar', 1, function (MenuItem $primarySidebar) { $serviceDetails = $primarySidebar->getChild("Service Details Actions"); if (empty($serviceDetails)) { return; } $service = Menu::context('service'); $pid = $service->packageId; $gid = $service->product->productGroupId; if ($gid == '10') { $serviceDetailsChildren = $serviceDetails->getChildren(); $keysToUnset = ['Change Password', 'Login to cPanel', 'Login to Webmail']; foreach($serviceDetailsChildren as $key => $service_details_child) { if (in_array($key, $keysToUnset)) { $serviceDetails->removeChild($key); } } } }); that will then give you access to 2 variables - $pid and $gid - then it should just be a case of modifying the if statement to check for specific products or productgroups (or an array of them)...
  17. 1 point
    Or create an .htaccess 301 redirect. Imo it's better because in this way you don't have to worry when you replace template files when you install updates, templates or edit existing ones. Redirect 301 /supporttickets.php http://whateveryouwant.example.com/support

Important Information

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