Personal tools
Namespaces

Variants
Actions

Hosting Quota Notifications 1.X For WHMCS

From ModulesGarden Wiki
(Difference between revisions)
Jump to: navigation, search
 
(708 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<meta name="keywords" content="quotes automation for whmcs, quotes automation configuration, whmcs quotes automation management, whmcs quotes automation installation, whmcs quotes automation common problems, about whmcs quotes automation, whmcs quotes automation documentation, whmcs quotes automation faq, whmcs quotes automation help, whmcs quotes automation guide, whmcs quotes automation wiki, whmcs quotes automation tutorial, whmcs quotes automation tips, whmcs quotes automation wiki"></meta>
+
<meta name="keywords" content="hosting quota notifications for whmcs, hosting quota notifications configuration, whmcs hosting quota notifications management, whmcs hosting quota notifications installation, whmcs hosting quota notifications common problems, about whmcs hosting quota notifications, whmcs hosting quota notifications documentation, whmcs hosting quota notifications faq, whmcs hosting quota notifications help, whmcs hosting quota notifications guide, whmcs hosting quota notifications wiki, whmcs hosting quota notifications tutorial, whmcs hosting quota notifications tips, whmcs hosting quota notifications wiki"></meta>
<meta name="description" content="ModulesGarden Wiki Contains All The Information You Need About The Quotes Automation For WHMCS Module."></meta>
+
<meta name="description" content="ModulesGarden Wiki Contains All The Information You Need About The Hosting Quota Notifications For WHMCS Module."></meta>
  
=About [http://www.modulesgarden.com/products/whmcs/quotes_automation/features Quotes Automation For WHMCS]=
+
=About [https://www.modulesgarden.com/products/whmcs/hosting-quota-notifications Hosting Quota Notifications For WHMCS]=
 
{|
 
{|
|style="padding: 10px 0px 5px 0px;"|'''Quotes Automation For WHMCS''' will allow you to create templates for quotes. You will be able to add, edit and delete templates as well as manage included products.<br />
+
|style="padding: 10px 0px 10px 0px;"|'''Hosting Quota Notifications For WHMCS''' allows you to send automatic notifications to your clients whenever they exceed previously set bandwidth or disk usage.
The module will also simplify the process of placing an order. Once a quote is ready, both you and your clients will be able to place an order directly from a quote page.
+
Notifications can be sent in two ways: upon exceeding given resource tier or after exceeding given resource limit in a specified time period.<br />
 +
You can also define email templates and view details of each sent notification owing to logs.
 
|}
 
|}
<!-- fixed -->
+
<!--a comment maybe? -->
 
*'''Admin Area Features:'''
 
*'''Admin Area Features:'''
 
{|
 
{|
|style="padding: 10px 0px 0px 30px;"|✔ Add Product And Its Addons To Quote
+
|style="padding: 10px 0px 0px 30px;"|✔ Automatically Notify Your Clients Upon Exceeding Defined Limits Of Bandwidth And Disk Usage
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Add Domain And Its Addons To Quote
+
|style="padding: 0px 0px 0px 30px;"|✔ Configure Notification Groups
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Save Quote As Template
+
|style="padding: 0px 0px 0px 30px;"|✔ Choose Between Two Types Of Group Counting:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Load Quote From Template
+
|style="padding: 0px 0px 0px 45px;"|✔ Tiered - Define Tiers Of Usage
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Remove Template
+
|style="padding: 0px 0px 0px 45px;"|✔ Fixed - Define Usage Grow Over Time
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Place Order - Creates Order And Invoice From Quote
+
|style="padding: 0px 0px 0px 30px;"|✔ Assign Multiple Products To Single Notification Group
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Choose Product Billing Cycle And Configurable Option
+
|style="padding: 0px 0px 0px 30px;"|✔ Assign Email Templates Per Notification Group
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Define Whether To Apply Changed Price To First Payment Only Or To Billing Cycle Price
+
|style="padding: 0px 0px 0px 30px;"|✔ Enable/Disable Notification Groups
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Define Whether To Remove Quote Upon Saving It As Template
+
|style="padding: 0px 0px 10px 30px;"|✔ View Logs Of Sent Notifications
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Define Whether To Enable 'Accept Quote & Order' Functionality In Client Area
+
|}
+
{|
+
|style="padding: 0px 0px 10px 30px;"|✔ Configure Permissions Per Admin Role
+
|}
+
*'''Client Area Features:'''
+
{|
+
|style="padding: 10px 0px 10px 30px;"|✔ Create Orders And Invoices Automatically On Quote Acceptance
+
 
|}
 
|}
 
*'''General Info:'''
 
*'''General Info:'''
Line 51: Line 42:
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Supports WHMCS Templates Five and Six
+
|style="padding: 0px 0px 0px 30px;"|✔ Supports PHP 5.6 Up To PHP 7.2
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 30px;"|✔ Supports WHMCS V5 and V6
+
|style="padding: 0px 0px 30px 30px;"|✔ Supports WHMCS V7
 
|}
 
|}
  
 
=Installation=
 
=Installation=
 
{|
 
{|
|style="padding: 10px 0px 0px 0px;"|'''This tutorial will show you how to successfully install and configure Quotes Automation For WHMCS.''' <br />
+
|style="padding: 10px 0px 30px 15px;"|'''This tutorial will show you how to successfully install and configure Hosting Quota Notifications For WHMCS.''' <br />
We will guide you step by step through the whole installation and configuration process.  
+
We will guide you step by step through the whole installation and configuration process.
 
|}
 
|}
 +
==Installation==
 
{|
 
{|
|style="padding: 20px 0px 20px 15px;"|'''1. Log in to your client area and download Quotes Automation For WHMCS.'''
+
|style="padding: 10px 0px 20px 15px;"|'''1. Log in to our client area and download the module.'''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:QA_1.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:HQN_1.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''2. Upload and extract the module into the main WHMCS directory.'''<br />
+
|style="padding: 0px 0px 10px 15px;"|'''2. In the downloaded file you will find two packages that support different PHP versions.'''<br/>As presented on the screen below, the first one is dedicated to PHP 5.6 up to PHP 7.0, while the second one is aimed at PHP 7.1 up to PHP 7.2.<br/>It does not apply to open source versions.<br/>
Files in your WHMCS directory should look like on the following screen.
+
'' '''Note''': You can check the current PHP version in your WHMCS. To do so, proceed to ''' 'Utilities' › 'System' › 'PHP Info'.'''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:QA_2.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:PHP56_72.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''3. When you install Quotes Automation for the first time you have to rename '' 'license_RENAME.php' '' file.'''<br />
+
|style="padding: 0px 0px 15px 15px;"|'''3. Extract the downloaded file and choose the one with the right PHP version. Upload and extract the PHP file into the main WHMCS directory.'''<br />
File is located in '' 'modules/addons/quotesautomation/license_RENAME.php' '' . Rename it from '' 'license_RENAME.php' '' to '' 'license.php'. ''
+
The content of PHP version files should look like this.  
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:QA_3.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:drfere.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''4. In order to configure your license key, you have to edit the previously renamed '' 'license.php' file. '''''<br />
+
|style="padding: 0px 0px 15px 15px;"|'''4. When you install Hosting Quota Notifications For WHMCS for the first time you have to rename '' 'license_RENAME.php' '' file.'''<br />
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'/ ''
+
File is located in '' 'modules/addons/hosting_quota_notifications/license_RENAME.php' '' . Rename it from '' 'license_RENAME.php' '' to '' 'license.php' '' .
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:QA_4.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:HQN_3.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''5. Now you have to activate the module in your WHMCS system. '''<br />
+
|style="padding: 0px 0px 15px 15px;"|'''5. In order to configure your license key, you have to edit a previously renamed '' 'license.php' '' file.'''<br />
Log in to your WHMCS admin area. Go to '' 'Setup' '' → '' 'Addon Modules'. '' Afterwards, find '' 'Quotes Automation' '' and press '' 'Activate' '' button.
+
Enter your license key between quotation marks as presented on the following screen. You can find your license key in our client area'' → 'My Products' ''.  
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:QA_5.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:HQN_4.png]]
 
|}
 
