Hosting Quota Notifications For WHMCS
From ModulesGarden Wiki
(Difference between revisions)
|
|
Line 4: |
Line 4: |
| =About [http://www.modulesgarden.com/products/whmcs/hosting_quota_notifications/features Hosting Quota Notifications For WHMCS]= | | =About [http://www.modulesgarden.com/products/whmcs/hosting_quota_notifications/features Hosting Quota Notifications For WHMCS]= |
| {| | | {| |
− | |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 and/or disk usage. | + | |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. |
| Notifications can be sent in two ways: upon exceeding given resource tier or after exceeding given resource limit in a specified time period.<br /> | | 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. | | You can also define email templates and view details of each sent notification owing to logs. |
Revision as of 13:15, 30 April 2017
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.
|
✔ 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
|
✔ Supports PHP 5.3 Up To PHP 7
|
✔ Supports WHMCS V6 and V7
|
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.
|
Installation
1. Log in to your client area and download Hosting Quota Notifications For WHMCS.
|
2. Upload and extract the module into the main WHMCS directory.
Files in your WHMCS directory should look like this.
|
3. When you install Hosting Quota Notifications 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' .
|
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' .
|
Configuration of Addon
5. 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.
|
6. 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' .
|
7. You have just successfully installed Hosting Quota Notifications For WHMCS!
You can access your module in 'Addons' → 'Hosting Quota Notifications' .
|
Configuration and Management
In this section we will show you how to properly set up and use Hosting Quota Notifications For WHMCS.
|
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.
|
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.
|
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.
|
Logs
Under 'Logs' page you can view information about sent notifications.
|
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.
|
Tips
Common Problems
1. When you have problems with connection, check whether your SELinux or firewall does not block ports.
|