Are you referring to using a customized e-mail template for bandwidth limit notifications?Also if anyone knows any syntax for how to add more data into the emails that would be good.
# cp -pRv /usr/local/cpanel/src/templates/admin_bandwidth_limit /usr/local/cpanel/src/templates/bandwidth_limit /var/cpanel/templates
# cp -pv /var/cpanel/templates/admin_bandwidth_limit/main.default /var/cpanel/templates/admin_bandwidth_limit/main.local
# cp -pv /var/cpanel/templates/bandwidth_limit/main.default /var/cpanel/templates/bandwidth_limit/main.local
# find /var/cpanel/templates/*bandwidth_limit
/var/cpanel/templates/admin_bandwidth_limit
/var/cpanel/templates/admin_bandwidth_limit/main.default
/var/cpanel/templates/admin_bandwidth_limit/main.local
/var/cpanel/templates/bandwidth_limit
/var/cpanel/templates/bandwidth_limit/main.default
/var/cpanel/templates/bandwidth_limit/main.local
The source files are in /usr/local/cpanel/src/templates
Copy them to /var/cpanel/templates then edit them to your specifications.
Feature requests may be posted one per unique thread in the following area: Feature Requests for cPanel and WHM - cPanel ForumsReply from cpanel is to create an account with a small amount of bandwidth, not really a great solution. Can anyone tell me where to add this as a feature request?
YesAre you referring to using a customized e-mail template for bandwidth limit notifications?
For Bandwidth limit prehaps expected months use to show if they need to upgrade to a higher plan.What type of data or information are you looking to add into the e-mails for bandwidth limit notifications?
Thanks for that, I had most of the information and have made a few adjustments but without reliable testing it's hard to progress. The .local was new to me tho so i'll check it out is there a reason we have to copy the .default then copy it again to .local to make changes?For reference<snip>
I believe this might be a good feature request (i.e., showing the month's estimated bandwidth transfer usage in contrast to the account's bandwidth transfer limit); I would consider posting the idea in the following forums area: Feature Requests for cPanel and WHM - cPanel ForumsFor Bandwidth limit prehaps expected months use to show if they need to upgrade to a higher plan.
I believe it is sufficient to setup only the custom template ending in the suffix of ".local"; however, I usually recommend retaining the extra copy of the ".default" template as a backup reference and to quickly compare against (e.g., via the CLI utility "diff") as it would be more accessible being in the same parent directory path (within "/var/cpanel/templates/"). In addition, by having a separate copy of the default template it is easier to compare differences between an existing or older default template and future revisions of the default template and therefore more accurately know what, if any, changes may be needed in the customized local template, more so than if the only copies available are the local customization and the stock-default in the source templates.[...] is there a reason we have to copy the .default then copy it again to .local to make changes?
# diff -us /var/cpanel/templates/bandwidth_limit/main.default /usr/local/cpanel/src/templates/bandwidth_limit/main.default
# diff -us /var/cpanel/templates/bandwidth_limit/main.default /var/cpanel/templates/bandwidth_limit/main.local
# diff -us /usr/local/cpanel/src/templates/bandwidth_limit/main.default /var/cpanel/templates/bandwidth_limit/main.local