|}
 +
 +
==Configuration of Addon==
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''6. In the next step you need to permit access to this module.'''<br />
+
|style="padding: 10px 0px 15px 15px;"|'''6. Now you have to activate the module in your WHMCS system.'''<br />
To do so, click on '' 'Configure' '' button, tick '' 'Full Administrator' '' and press '' 'Save Changes'. ''
+
Log in to your WHMCS admin area. Go to '' 'Setup' '' → '' 'Addon Modules' ''. Afterwards, find '' 'Hosting Quota Notifications' '' and press '' 'Activate' '' button.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:QA_6.png]]
+
|style="padding: 0px 0px 20px 25px;"|[[File:HQN_5.png]]
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'''7. You have just successfully installed Quotes Automation For WHMCS!'''<br />
+
|style="padding: 0px 0px 15px 15px;"|'''7. In the next step you need to permit access to this module.'''<br />
You can access your module at '' 'Addons' '' '' 'Quotes Automation'. ''
+
To do so click on '' 'Configure' '' button, tick '' 'Access Control' '' near required admin role groups and press '' 'Save Changes' ''.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:QA_7.png]]
+
|style="padding: 0px 0px 30px 25px;"|[[File:HQN_6.png]]
 
|}
 
|}
  
=Configuration and Management=
 
 
{|
 
{|
|style="padding: 10px 0px 30px 15px;"|'''Quotes Automation For WHMCS is a module which allows you to create and use quote templates as well as automatize a part of the process.
+
|style="padding: 0px 0px 15px 15px;"|'''8. You have just successfully installed Hosting Quota Notifications For WHMCS!'''<br />
 +
