Mar 28, 2019
To easily resell our services to your clients Install our OnePortal plugin
Installation
Dedicated servers: Move/Upload all of the files in the oneportal folder to modules/servers/oneportal Cloud servers: Move/Upload all of the files in the oneportalcloud folder to modules/servers/oneportalcloud
Dedicated Servers Setup
For every hosting product/service while you set them up:
Module Settings
tabOneportal
as the Module Name
API Key
from OnePortal's Administrative -> API
rDNS Domain
to your domain nameDo not automatically setup this product
Then, go to the Custom Fields
and add a field with the following:
Admin Only
if you don't want to show this
information to the clientThen, when you provision a new server for a client:
Products/Services
tabServer ID
field and put in the server's ID as either
D####
or LSN-D####
where the # signs are the ID of your server
in OnePortalSave Changes
Bandwidth
, Hardware
and IP Addresses
sections of the productBandwidth Statistics (optional, may not work due to WHMCS limitations)
To update bandwidth usage, you should setup a cron job for the following: :
php -q /full_path_to/whmcs/modules/servers/oneportal/usageupdate.cron.php
We recommend every 5 minutes. If you use this feature, be sure to put your API key on line 4 of usageupdate.cron.php where you see "\$oneportal_api_key ="
Cloud Servers Setup
For every hosting product/service while you set them up:
Module Settings
tabOneportalcloud
as the "Module Name"rDNS Domain
to your domain nameThen, go to the Custom Fields
and add a field with the following:
Admin Only
if you don't want to show this
information to the clientShow on invoice
if you want the Server ID on
your clients' invoicesSetting up configurable options
If you wish to have scalable cloud servers and/or give your users the ability to choose the configuration options of their cloud server then follow the instructions here.
Option parameters
Ram => 512MB,1GB,2GB,4GB,8GB,16GB,32GB
Storage => 5GB,10GB,15GB,20GB,50GB,100GB,120GB,140GB,160GB,180GB,200GB
Cores => 1,2,3,4,5,6,7,8,9,10,11,12
OS => CentOS 5.9 x64,CentOS 6.4 x64,Debian 7.0 x64,Fedora 18 x64, Red Hat Enterprise Linux 5.9 x64,Red Hat Enterprise Linux 6.4 x64, Arch Linux 2012.12 x64,CloudLinux Server 6.4 x64,openSUSE 12.1 x86, PBXware 3.1 x86,Scientific Linux 6.2 x64, Slackware 13.37 x64, Windows 2012 Standard Edition R2 -- 64 bit
IPs => 1 IP, 2 IPs, 3 IPs, 4 IPs, 5 IPs
Control Panel => None, cPanel