NOTICE: Our WHMCS Addons are discontinued and not supported anymore.
Most of the addons are now released for free in github - https://github.com/jetserver
You can download them from GitHub and conribute your changes ! :)
This hook currently supports only cPanel server modules !
First, you will need to login to your client area and download your copy of “WHMCS Smart IP Allocation“.
From the client’s area top menu click “Services” -> “My Services“.
Open the “View Details” box by click the arrow on the right, and click “Downloads“, in the following screen click the “Download” link.
Unzip the file, and edit it with a simple code editor (notepad++ is recommended).
Set the exclude server/group ids, empty the vars if you want to use all servers. (example below)
Upload it to your WHMCS hooks folder (“includes/hooks“).
That’s all !
Code examples –
This example shows how to exclude server ids 5 & 6, and will search for servers only in group id 4 –
$output['exclude_servers_ids'] = array(5,6); $output['only_group_ids'] = array(4);