You can access your module in '' 'Addons' '' → '' 'Hosting Quota Notifications' ''.
 
|}
 
|}
==Dashboard==
 
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|In '' 'Dashboard' '' you can find a short description of the module as well as the link to this Wiki article.<br />
+
|style="padding: 0px 0px 30px 25px;"|[[File:HQN_7.png]]
Additionally, here you can find integration code required for quotes page integration in WHMCS client area.<br />
+
Press '' 'Confirm' '' button as soon as you become familiar with the article and place the integration code.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:QA_8.png]]
+
 
|}
 
|}
  
==Settings==
+
=Configuration and Management=
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|This tab allows you to define behavior of the module and set your staff members' permissions.
+
|style="padding: 10px 0px 30px 15px;"|'''In this section we will show you how to properly set up and use Hosting Quota Notifications For WHMCS.'''
 
|}
 
|}
 +
==Configuration==
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:QA_9.png]]
+
|style="padding: 10px 0px 15px 15px;"|In '' 'Configuration' '' page you can find the list of configured notification groups.<br />
 +
You can enable/disable any of them, as well as alter or completely remove them.<br />
 +
Press '' 'Create New Group' '' to proceed.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|In order to set up permissions and behavior of the module, mark checkboxes and press '' 'Save Changes' ''.<br />
+
|style="padding: 0px 0px 20px 25px;"|[[File:HQN_9.png]]
1. '''Remove A Quote''' - If marked, a quote will be removed after saving it as a template. <br />
+
Upon removing a quote you are asked to confirm the action, at this point you can cancel the removal of chosen quotes.<br />
+
2. '''Accept Quote & Order''' - If marked, as soon as your client accepts a quote, it will be converted into an invoice and an order.<br />
+
3. '''Load Template''' - access to quote templates loading.<br />
+
4. '''Save Template''' - defines admin with saving  quote as a template privilege.<br />
+
5. '''Delete Template''' - ability to remove quote templates.<br />
+
6. '''Place Order''' - permission to create an order and an invoice from a template.<br />
+
7. '''Add Domain''' - access to add domain and its addon to quote function.
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:QA_10.png]]
+
|style="padding: 0px 0px 15px 15px;"|Now, you can define all products related to this configuration and email template which will be used to notify your clients.<br />
 +
