Instructions on the installation of a module that can be provided to resellers:
- Download the file.
- Upload and extract the module into the main WHMCS directory.
- Go to Setup → Products/Services → Domain Registrars and activate module.
- Set credentials for the API connection. Your resellers have to add this code:
if(!defined('DS')) define('DS',DIRECTORY_SEPARATOR); $filename = ROOTDIR.DS.'modules'.DS.'registrars'.DS.'MaralHost'.DS.'MaralHost.php'; if(file_exists($filename)){ require_once ($filename); $fields = MaralHost_GetDomainFields(); if(is_array($fields)) $additionaldomainfields = $fields; }
At the end of 'additionaldomainfields.php' file located at 'includes/additionaldomainfields.php'. Or in: 'dist.additionalfields.php' file located at 'resources/domains/dist.additionalfields.php'.