Jump to content


WHMCS Technical Analyst
  • Content count

  • Joined

  • Last visited

  • Days Won


WHMCS Peter last won the day on March 31

WHMCS Peter had the most liked content!

Community Reputation

7 Neutral


About WHMCS Peter

  • Rank
    WHMCS Technical Analyst

Recent Profile Visitors

1,184 profile views
  1. Hi there! Based on what you've written it sounds like you've tested this using your own affiliate link, is that right? WHMCS has in-built security against affiliates ordering products using their own link. If this is occurring when another client uses someone else's affiliate link, please do open a Support Ticket with us and we'd be happy to investigate.
  2. WHMCS Peter

    Remove Google+

    Hi @cyberhostpro, Case #CORE-13155 is open with our developers in order to have this reviewed for future releases. Whilst I cannot provide an estimated time for completion for this, once we resolve cases and push features they are available at our change log, here: http://changelog.whmcs.com/ I've also noted internally on this case that as of today, Google+ is finished.
  3. WHMCS Peter

    MySQL 1970-01-01

    Hi! When a domain is transferred in, WHMCS does not yet know the expiry date for the domain and for that reason, is not applied. 1970-01-01 is the first date in "Epoch Time" and due to that, is the date that PHP will default to. When a Domain is transferred in, WHMCS will usually retrieve the correct Expiry Date via the Domain Sync however, as this is not possible, it is expected that the Administrator will enter the Expiry Date and Next Due Date for the domain manually at the time of activation. With the Domain Syncronisation feature WHMCS is able to identify when a domain transfer has been completed or failed. It will ensure that the Next Due Date, Expiry Date, and Status values are updated for domains on the installation. As mentioned, because your module does not support this, these values must be manually set. I hope this helps.
  4. WHMCS Peter

    MySQL 1970-01-01

    Hi @web2008! Could you provide a little more information here? How are you "moving" the domain? Where are you moving it from and to? If moving these in a custom way, please provide any SQL queries/code samples. Once I have this additional information, I'd be pleased to try and assist you.
  5. WHMCS Peter

    Custom additional language file for server modules?

    Hi @bendrop, Although not officially supported at this time, perhaps you could create your own lang/ directory and include it? Example: Lang file: <?php $_MODULELANG['helloworld'] = 'Hello World!'; Module: function provisioningmodule_ClientArea() { require_once(__DIR__ . '/lang/myCustomLangFile.php'); return $_MODULELANG['helloworld']; } Naturally, this advice is being provided personally by me and is provided as a courtesy. This example is provided "as-is" with no guarantee or warranty. The code has not been tested and may need slightly tweaking. Hopefully, this helps you achieve your requirements!
  6. WHMCS Peter

    Custom Hostnsname URL cPanel

    Hi @lims, The reason this currently works in the way it does is because WHMCS sends a request via the cPanel API to the "create_user_session" endpoint. At current, the "url" which is returned defaults to the server hostname. This is what is used to redirect the user to cPanel Here's an example of what we receive back from cPanel: { "data": { "cp_security_token": "/cpsess1234567890", "expires":1401993893, "session": "username:GHehYZ1GCxzmDATMmT1xT4rN0tiPGMWnKErPJdU3t6AGBx2LjQ3qB6Xih5naUh_4:create_user_session, 5dc619831bac4aa2e014e062d762645e8447949eaef14fc53a8ce2b1e0e2592a", "url": "https://example.com:2083/cpsess1234567890/login/? goto_uri=frontend%2fx3%2fstats%2fawstats_landing.html&locale=fr&session=username:%3aGHehYZ1GCxzmDATMmT1xT4rN0tiPGMWnKErPJdU3t6AGBx2LjQ3qB6Xih5naUh_4%3acreate_user_session%2c5dc619831bac4aa2e014e062d762645e8447949eaef14fc53a8ce2b1e0e2592a", "locale":"fr", "service": "cpaneld" }, "metadata": { "version": 1, "reason": "Created session", "result": 1, "command": "create_user_session" } } As you can see, the "url" element is absolute. We simply redirect to this link. I do note in the cPanel documentation that it is now possible to set a "preferred_domain" variable when contacting this endpoint, making it possible to redirect to a users own domain. Therefore I would encourage you to please submit a request to our feature requests tracker where other users can contribute to and vote on your idea. Ideas with the most votes and activity do get reviewed by our team. http://requests.whmcs.com
  7. Hi there! If you have the know-how, we provide documentation on creating your own Payment Gateway, here: https://developers.whmcs.com/payment-gateways/ We also offer a Sample Gateway Module which you can base your custom module off. This is available from: https://github.com/WHMCS/sample-merchant-gateway https://github.com/WHMCS/sample-gateway-module It depends on what time of gateway you are developing for as to which you'd need to use. Merchant Gateways are ones where Credit Card details are stored in WHMCS' database whereas standard "gateway" modules tend to lean more towards storing the card data on the providers server in exchange for a usable token. I hope this helps!
  8. Hi @SamS1, Typically, on a transfer, I would expect a domain names nameservers to remain at their current setting to ensure no downtime as a change like this can cause domains to not resolve for up to 24-48 hours. I'd recommend reaching out to NameSilo who can confirm if they do indeed update the nameservers during transfer. If they do not, you may wish to use a hook to perform the change once WHMCS marks the domain as "Active" from "Pending Transfer".
  9. WHMCS Peter

    Support Tickets & Client Contacts

    Hi @thisismatt, Thanks for taking the time to submit that! Our Feature Team will moderate the listing soon! 🙂
  10. WHMCS Peter

    whmcsBaseUrl is empty

    Hi @Dimitra To note a 500 Internal Server Error is a generic error message produced by the server due to a misconfiguration. There are potentially a wider number of causes for such a problem, here is a brief overview of them and potential fixes: * File Permissions are incorrectly set. Should be (depending on server but general rule of thumb) 644 for files and 755 for folders/directories. * An error in one of the PHP Files - Try enabling the display errors * PHP Memory & Process limitations - Try increasing to 128MB * PHP Process Limitations - Check with server admin/hosting provider * Corrupt PHP Modules, Extensions, Builds - Check with server admin/hosting provider * The obscure - If points 1-5 don't produce a fix typically the best course of action is to check the Apache Error Logs You can find more detailed information about troubleshooting such an error message in our documentation at http://docs.whmcs.com/Common_Troubleshooting_Tips#Internal_500_Server_Error If the error still persists, we'd likely then start looking at customisations and custom templates however, we'd welcome you to open a Support Ticket, including access credentials so that we can get straight to it and assist you in resolving this.
  11. WHMCS Peter

    Remove dynamically injected fontawesome CSS for custom theme

    Hi @WeaveHosting, Thanks for your feedback. I've opened a case with our Documentation team to have this feature documented properly with an example of how to bypass our automatic injection feature. I have recommended we add this to the CSS Styling page of our Developers Documentation for easy future reference. Thanks again for taking the time to reach out.
  12. WHMCS Peter

    Remove dynamically injected fontawesome CSS for custom theme

    Hi @WeaveHosting, Thanks for reaching out! We mention this in the article you've referenced: https://docs.whmcs.com/Version_7.7.0_Release_Notes#Single_location_for_Font_Awesome To avoid WHMCS automatically injecting this, you can add a HTML comment to your <head> in the form of a link tag and WHMCS will not do this. For example: <!-- <link href="/whmcs/assets/css/fontawesome-all.min.css" rel="stylesheet"> --> Naturally, you'll need to update the href attribute to reflect the actual location of this file. Because WHMCS see's it being referenced, WHMCS will not inject it again. As it's commented out, it would not be called, allowing your theme to call your own CSS files.
  13. WHMCS Peter

    LicenseAddon Verify Hook

    Hi @mfoland, At this point, you would need to step through each part of your code performing var_dump($var) along the way. By doing this, you can ensure each part of your script is working as expected. When you reach a point where a variable is returning one thing but should in fact be another, you'll narrow down the area in which the defect lies. I'd recommend reaching out to a qualified PHP Developer if you are still uncertain. Unfortunately, our support scope is fairly limited.
  14. Hi @Slatjovic, Thanks for reaching out! This string can be customised in to anything you like. To achieve this, you'd need to create a language override file. More information on this is available from: https://developers.whmcs.com/languages/overrides/ You can then populate this file with the following: <?php $_LANG['cartexistingdomainchoice'] = "I don't need a domain"; I hope this helps! Unfortunately, with "Require Domain" enabled, there'd be no way to specifically continue without specifying a domain name at this point.
  15. No problem, @SamS1! If there's anything else, don't hesitate to reach out again!

Important Information

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