You can choose between two types of resource usage counting:<br />
 +
*Fixed - define amount of resources over specific time period. If client usage growth has exceeded the given limit in specified time, a notification will be sent.
 +
*Tiered - defines amount of resources. If client exceeds given limit, a notification will be sent.
 
|}
 
|}
 
==Admin Area==
 
===Create a Quote===
 
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|Proceed to '' 'Billing' '' → '' 'Quotes' '' → '' 'Create New Quote' ''.<br />
+
|style="padding: 0px 0px 20px 25px;"|[[File:HQN_10.png]]
As you can see, new buttons are available.<br />
+
Use buttons marked on the following screen to add domains and products to the quote.
+
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:QA_11.png]]
+
|style="padding: 0px 0px 15px 15px;"|For example, shown below module uses fixed counting type.<br />
 +
As you can see, we have defined limits for both bandwidth and disk.<br />
 +
Settings shown below result in sending notification to client upon:
 +
*bandwidth usage growth by 5GB during 21 days.
 +
*disk usage growth by 100GB over period of 14 days.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|'' 'Add a Predefined Product' '' button allows you to add products with addons assigned to them.<br />
+
|style="padding: 0px 0px 30px 25px;"|[[File:HQN_11.png]]
Upon adding a product, you can choose from configurable options and define its billing cycle.<br />
+
Additionally, you can decide whether to apply pricing changes from the quote for the first payment only or change the billing cycle price.
+
 
|}
 
|}
 +
==Logs==
 
{|
 
{|
|style="padding: 0px 0px 20px 25px;"|[[File:QA_12.png]]
+
|style="padding: 10px 0px 15px 15px;"|Under '' 'Logs' '' page you can view information about sent notifications.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 15px 15px;"|You can also add a domain to quote through using '' 'Add a Predefined Domain' '' button.<br />
+
|style="padding: 0px 0px 30px 25px;"|[[File:HQN_12.png]]
Our module allows you to choose registration type, domain name and TLD, registration period and addons.<br />
+
 
|}
 
|}
 +
==Notifications==
 
{|
 
{|
|style="padding: 0px 0px 30px 25px;"|[[File:QA_13.png]]
+
|style="padding: 10px 0px 15px 15px;"|You can create as many notifications as you wish.<br />
 +
The only requirement is their type being set to '' 'Product/Service' ''.<br />
 +
Additionally, you can use {if} statement, as shown below:
 +
{if $bw_over} Your bandwidth usage is over {$bw_over}MB{if $bw_current} (current: {$bw_current}MB){/if}.{/if}
 +
{if $disk_over}Your disks usage is over {$disk_over}MB{if $disk_current} (current: {$disk_current}MB){/if}.{/if}
 +
It will allow you to use this email template for bandwidth and disk notifications at the same time.
 
|}
 
|}
===Templates===
 
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|Now, let's save a quote as a template.<br />
+
|style="padding: 0px 0px 30px 25px;"|[[File:HQN_13.png]]
To do so, press '' 'Save Template', '' fill in template name and press '' 'Save'. ''<br />
+
''Note: If '' 'Remove Quote After Template Creation' '' is enabled, you will be asked if the quote should be removed.''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:QA_14.png]]
+
|}
+
{|
+
|style="padding: 10px 0px 15px 15px;"|To use the template in a new quote, press '' 'Load Template' '', choose it from the list of your templates and click '' 'Load'.''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:QA_15.png]]
+
|}
+
{|
+
|style="padding: 10px 0px 15px 15px;"|The same way you loaded a template, you can remove it.<br />
+
Press '' 'Delete Template' '', choose a template to be removed and confirm through pressing '' 'Delete' '' and afterwards '' 'Yes'.''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:QA_16.png]]
+
 
|}
 
|}
  
