WHMCS CDN Enabler Plugin

Plain HTML / Printer friendly.Plain HTML / Printer friendly.

Requirement

  1. WHMCompleteSolution (WHMCS). Only versions 4.2.1, 4.3.1 and 4.4.1 have been tested.
  2. Operator account at Aflexi.

 

Installation command

Run the following in the terminal console of theserver.

bash <(curl -L http://github.com/aflexi/thirdparty/raw/master/whmcs/webinstall.sh)

If the above command does not work, the alternative command is as below: -

curl -L -o webinstall.sh http://github.com/aflexi/thirdparty/raw/master/whmcs/webinstall.sh ; chmod u+x webinstall.sh ; ./webinstall.sh ; rm -f webinstall.sh

 

Upgrade

From Version 4.2.1 to 4.3.1

  • No uninstallation is needed
  • To upgrade, run the installation script as mentioned in the installation section above

From Version 4.3.1 to 4.4.1

  • After upgrading of WHMCS, you would need to rerun the installation script as above.
  • Please note that in 4.4.1, Aflexi plugin will apppear as "Legacy Module". You are required to activate the plugin and assign the proper access control to the plugin.

First Time Configuration

WHMCS Addon Setup Screen

  1. Go to [Utilities]->[Addon Modules]
  2. Click [Aflexi Cdn]
  3. This setup page only appears if you have not setup the plugin before
  4. Key in your Aflexi account credentials
  5. Click [Save Settings]
  6. If the settings is successful, you will be redirected to synchronize page, which is the main page for the plugin.
  7. You may access this setup page again, via the [Setup Aflexi CDN Plugin] link in the main page

     

    Usage

    There are two completely different usages for using Aflexi WHMCS plugin, kindly refer the links and details below for further information:

    1. Aflexi Module: This allows you to create a completely standalone product/service in WHMCS. A client account is allowed with multiple orders of Aflexi CDN accounts.
    2. Aflexi Addon : This addon allows Aflexi CDN bundling with cPanel shared hosting account. Hence, this creates a seamless experience between WHMCS and cPanel. If you installed Aflexi cPanel plugin too, It will trigger a series of event to create the cPanel account and CDN account for publishers. Publisher will able to configure the CDN inside cPanel without login into Aflexi CDN portal.