Articles

 Better social condivision for a site based on WHMCS

To set the image to be used in social condivision (i.e. Facebook), insert in header.tpl following...

 Check User Data for Better WHMCS Security

This hook checks user data, in order to prevent the user from registering or later editing his...

 Domain Custom Fields for .it Domain Management Using DomainRegister WHMCS Module

  In order to manage .it domains using DomainRegister WHMCS module, you should add the following...

 DomainRegister WHMCS Registrar Module - install and setup

1 - open a ticket in Reseller Support department, asking us to enable you to API usage(note: you...

 function createtodoitem

This function can be used in WHMCS modules to create a new to do item in the "to do" tool of...

 Hook to create a fake invoice in WHMCS

This hook creates a fake, empty pro-forma invoice each time another pro-forma invoice is paid....

 How to add a cookie bar to WHMCS

In order to add a cookie bar to your own installation of WHMCS: copy somewhere on your WHMCS...

 How to add a favicon in WHMCS

To add a favicon to your WHMCS install: copy your favicon (es. myfavicon.ico) in WHMCS folder...

 How to add SEO META TAGS in WHMCS pages

In order to add custom META TAGS in EHMCS pages for SEO purposes, you need to edit your current...

 How to comment in template (.tpl) files

If you need to insert a comment in a .tpl file, or comment a block of code to disable it, you...

 How to debug Smarty code in production environment

If you need to debug Smarty code in a production environment, without the issue that debug popup...

 How to disable a customer to pay invoices partly with credit balance

in WHMCS if a customer has not enough credit balance for full payment of an invoice, WHMCS allows...

 How to enable PHP errors logging in WHMCS

To enable PHP error logging in WHMCS, for testing and debugging purposes: Go to Setup ->...

 How to insert a link in a language variable

To insert a link in a language variable in an override language file, use following sample...

 How to insert a Youtube video in WHMCS knowledgebase article

To insert a YouTube video in an article of the WHMCS knowledge base, you need to insert following...

 How to Insert Google Analytics Tracking Code in WHMCS

WHMCS has a free add-on that allows you to easily insert Google Analytics tracking code. But if...

 How to prevent the user to use different currencies

It may happen that, for various reasons, you need to configure different currencies in your...

 How to reduce the number of available languages in WHMCS

WHMCS comes with a lot of available languages for its interface, few of them also quite exotic.So...

 How to use extended HTML tags in WHMCS products description

When you compile and edit the description of a product in WHMCS, you can use simple HTML tags,...

 How to use for a product group a cart different than the preset

For each product group in WHMCS we can set the cart to be used to present it and process the...

 How to use icons in WHMCS to select the language in client area

To use graphic icons (i.e. flags) instead of a text menu in client area to allow the user the...

 simple php script to barely import domain records into WHMCS

If the number of domains to be imported in your WHMCS is not huge (i.e., less than 200 domains),...

 Tricks for formatting knowledgebase posts in WHMCS

To insert sample help text to be visualized during hover with the mouse: use the <abbr>...

 Useful MySQL queries for WHMCS

This query replace companyname with firstname and lastname of customer, when companyname is not...

 WHMCS - Automated Log Cleaning Hook

This hook performs various WHMCS log garbage collection, done daily. This hook runs daily, at a...

 WHMCS - How to Ask for a Trustpilot Review After a Positive Feedback on a Support Ticket

If a user gave positive feedback to a support ticket, this may be a good moment to ask him for a...

 WHMCS - How to Automatically Set User Custom Nameservers During Checkout

It may happen that a customer (a web agency, a domain and hosting reseller or a webmaster) does...

 WHMCS - How to Determine PHP Variables Available in a Certain Hook

It is not always easy to determine which PHP variables are available and defined within a given...

 WHMCS - how to Disable Partial Automatic Credit Application to an Invoice

You can configure your WHMCS in order to automatically apply any available credit on a user's...

 WHMCS - How to rearrange menu items in Store menu

If you need to rearrange the "Store" menu in WHMCS, directing single items on custom pages...

 WHMCS - How to Remove "Choose Currency" Menu Item from Cart

If you want to remove "Choose Currency" option from the cart (and so forcing the user to use just...

 WHMCS - How to Set a Language-based page redirect

If you manage different languages for your WHMCS site, it may happen that the same "static" page...

 WHMCS - How to Temporary Disable 2FA For a Single Admin

If an admin lost his 2FA key, and wants to reset his 2FA access, it's possible with the following...

 WHMCS - Interacting with the Database - Sample Code

WHMCS documentation about database management is very essential and incomplete, lacking any real...

 WHMCS - Parameters Available in ClientAreaDomainDetailsOutput Hook

In the ClientAreaDomainDetailsOutput WHMCS hook, the structure of data  available in the function...

 WHMCS Client Details Available in Templates (.tpl) Files

In customizing WHMCS client area, several client details are easily available as a predefined...

 WHMCS Enhanced Auto Release Hook

This simple WHMCS hook adds few details about services managed by the WHMCS auto-release module....

 WHMCS Hook to Switch Language According to User's Browser Language

This hook allows to automatically switch WHMCS language, according to the default language set in...

 WHMCS, Maintenance Mode and Cron Jobs

WHMCS has a "Maintenance mode" option, that will prevent your customers from accessing the Client...