Server Allocator For WHMCS
(→Installation and Configuration) |
(→Management) |
||
Line 109: | Line 109: | ||
==Add Group== | ==Add Group== | ||
{| | {| | ||
− | |style="padding: 10px 0px 15px 15px;"|In order to configure switching rules, proceed with creating of a new group.<br /> | + | |style="padding: 10px 0px 15px 15px;"|In order to configure switching rules, proceed with creating of a new group.<br/> |
Press '' 'Add Group' '' to proceed. | Press '' 'Add Group' '' to proceed. | ||
|} | |} | ||
Line 116: | Line 116: | ||
|} | |} | ||
{| | {| | ||
− | |style="padding: 0px 0px 15px 15px;"|Fill in group name and select desired product groups.<br /> | + | |style="padding: 0px 0px 15px 15px;"|Fill in group name and select desired product groups.<br/> |
− | Additionally, select default servers (Ctrl+mouse click for multi select) if you wish to redefine default servers.<br /> | + | Additionally, select default servers (Ctrl+mouse click for multi select) if you wish to redefine default servers.<br/> |
Press '' 'Save' '' to create group. | Press '' 'Save' '' to create group. | ||
|} | |} | ||
Line 126: | Line 126: | ||
==Group Management== | ==Group Management== | ||
{| | {| | ||
− | |style="padding: 10px 0px 15px 15px;"|Previously created group currently does not affect the system at all.<br /> | + | |style="padding: 10px 0px 15px 15px;"|Previously created group currently does not affect the system at all.<br/> |
Let's change that through adding a new rule. Press '' 'Add Rule' '' to proceed. | Let's change that through adding a new rule. Press '' 'Add Rule' '' to proceed. | ||
|} | |} | ||
Line 133: | Line 133: | ||
|} | |} | ||
{| | {| | ||
− | |style="padding: 0px 0px 15px 15px;"|In the next step select server type that the switch will apply to.<br /> | + | |style="padding: 0px 0px 15px 15px;"|In the next step select server type that the switch will apply to.<br/> |
− | Press '' 'Next' '' | + | Press '' 'Next'.'' |
|} | |} | ||
{| | {| | ||
Line 140: | Line 140: | ||
|} | |} | ||
{| | {| | ||
− | |style="padding: 0px 0px 15px 15px;"|Each rule can have multiple rule definitions.<br /> | + | |style="padding: 0px 0px 15px 15px;"|Each rule can have multiple rule definitions.<br/> |
− | '''Important:''' Switch will be made only if all of the rule definitions are met.<br /> | + | '''Important:''' Switch will be made only if all of the rule definitions are met.<br/> |
− | Let's add first rule definitions, adding it starts with selecting rule definitions type.<br /> | + | Let's add first rule definitions, adding it starts with selecting rule definitions type.<br/> |
To do so, press '' 'Add Definition' '' and choose desired one. | To do so, press '' 'Add Definition' '' and choose desired one. | ||
|} | |} | ||
Line 149: | Line 149: | ||
|} | |} | ||
{| | {| | ||
− | |style="padding: 0px 0px 15px 15px;"|For the purpose of this documentation, we have chosen configurable option rule definition.<br /> | + | |style="padding: 0px 0px 15px 15px;"|For the purpose of this documentation, we have chosen configurable option rule definition.<br/> |
Now, we have to select specific configurable option and its value which needs to be chosen. | Now, we have to select specific configurable option and its value which needs to be chosen. | ||
|} | |} | ||
Line 156: | Line 156: | ||
|} | |} | ||
{| | {| | ||
− | |style="padding: 0px 0px 15px 15px;"|Let's add one more rule definition, which in this case will be using product addon.<br /> | + | |style="padding: 0px 0px 15px 15px;"|Let's add one more rule definition, which in this case will be using product addon.<br/> |
− | Press '' 'Add Definition | + | Press '' 'Add Definition' → 'Addon' '' and choose product addon. |
|} | |} | ||
{| | {| | ||
Line 183: | Line 183: | ||
|} | |} | ||
{| | {| | ||
− | |style="padding: 0px 0px 20px 15px;"|Each of them leads to the order form with product configured according to defined rule. | + | |style="padding: 0px 0px 20px 15px;"|Each of them leads to the order form with product configured according to defined rule. |
− | + | ||
|} | |} | ||
{| | {| | ||
Line 199: | Line 198: | ||
===First Order=== | ===First Order=== | ||
{| | {| | ||
− | |style="padding: 10px 0px 20px 15px;"|Let us order a product fulfilling all conditions for receiving 'cPanel SSD - 99.9' server.<br /> | + | |style="padding: 10px 0px 20px 15px;"|Let us order a product fulfilling all conditions for receiving '' 'cPanel SSD - 99.9' '' server.<br/> |
Using this configuration, client pays additionally for 'Based On SSD' addon. | Using this configuration, client pays additionally for 'Based On SSD' addon. | ||
|} | |} | ||
Line 206: | Line 205: | ||
|} | |} | ||
{| | {| | ||
− | |style="padding: 10px 0px 15px 15px;"|The switch will be made upon ordering the product (order made from the client area) or accepting the order (order made from the admin area).<br /> | + | |style="padding: 10px 0px 15px 15px;"|The switch will be made upon ordering the product (order made from the client area) or accepting the order (order made from the admin area).<br/> |
Hosting with a switched server is displayed on the following screen. | Hosting with a switched server is displayed on the following screen. | ||
|} | |} | ||
Line 215: | Line 214: | ||
===Second Order=== | ===Second Order=== | ||
{| | {| | ||
− | |style="padding: 10px 0px 20px 15px;"|Let us order a product fulfilling all conditions for receiving 'cPanel SSD - 99.99' server.<br /> | + | |style="padding: 10px 0px 20px 15px;"|Let us order a product fulfilling all conditions for receiving '' 'cPanel SSD - 99.99' '' server.<br/> |
Client must pay for 'Based On SSD' as well as for higher guaranteed uptime. | Client must pay for 'Based On SSD' as well as for higher guaranteed uptime. | ||
|} | |} | ||
Line 230: | Line 229: | ||
===Third Order=== | ===Third Order=== | ||
{| | {| | ||
− | |style="padding: 10px 0px 15px 15px;"|Let us order a product without 'Based On SSD' addon and with default uptime.<br /> | + | |style="padding: 10px 0px 15px 15px;"|Let us order a product without '' 'Based On SSD' '' addon and with default uptime.<br/> |
This should result in assigning default 'cPanel - 99.9' server. | This should result in assigning default 'cPanel - 99.9' server. | ||
|} | |} |
Revision as of 09:26, 1 September 2016
Contents |
About Server Allocator For WHMCS
Server Allocator For WHMCS will allow to automatically switch servers when placing an order depending on previously set rules. Module lets you create and configure your own switch rules, split them into groups and assign to them specified servers and product groups. |
- Admin Area Features:
✔ Add/Edit/Remove Switching Rules |
✔ Add Multiple Conditions/Products/Servers To Switching Rule |
✔ Assign Multiple Rules To Rules Group |
✔ Set Default Servers To Rules Group - Used If No Rule Is Applied |
✔ Access Links To Order Form Of Products Configured According To Specified Rule |
- Client Area Features:
✔ Switch Assigned Server Automatically During Ordering Product - Depending On Applied Rule |
- Supported Rule Definitions:
✔ Configurable Options |
✔ Custom Fields |
✔ Product Addons |
- General Info:
✔ Supports All Server Types |
✔ Multi-Language Support |
✔ Supports WHMCS V5 and V6 |
Installation and Configuration
This tutorial will show you how to successfully install and configure Server Allocator For WHMCS. We will guide you step by step through the whole installation and configuration process. |
1. Log in to your client area and download Server Allocator For WHMCS. |
2. Upload and extract the module into the main WHMCS directory. Files in your WHMCS directory should look like these. |
3. When you install Server Allocator for the first time you have to rename 'license_RENAME.php' file. File is located in 'modules/addons/serverswitcher/license_RENAME.php'. Rename it from 'license_RENAME.php' to 'license.php'. |
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 at your client area → 'My Products'. |
5. Now you have to activate the module in your WHMCS system. Log in to your WHMCS admin area. Go to the 'Setup' → 'Addon Modules' . Afterwards, find 'Server Allocator' and press 'Activate' button. |
6. In the next step you need to permit access to this module. To do so click on 'Configure' button, tick 'Access Control' near desired admin role groups and press 'Save Changes'. |
7. You have just successfully installed Server Allocator For WHMCS! |
Management
Server Allocator For WHMCS allows you to automatically switch to wanted server upon specific product configuration. |
Add Group
In order to configure switching rules, proceed with creating of a new group. Press 'Add Group' to proceed. |
Fill in group name and select desired product groups. Additionally, select default servers (Ctrl+mouse click for multi select) if you wish to redefine default servers. |
Group Management
Previously created group currently does not affect the system at all. Let's change that through adding a new rule. Press 'Add Rule' to proceed. |
In the next step select server type that the switch will apply to. Press 'Next'. |
Each rule can have multiple rule definitions. Important: Switch will be made only if all of the rule definitions are met. |
For the purpose of this documentation, we have chosen configurable option rule definition. Now, we have to select specific configurable option and its value which needs to be chosen. |
Let's add one more rule definition, which in this case will be using product addon. Press 'Add Definition' → 'Addon' and choose product addon. |
Now, select server you wish to switch to and press 'Save Changes' button. |
Rule Management
Each group and rule can be modified and removed at any time through using buttons marked on the following screen. |
Press 'Links' next to desired rule to view the list of links. |
Each of them leads to the order form with product configured according to defined rule. |
Sample Orders
In this section we will show you how our module works on an exemplary rule shown below. |
First Order
Let us order a product fulfilling all conditions for receiving 'cPanel SSD - 99.9' server. Using this configuration, client pays additionally for 'Based On SSD' addon. |
The switch will be made upon ordering the product (order made from the client area) or accepting the order (order made from the admin area). Hosting with a switched server is displayed on the following screen. |
Second Order
Let us order a product fulfilling all conditions for receiving 'cPanel SSD - 99.99' server. Client must pay for 'Based On SSD' as well as for higher guaranteed uptime. |
As displayed on the following screen, the switch has been made successfully. |
Third Order
Let us order a product without 'Based On SSD' addon and with default uptime. This should result in assigning default 'cPanel - 99.9' server. |
As you can see, switch has not been made and hosting is using default group server. |
Tips
1. In case none of the configuration settings meet any rule, the product will be assigned to a default server. |
Common Problems
1. When you have problems with connection, check whether your SELinux or firewall does not block ports. |
2. You are unable to add a product addon/configurable option/custom field to the rule. Reason: An item has to be assigned to a product which:
Solution: Ensure that an item you are trying to add is assigned to a correct product. |