Personal tools
Namespaces

Variants
Actions

DirectAdmin Licenses For WHMCS

From ModulesGarden Wiki
Revision as of 13:26, 27 October 2016 by Karolina (Talk | contribs)

Jump to: navigation, search

Contents

About DirectAdmin Licenses For WHMCS

DirectAdmin Licenses For WHMCS will allow you to offer DirectAdmin licenses as ready products in your WHMCS.

The module will automatically provide, verify and activate DirectAdmin licenses for your customers, who then will be able to manage them from your client area.

  • Admin Area Features:
✔ Create/Suspend/Unsuspend/Terminate License
✔ Change IP Address Assigned To License
✔ View License Details
✔ Choose Product ID And Operating System
✔ Terminate License On Its Suspension
✔ Toggle Automatic Payment For Provisioned License
  • Client Area Features:
✔ Order License
✔ View License Details
✔ Change IP Address Assigned To License
  • General Info:
✔ Integrated With Product Linker For WHMCS - Resell Licenses In Product Bundles (read more)
✔ Multi-Language Support
✔ Supports PHP 5.3 Up To PHP 7
✔ Supports WHMCS Templates Five and Six
✔ Supports WHMCS V6 and V7

Installation and Configuration

In this tutorial we will show you how to quickly install and configure DirectAdmin Licenses For WHMCS.

We will guide you step by step through the whole installation process.

1. Log in to your client area and download DirectAdmin Licenses For WHMCS.
DAL1.png
2. Upload and extract the module into the main WHMCS directory.

Files in your WHMCS directory should look like these.

DAL2.png
3. When you install DirectAdmin Licenses for the first time you have to rename 'license_RENAME.php' file.

File is located in 'modules/servers/dalicenses/license_RENAME.php'. Rename it from 'license_RENAME.php' to 'license.php'.

DAL3.png
4. In order to configure your license key, you have to edit a previously renamed 'license.php' file.

Enter your license key between quotation marks as presented on the following screen. You can find your license key in your client area → 'My Products'.

DAL4.png
5. Now we will show you how to configure a new product.

Go to 'Setup' → 'Products/Services' → 'Servers' and press 'Add New Server'.

DAL5.png
6. Next, enter your server name and enter 'https://www.directadmin.com/clients ' into 'Hostname' field.

Afterwards, fill in username and password fields and choose 'Dalicenses' from a dropdown menu.
Select 'Secure' checkbox, remember to 'Save Changes'.

DAL6.png
7. After you have configured your server correctly, you should see a following screen.

Create a new group for your server now. Press 'Create New Group' to do so.

DAL7.png
8. Enter name, click on your previously created server, press 'Add' then press 'Save Changes'.
DAL8.png
9. In order to create and configure product, click on 'Setup' 'Products/Services' 'Products/Services'.

If you do not have a product group, click on 'Create a New Group'. If you do, simply go to step 11.

DAL9.png
10. Enter product group name and press 'Create Group'.
DAL10.png
11. When you have a product group, create your product. To create a product click on 'Create a New Product'.
DAL11.png
12. Afterwards, choose your product type and product group from dropdown menus, enter your product name and press 'Continue'.
DAL12.png
13. Now, go to 'Module Settings' section, choose both 'Dalicenses' and your previously created server group from dropdown menu.
DAL13.png
14. Next, tick 'Suspend Action' and 'Auto Payment'.

Choose 'Product ID' and 'OS Name' , then press 'Save Changes'.

DAL13 1.png
15. After modifying the module settings move to 'Custom Fields'.

In 'Field Name' enter 'IP' , choose 'Text Box' from a field type dropdown menu, enter description and set up validation as:

/\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)
\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b/

Important! It is a one line command, do not split it into two lines.
Mark 'Show on Order Form' checkbox and press 'Save Changes' button.

DAL14.png
That's it. You have just successfully installed and configured DirectAdmin Licenses For WHMCS!

This is how a properly configured product looks like.

DAL15.png

Management

Our module allows you to provide DirectAdmin licenses through WHMCS.
Read through the below sections to learn how to use its functionalities efficiently.

Admin Area

You can view all important details of DirectAdmin Licenses For WHMCS products ordered by your clients in the admin area.

Additionally, our module allows you to manage your clients licenses and change licenses' IP addresses.

DAL16 1.png

Client Area

Our module allows you and your clients to quickly change license IP address.

As you know from the previous section it can be done in the admin area. We will show you now how to change IP address from the client area.
Start by pressing 'Change IP Address' marked on the below screen.

DAL16.png
Afterwards, enter a new IP address and press 'Submit'.

You have just successfully changed the license IP address.

DAL17.png

Tips

1. Combine DirectAdmin Licenses For WHCMS with Product Linker For WHMCS to prepare product bundles like a VPS server with an active DirectAdmin license.

Common Problems

1. When you have problems with connection, check whether your SELinux or firewall does not block ports.
2. Make sure that your custom field name is 'IP'. In other case, module will not work properly.
3. If after installation you get an ionCube encoder problem (wrong version), please open a support ticket.

You will be provided with a different version of the module encrypted with the older version of ionCube.

Navigation
WHMCS Modules
WHMCS Widgets
Translations
cPanel Modules
General
FAQ
Community
DirectAdmin Licenses For WHMCS