===Convert Quote To Order===
+
=Tips=
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|As soon as the customer accepts the quote, you can quickly create an invoice and an order from it.<br />
+
|style="padding: 10px 0px 30px 15px;"|
Press '' 'Place Order' ''.<br />
+
''Note: The quote visible on the screen below has one product with 50% discount. '' 'Replace recurring amount' '' option has been marked when added.''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:QA_17.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|On the screen below you can see the invoice.<br />
+
As you can see, the 50% discount was applied to the product '' 'Product X' ''.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:QA_18.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|The order is also made right away with the specified price.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:QA_19.png]]
+
 
|}
 
|}
  
==Client Area==
+
=Update Instructions=
 
{|
 
{|
|style="padding: 10px 0px 15px 15px;"|If you have marked '' 'Accept Quote & Place An Order', '' the module will alter the quotes in the client area.<br />
+
|style="padding: 10px 0px 30px 15px;"|Essential guidance through the process of updating the module is offered '''[https://www.docs.modulesgarden.com/How_To_Update_WHMCS_Module here]'''.<br/><br/>
Find your quotes and view the ones you want to accept and place order instantly.
+
Keep in mind there is a quick and easy option in our client area that will let you upgrade the license of your module to an open source version at any time - and at a lower price!<br/>
 +
To take advantage of it, simply use the '''License Upgrade''' button located on the product's page and a discounted invoice will be generated automatically.<br/>
 
|}
 
|}
{|
 
|style="padding: 0px 0px 20px 25px;"|[[File:QA_20_1.png]]
 
|}
 
===Accept & Order===
 
{|
 
|style="padding: 10px 0px 15px 15px;"|Additional actions will be made upon pressing '' 'Accept Quote' '' in the client area.<br />
 
This way, as soon as the client accepts the quote, the module will automatically generate the invoice and the order from the quote.
 
|}
 
{|
 
|style="padding: 0px 0px 20px 25px;"|[[File:QA_20.png]]
 
|}
 
{|
 
|style="padding: 10px 0px 15px 15px;"|As you can see the status has changed immediately after the quote has been accepted.
 
|}
 
{|
 
|style="padding: 0px 0px 20px 25px;"|[[File:QA_21.png]]
 
|}
 
{|
 
|style="padding: 10px 0px 15px 15px;"|You can find now a new invoice to pay on your list of invoices.
 
|}
 
{|
 
|style="padding: 0px 0px 30px 25px;"|[[File:QA_22.png]]
 
|}
 
 
=Tips=
 
{|
 
|style="padding: 10px 0px 30px 15px;"|1. Before you choose a product, an addon or a domain to add to a quote, always make sure it is properly configured in the system to avoid any confusion.
 
|}
 
 
 
=Common Problems=
 
=Common Problems=
 
{|
 
{|
 
|style="padding: 10px 0px 30px 15px;"|'''1. When you have problems with connection, check whether your SELinux or firewall does not block ports.'''
 
|style="padding: 10px 0px 30px 15px;"|'''1. When you have problems with connection, check whether your SELinux or firewall does not block ports.'''
 
|}
 
|}

Latest revision as of 12:02, 13 September 2018

Contents

[edit] About Hosting Quota Notifications For WHMCS

Hosting Quota Notifications For WHMCS allows you to send automatic notifications to your clients whenever they exceed previously set bandwidth or disk usage.

Notifications can be sent in two ways: upon exceeding given resource tier or after exceeding given resource limit in a specified time period.
You can also define email templates and view details of each sent notification owing to logs.

  • Admin Area Features:
✔ Automatically Notify Your Clients Upon Exceeding Defined Limits Of Bandwidth And Disk Usage
✔ Configure Notification Groups
✔ Choose Between Two Types Of Group Counting:
✔ Tiered - Define Tiers Of Usage
✔ Fixed - Define Usage Grow Over Time
✔ Assign Multiple Products To Single Notification Group
✔ Assign Email Templates Per Notification Group
✔ Enable/Disable Notification Groups
✔ View Logs Of Sent Notifications
  • General Info:
