Page tree
Skip to end of metadata
Go to start of metadata

Custom configuration is done via a custom configuration file (custom.php). To use custom configurations, rename custom-example.php in the module folder (modules/servers/solusvmpro/) to custom.php

Client Area

To customise the look & layout of the client area,  uncomment the following functions:

solusvmpro_customclientarea()
solusvmpro_customclientareaunavailable()

Hostname

This function allows you to manipulate the hostname of the virtual server before it is created. Uncomment the following function:

solusvmpro_hostname()

Username

This function allows you to manipulate the username of the client before it is created. Uncomment the following function:

solusvmpro_username()

This function allows you to display a button in the server list in WHMCS to directly login to you master. Uncomment the following function:

solusvmpro_AdminLink()

Module Create Step 1

This function runs before any other code in the module and before the virtual server is created. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_create_one()

Module Create Step 2

This function runs just before the client is created and before the virtual server is created. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_create_two()

Module Create Step 3

This function runs just before the virtual server is created. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_create_three()

Module Create Step 4

This function runs if the virtual server has been created successfully. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_create_four()

Module Create Step 5

This function runs if the virtual server has NOT been created successfully. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_create_five()

Module Terminate Pre

This function runs before any code in the terminate function runs. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_terminate_pre()

Module Terminate Post Success

This function runs if the virtual server has been terminated successfully. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_terminate_post_success()

Module Terminate Post Error

This function runs if the virtual server has NOT been termainted successfully. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_terminate_post_error()

Module Suspend Pre

This function runs before any code in the suspend function runs. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_suspend_pre()

Module Suspend Post Success

This function runs if the virtual server has been suspended successfully. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_suspend_post_success()

Module Suspend Post Error

This function runs if the virtual server has NOT been suspended successfully. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_suspend_post_error()

Module UnSuspend Pre

This function runs before any code in the unsuspend function runs. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_unsuspend_pre()

Module UnSuspend Post Success

This function runs if the virtual server has been unsuspended successfully. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_unsuspend_post_success()

Module UnSuspend Post Error

This function runs if the virtual server has NOT been unsuspended successfully. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_unsuspend_post_error()

Module Change Package Pre

This function runs before any code in the change package function runs. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_changepackage_pre()

Module Change Package Post Success

This function runs if the package has been changed successfully. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_changepackage_post_success()

Module Change Package Post Error

This function runs if the package has NOT been changed successfully. All standard WHMCS variables are passed to this function. Uncomment the following function:

solusvmpro_changepackage_post_error()
  • No labels