Addon allows you to block certain domains in case offensive/objectionable words are used in the domain name.
- WHMCS 5.3.x
- PHP 5.3.x
- Unzip the archieve in modules/addons/
- Place hook_domain_blocker.php into includes/hooks/ to activate the blocker script.
- Alter your WHMCS Database with
domain_blocker.sql
containing two extra tables for the addon.
Since WHMCS doesn't allow you properly handle error messages in case of blocking domain request, you'd have to override following variable with something like this:
$_LANG['cartdomaininvalid'] = "Domain is either invalid or blocked due to 'offensive' words used in it";
and store it into lang/overrides/english.php
or whatever language you're using.