✔ Multi-Language Support
✔ Supports PHP 5.6 Up To PHP 7.2
✔ Supports WHMCS V7

[edit] Installation

This tutorial will show you how to successfully install and configure Hosting Quota Notifications For WHMCS.

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

[edit] Installation

1. Log in to our client area and download the module.
HQN 1.png
2. In the downloaded file you will find two packages that support different PHP versions.
As presented on the screen below, the first one is dedicated to PHP 5.6 up to PHP 7.0, while the second one is aimed at PHP 7.1 up to PHP 7.2.
It does not apply to open source versions.

Note: You can check the current PHP version in your WHMCS. To do so, proceed to 'Utilities' › 'System' › 'PHP Info'.

PHP56 72.png
3. Extract the downloaded file and choose the one with the right PHP version. Upload and extract the PHP file into the main WHMCS directory.

The content of PHP version files should look like this.

Drfere.png
4. When you install Hosting Quota Notifications For WHMCS for the first time you have to rename 'license_RENAME.php' file.

File is located in 'modules/addons/hosting_quota_notifications/license_RENAME.php' . Rename it from 'license_RENAME.php' to 'license.php' .

HQN 3.png
5. 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 our client area → 'My Products' .

HQN 4.png

[edit] Configuration of Addon

6. Now you have to activate the module in your WHMCS system.

Log in to your WHMCS admin area. Go to 'Setup' 'Addon Modules' . Afterwards, find 'Hosting Quota Notifications' and press 'Activate' button.

HQN 5.png
7. In the next step you need to permit access to this module.

To do so click on 'Configure' button, tick 'Access Control' near required admin role groups and press 'Save Changes' .

HQN 6.png
8. You have just successfully installed Hosting Quota Notifications For WHMCS!

You can access your module in 'Addons' 'Hosting Quota Notifications' .

HQN 7.png

[edit] Configuration and Management

In this section we will show you how to properly set up and use Hosting Quota Notifications For WHMCS.

[edit] Configuration

In 'Configuration' page you can find the list of configured notification groups.

You can enable/disable any of them, as well as alter or completely remove them.
Press 'Create New Group' to proceed.

HQN 9.png
Now, you can define all products related to this configuration and email template which will be used to notify your clients.

You can choose between two types of resource usage counting:

  • Fixed - define amount of resources over specific time period. If client usage growth has exceeded the given limit in specified time, a notification will be sent.
  • Tiered - defines amount of resources. If client exceeds given limit, a notification will be sent.
HQN 10.png
For example, shown below module uses fixed counting type.

As you can see, we have defined limits for both bandwidth and disk.
Settings shown below result in sending notification to client upon:

  • bandwidth usage growth by 5GB during 21 days.
  • disk usage growth by 100GB over period of 14 days.
HQN 11.png

[edit] Logs

Under 'Logs' page you can view information about sent notifications.
HQN 12.png

[edit] Notifications

You can create as many notifications as you wish.

The only requirement is their type being set to 'Product/Service' .
Additionally, you can use {if} statement, as shown below:

{if $bw_over} Your bandwidth usage is over {$bw_over}MB{if $bw_current} (current: {$bw_current}MB){/if}.{/if}
{if $disk_over}Your disks usage is over {$disk_over}MB{if $disk_current} (current: {$disk_current}MB){/if}.{/if}

It will allow you to use this email template for bandwidth and disk notifications at the same time.

HQN 13.png

[edit] Tips

[edit] Update Instructions

Essential guidance through the process of updating the module is offered here.

Keep in mind there is a quick and easy option in our client area that will let you upgrade the license of your module to an open source version at any time - and at a lower price!
To take advantage of it, simply use the License Upgrade button located on the product's page and a discounted invoice will be generated automatically.

[edit] Common Problems

1. When you have problems with connection, check whether your SELinux or firewall does not block ports.
Navigation
WHMCS Modules
WHMCS Widgets
Tools And Applications
Translations
General
FAQ
Community